Repository navigation
Show CRL and OCSP URLs in verify output - #7181
Merged
Merged
Conversation
nkolev92
reviewed
Mar 3, 2026
nkolev92
left a comment
Member
There was a problem hiding this comment.
Can we get a sample output of before an after?
I get what you are adding, but I want to see it in the rest of the details of the verify output.
Member
Author
|
Changes to output, using NuGet.Versioning.7.0.0.nupkg: No changes to minimal verbosityVerifying NuGet.Versioning.7.0.0
Content hash: vMEhpystjAmHzWARE09PjYMWOiGgM+f9rJYMcXGs8soz9/url4qmU9O9Y+hy22kPuqozCMoGcJt0JzKRZ1woZg==
Signature type: Author
Subject Name: CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
SHA256 hash: 566A31882BE208BE4422F7CFD66ED09F5D4524A5994F50CCC8B05EC0528C1353
Valid from: 2023-07-27 9:30:00 AM to 2026-10-18 10:29:59 AM
Signature type: Repository
Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
SHA256 hash: 1F4B311D9ACC115C8DC8018B5A49E00FCE6DA8E2855F9F014CA6F34570BC482D
Valid from: 2024-02-23 10:30:00 AM to 2027-05-19 9:29:59 AMnormal verbosityX.509 certificate chain validation will use the default trust store selected by .NET for code signing.
X.509 certificate chain validation will use the default trust store selected by .NET for timestamping.
Verifying NuGet.Versioning.7.0.0
Content hash: vMEhpystjAmHzWARE09PjYMWOiGgM+f9rJYMcXGs8soz9/url4qmU9O9Y+hy22kPuqozCMoGcJt0JzKRZ1woZg==
C:\Users\zivkan\.nuget\packages\nuget.versioning\7.0.0\nuget.versioning.7.0.0.nupkg
Signature Hash Algorithm: SHA256
Signature type: Author
Verifying the author primary signature with certificate:
Subject Name: CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
SHA1 hash: F25C45D17C53D4E0D1DC9FB9DFD0731FCF904B77
SHA256 hash: 566A31882BE208BE4422F7CFD66ED09F5D4524A5994F50CCC8B05EC0528C1353
Issued by: CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US
Valid from: 2023-07-27 9:30:00 AM to 2026-10-18 10:29:59 AM
+ CRL URL: http://crl3.digicert.com/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl
+ CRL URL: http://crl4.digicert.com/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl
+ OCSP URL: http://ocsp.digicert.com
Timestamp: 2025-10-11 9:13:23 AM
Verifying author primary signature's timestamp with timestamping service certificate:
Subject Name: CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O="DigiCert, Inc.", C=US
SHA1 hash: DD6230AC860A2D306BDA38B16879523007FB417E
SHA256 hash: 4AA03FA22CD75C84C55C938F828E676B9CAECAB33FE36D269AA334F146110A33
Issued by: CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O="DigiCert, Inc.", C=US
Valid from: 2025-06-04 9:30:00 AM to 2036-09-04 9:29:59 AM
+ CRL URL: http://crl3.digicert.com/DigiCertTrustedG4TimeStampingRSA4096SHA2562025CA1.crl
+ OCSP URL: http://ocsp.digicert.com
Signature type: Repository
Service index: https://api.nuget.org/v3/index.json
Owners: Microsoft, nuget
Verifying the repository countersignature with certificate:
Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
SHA1 hash: C72FE7739A9EECB8EC1E4F596DB3BB74039B1DE2
SHA256 hash: 1F4B311D9ACC115C8DC8018B5A49E00FCE6DA8E2855F9F014CA6F34570BC482D
Issued by: CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US
Valid from: 2024-02-23 10:30:00 AM to 2027-05-19 9:29:59 AM
+ CRL URL: http://crl3.digicert.com/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl
+ CRL URL: http://crl4.digicert.com/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl
+ OCSP URL: http://ocsp.digicert.com
Timestamp: 2025-11-12 8:22:32 AM
Verifying repository countersignature's timestamp with timestamping service certificate:
Subject Name: CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O="DigiCert, Inc.", C=US
SHA1 hash: DD6230AC860A2D306BDA38B16879523007FB417E
SHA256 hash: 4AA03FA22CD75C84C55C938F828E676B9CAECAB33FE36D269AA334F146110A33
Issued by: CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O="DigiCert, Inc.", C=US
Valid from: 2025-06-04 9:30:00 AM to 2036-09-04 9:29:59 AM
+ CRL URL: http://crl3.digicert.com/DigiCertTrustedG4TimeStampingRSA4096SHA2562025CA1.crl
+ OCSP URL: http://ocsp.digicert.com
Successfully verified package 'NuGet.Versioning.7.0.0'.detailed verbosityX.509 certificate chain validation will use the default trust store selected by .NET for code signing.
X.509 certificate chain validation will use the default trust store selected by .NET for timestamping.
Verifying NuGet.Versioning.7.0.0
Content hash: vMEhpystjAmHzWARE09PjYMWOiGgM+f9rJYMcXGs8soz9/url4qmU9O9Y+hy22kPuqozCMoGcJt0JzKRZ1woZg==
C:\Users\zivkan\.nuget\packages\nuget.versioning\7.0.0\nuget.versioning.7.0.0.nupkg
Signature Hash Algorithm: SHA256
Signature type: Author
Verifying the author primary signature with certificate:
Subject Name: CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
SHA1 hash: F25C45D17C53D4E0D1DC9FB9DFD0731FCF904B77
SHA256 hash: 566A31882BE208BE4422F7CFD66ED09F5D4524A5994F50CCC8B05EC0528C1353
Issued by: CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US
Valid from: 2023-07-27 9:30:00 AM to 2026-10-18 10:29:59 AM
+ CRL URL: http://crl3.digicert.com/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl
+ CRL URL: http://crl4.digicert.com/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl
+ OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US
trace: SHA1 hash: 7B0F360B775F76C94A12CA48445AA2D2A875701C
trace: SHA256 hash: 46011EDE1C147EB2BC731A539B7C047B7EE93E48B9D3C3BA710CE132BBDFAC6B
trace: Issued by: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2021-04-29 9:30:00 AM to 2036-04-29 9:29:59 AM
+trace: CRL URL: http://crl3.digicert.com/DigiCertTrustedRootG4.crl
+trace: OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: SHA1 hash: DDFB16CD4931C973A2037D3FC83A4D7D775D05E4
trace: SHA256 hash: 552F7BDCF1A7AF9E6CE672017F4F12ABF77240C78E761AC203D1D9D20AC89988
trace: Issued by: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2013-08-01 9:30:00 PM to 2038-01-15 10:30:00 PM
Timestamp: 2025-10-11 9:13:23 AM
Verifying author primary signature's timestamp with timestamping service certificate:
Subject Name: CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O="DigiCert, Inc.", C=US
SHA1 hash: DD6230AC860A2D306BDA38B16879523007FB417E
SHA256 hash: 4AA03FA22CD75C84C55C938F828E676B9CAECAB33FE36D269AA334F146110A33
Issued by: CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O="DigiCert, Inc.", C=US
Valid from: 2025-06-04 9:30:00 AM to 2036-09-04 9:29:59 AM
+ CRL URL: http://crl3.digicert.com/DigiCertTrustedG4TimeStampingRSA4096SHA2562025CA1.crl
+ OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O="DigiCert, Inc.", C=US
trace: SHA1 hash: 07894D00FC194A17DB273AEB5CF8FACEF14423A4
trace: SHA256 hash: CA0B1554ECD901EA19DCAD8749E9F2648C8D6DFCEA1ADD9D2C2109415BB82CCD
trace: Issued by: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2025-05-07 9:30:00 AM to 2038-01-15 10:29:59 AM
+trace: CRL URL: http://crl3.digicert.com/DigiCertTrustedRootG4.crl
+trace: OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: SHA1 hash: A99D5B79E9F1CDA59CDAB6373169D5353F5874C6
trace: SHA256 hash: 33846B545A49C9BE4903C60E01713C1BD4E4EF31EA65CD95D69E62794F30B941
trace: Issued by: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2022-08-01 9:30:00 AM to 2031-11-10 10:29:59 AM
+trace: CRL URL: http://crl3.digicert.com/DigiCertAssuredIDRootCA.crl
+trace: OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: SHA1 hash: 0563B8630D62D75ABBC8AB1E4BDFB5A899B24D43
trace: SHA256 hash: 3E9099B5015E8F486C00BCEA9D111EE721FABA355A89BCF1DF69561E3DC6325C
trace: Issued by: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2006-11-10 10:30:00 AM to 2031-11-10 10:30:00 AM
Signature type: Repository
Service index: https://api.nuget.org/v3/index.json
Owners: Microsoft, nuget
Verifying the repository countersignature with certificate:
Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
SHA1 hash: C72FE7739A9EECB8EC1E4F596DB3BB74039B1DE2
SHA256 hash: 1F4B311D9ACC115C8DC8018B5A49E00FCE6DA8E2855F9F014CA6F34570BC482D
Issued by: CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US
Valid from: 2024-02-23 10:30:00 AM to 2027-05-19 9:29:59 AM
+ CRL URL: http://crl3.digicert.com/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl
+ CRL URL: http://crl4.digicert.com/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl
+ OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US
trace: SHA1 hash: 7B0F360B775F76C94A12CA48445AA2D2A875701C
trace: SHA256 hash: 46011EDE1C147EB2BC731A539B7C047B7EE93E48B9D3C3BA710CE132BBDFAC6B
trace: Issued by: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2021-04-29 9:30:00 AM to 2036-04-29 9:29:59 AM
+trace: CRL URL: http://crl3.digicert.com/DigiCertTrustedRootG4.crl
+trace: OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: SHA1 hash: DDFB16CD4931C973A2037D3FC83A4D7D775D05E4
trace: SHA256 hash: 552F7BDCF1A7AF9E6CE672017F4F12ABF77240C78E761AC203D1D9D20AC89988
trace: Issued by: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2013-08-01 9:30:00 PM to 2038-01-15 10:30:00 PM
Timestamp: 2025-11-12 8:22:32 AM
Verifying repository countersignature's timestamp with timestamping service certificate:
Subject Name: CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O="DigiCert, Inc.", C=US
SHA1 hash: DD6230AC860A2D306BDA38B16879523007FB417E
SHA256 hash: 4AA03FA22CD75C84C55C938F828E676B9CAECAB33FE36D269AA334F146110A33
Issued by: CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O="DigiCert, Inc.", C=US
Valid from: 2025-06-04 9:30:00 AM to 2036-09-04 9:29:59 AM
CRL URL: http://crl3.digicert.com/DigiCertTrustedG4TimeStampingRSA4096SHA2562025CA1.crl
OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O="DigiCert, Inc.", C=US
trace: SHA1 hash: 07894D00FC194A17DB273AEB5CF8FACEF14423A4
trace: SHA256 hash: CA0B1554ECD901EA19DCAD8749E9F2648C8D6DFCEA1ADD9D2C2109415BB82CCD
trace: Issued by: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2025-05-07 9:30:00 AM to 2038-01-15 10:29:59 AM
+trace: CRL URL: http://crl3.digicert.com/DigiCertTrustedRootG4.crl
+trace: OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: SHA1 hash: A99D5B79E9F1CDA59CDAB6373169D5353F5874C6
trace: SHA256 hash: 33846B545A49C9BE4903C60E01713C1BD4E4EF31EA65CD95D69E62794F30B941
trace: Issued by: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2022-08-01 9:30:00 AM to 2031-11-10 10:29:59 AM
+trace: CRL URL: http://crl3.digicert.com/DigiCertAssuredIDRootCA.crl
+trace: OCSP URL: http://ocsp.digicert.com
trace: Subject Name: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: SHA1 hash: 0563B8630D62D75ABBC8AB1E4BDFB5A899B24D43
trace: SHA256 hash: 3E9099B5015E8F486C00BCEA9D111EE721FABA355A89BCF1DF69561E3DC6325C
trace: Issued by: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
trace: Valid from: 2006-11-10 10:30:00 AM to 2031-11-10 10:30:00 AM
Successfully verified package 'NuGet.Versioning.7.0.0'. |
nkolev92
approved these changes
Mar 3, 2026
nkolev92
left a comment
Member
There was a problem hiding this comment.
LGTM
Emphasis on the TM part. :D Please get a review from someone a signing SME.
Nigusu-Allehu
approved these changes
Mar 6, 2026
jeffkl
approved these changes
Mar 6, 2026
dtivel
approved these changes
Mar 9, 2026
This was referenced Mar 10, 2026
3 tasks done
zivkan
added a commit
that referenced
this pull request
Mar 20, 2026
This was referenced Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
Fixes: NuGet/Home#14780
Description
Display the URLs that might be accessed to verify a package certificate is valid. When NuGet asks .NET to verify a certificate chain, those lower level libraries are supposed to check with those URLs if those certificates have been revoked, so this is an easy way to find those URLs.
It's not output at minimal verbosity. At normal verbosity, it's output for the top certificates, and at detailed verbosity it's output for each of the certificates in the full chain.
PR Checklist