CAs: Fix json indentation (2 spaces, not 4)
parent
da0dabc01b
commit
d4e749c3e6
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"description": "Fingerprint of trusted CA certificates taken from Mozilla's lists",
|
||||
"description": "Fingerprint of trusted CA certificates taken from Mozilla's lists at https://wiki.mozilla.org/CA",
|
||||
"list": [
|
||||
"010c0695a6981914ffbf5fc6b0b695ea29e912a6",
|
||||
"015ed86bbd6f3d8ea131f812e098736a",
|
||||
|
@ -473,7 +473,10 @@
|
|||
"sha256",
|
||||
"filename|md5",
|
||||
"filename|sha1",
|
||||
"filename|sha256"
|
||||
"filename|sha256",
|
||||
"x509-fingerprint-md5",
|
||||
"x509-fingerprint-sha1",
|
||||
"x509-fingerprint-sha256"
|
||||
],
|
||||
"name": "Fingerprint of trusted CA certificates",
|
||||
"type": "string",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"description": "Fingerprint of known intermedicate of trusted certificates taken from Mozilla's lists",
|
||||
"description": "Fingerprint of known intermedicate of trusted certificates taken from Mozilla's lists at https://wiki.mozilla.org/CA",
|
||||
"list": [
|
||||
"0002f8004bcf2a13cf51dd9bf2e4c68a84fd9cbf33e30482ffcf2a8c5ab0aa57",
|
||||
"000555cdcf3b5faac807b975bf2eb722b77876c797385aec00a8767daaba900f",
|
||||
|
@ -9887,7 +9887,10 @@
|
|||
"sha256",
|
||||
"filename|md5",
|
||||
"filename|sha1",
|
||||
"filename|sha256"
|
||||
"filename|sha256",
|
||||
"x509-fingerprint-md5",
|
||||
"x509-fingerprint-sha1",
|
||||
"x509-fingerprint-sha256"
|
||||
],
|
||||
"name": "Fingerprint of known intermedicate of trusted certificates",
|
||||
"type": "string",
|
||||
|
|
|
@ -45,7 +45,7 @@ def process(file, dst, type):
|
|||
warninglist['type'] = 'string'
|
||||
warninglist['matching_attributes'] = ["md5", "sha1", "sha256", "filename|md5", "filename|sha1", "filename|sha256", "x509-fingerprint-md5", "x509-fingerprint-sha1", "x509-fingerprint-sha256"]
|
||||
with open('../lists/{dst}/list.json'.format(dst=dst), 'w') as data_file:
|
||||
json.dump(warninglist, data_file, indent=4, sort_keys=True)
|
||||
json.dump(warninglist, data_file, indent=2, sort_keys=True)
|
||||
|
||||
if __name__ == '__main__':
|
||||
download(Included_CA_url, Included_CA_file)
|
||||
|
|
Loading…
Reference in New Issue