Skip to content

add example CRL PEM files to vectors #1998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 29, 2015
Merged

Conversation

etrauschke
Copy link
Contributor

These are the CRL files I need to cover the backend code for the CRL interface. I put short descriptions in the test-vectors.rst but pasted the detailed layout below:

crl_all_reasons.pem:

Certificate Revocation List (CRL):
        Version 3 (0x2)
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: /C=US/CN=cryptography.io
        Last Update: Jan  1 00:00:00 2015 GMT
        Next Update: Jan  1 00:00:00 2016 GMT
Revoked Certificates:
    Serial Number: 00
        Revocation Date: Jan  1 00:00:00 2015 GMT
    Serial Number: 01
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                Unspecified
    Serial Number: 02
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                Key Compromise
    Serial Number: 03
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                CA Compromise
    Serial Number: 04
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                Affiliation Changed
    Serial Number: 05
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                Superseded
    Serial Number: 06
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                Cessation Of Operation
    Serial Number: 07
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                Certificate Hold
    Serial Number: 08
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                Remove From CRL
    Serial Number: 09
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                Privilege Withdrawn
    Serial Number: 0A
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            Invalidity Date: 
                Jan  1 00:00:00 2015 GMT
            X509v3 Certificate Issuer: critical
                DirName:/C=US/CN=cryptography.io
            X509v3 CRL Reason Code: 
                AA Compromise
    Serial Number: 0B
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            X509v3 CRL Reason Code: 
                Key Compromise
            1.2.3.4: 

    Signature Algorithm: sha256WithRSAEncryption

crl_dup_entry_ext.pem:

Certificate Revocation List (CRL):
        Version 3 (0x2)
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: /C=US/CN=cryptography.io
        Last Update: Jan  1 00:00:00 2015 GMT
        Next Update: Jan  1 00:00:00 2016 GMT
Revoked Certificates:
    Serial Number: 00
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            X509v3 CRL Reason Code: 
                Key Compromise
            X509v3 CRL Reason Code: 
                Key Compromise
    Signature Algorithm: sha256WithRSAEncryption

crl_md2_unknown_crit_entry_ext.pem:

Certificate Revocation List (CRL):
        Version 3 (0x2)
    Signature Algorithm: md2WithRSAEncryption
        Issuer: /C=US/CN=cryptography.io
        Last Update: Jan  1 00:00:00 2015 GMT
        Next Update: Jan  1 00:00:00 2016 GMT
Revoked Certificates:
    Serial Number: 00
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            1.2.3.4: critical

    Signature Algorithm: md2WithRSAEncryption

crl_unsupported_reason.pem:

Certificate Revocation List (CRL):
        Version 3 (0x2)
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: /C=US/CN=cryptography.io
        Last Update: Jan  1 00:00:00 2015 GMT
        Next Update: Jan  1 00:00:00 2016 GMT
Revoked Certificates:
    Serial Number: 00
        Revocation Date: Jan  1 00:00:00 2015 GMT
        CRL entry extensions:
            X509v3 CRL Reason Code: 
                12
    Signature Algorithm: sha256WithRSAEncryption

@reaperhulk
Copy link
Member

Verified. I'll merge once travis is done!

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 70d3138 on etrauschke:crl_vectors into 13dcdf8 on pyca:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 70d3138 on etrauschke:crl_vectors into 13dcdf8 on pyca:master.

reaperhulk added a commit that referenced this pull request May 29, 2015
add example CRL PEM files to vectors
@reaperhulk reaperhulk merged commit b5bb49d into pyca:master May 29, 2015
@reaperhulk reaperhulk added this to the Tenth Release milestone May 29, 2015
@etrauschke etrauschke deleted the crl_vectors branch May 29, 2015 22:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants