From da0dabc01b27c73632f31cbc695b45d0c1845b1e Mon Sep 17 00:00:00 2001 From: Vincent Brillault Date: Fri, 29 Mar 2019 16:39:22 +0100 Subject: [PATCH] Mozilla CA/intermediate: also match x509-fingerprint-* --- tools/generate_mozilla_certificates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)