diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-04-22 17:43:16 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-04-22 17:43:16 -0400 |
commit | aafd2fbf6bd492f61ed6fc125d912ae622225925 (patch) | |
tree | 05d6bd2828c578f38476e92db484c4f085e0391b /app-misc/ca-certificates/files/ca-certificates-no-cryptography.patch | |
parent | 26bb1059f580e724e9cd5adab9fbfd836b76e95f (diff) | |
download | gentoo-overlay-aafd2fbf6bd492f61ed6fc125d912ae622225925.tar.xz gentoo-overlay-aafd2fbf6bd492f61ed6fc125d912ae622225925.zip |
app-misc/ca-certificates: drop
Diffstat (limited to 'app-misc/ca-certificates/files/ca-certificates-no-cryptography.patch')
-rw-r--r-- | app-misc/ca-certificates/files/ca-certificates-no-cryptography.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app-misc/ca-certificates/files/ca-certificates-no-cryptography.patch b/app-misc/ca-certificates/files/ca-certificates-no-cryptography.patch deleted file mode 100644 index 83cfb92..0000000 --- a/app-misc/ca-certificates/files/ca-certificates-no-cryptography.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/mozilla/certdata2pem.py -+++ b/mozilla/certdata2pem.py -@@ -28,8 +28,6 @@ - import textwrap - import io - --from cryptography import x509 -- - - objects = [] - -@@ -122,12 +120,6 @@ - if not obj['CKA_LABEL'] in trust or not trust[obj['CKA_LABEL']]: - continue - -- cert = x509.load_der_x509_certificate(obj['CKA_VALUE']) -- if cert.not_valid_after < datetime.datetime.now(): -- print('!'*74) -- print('Trusted but expired certificate found: %s' % obj['CKA_LABEL']) -- print('!'*74) -- - bname = obj['CKA_LABEL'][1:-1].replace('/', '_')\ - .replace(' ', '_')\ - .replace('(', '=')\ |