diff --git a/tools/generate_mozilla_certificates.py b/tools/generate_mozilla_certificates.py index 2876b87..eaa80e2 100755 --- a/tools/generate_mozilla_certificates.py +++ b/tools/generate_mozilla_certificates.py @@ -43,7 +43,7 @@ def process(file, dst, type): warninglist['description'] = "Fingerprint of {type} taken from Mozilla's lists at https://wiki.mozilla.org/CA".format(type=type) warninglist['list'] = sorted(hashes) warninglist['type'] = 'string' - warninglist['matching_attributes'] = ["md5", "sha1", "sha256", "filename|md5", "filename|sha1", "filename|sha256"] + 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)