Repository navigation
Add AIA URL to dotnet nuget verify output - #7740
Merged
Merged
Conversation
donnie-msft
previously approved these changes
Sep 29, 2026
donnie-msft
approved these changes
Oct 2, 2026
This was referenced Oct 7, 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#15095
Description
Adds "CA Issuer" and "Freshest CRL" URLs to
dotnet nuget verify's output (at "normal" verbosity and higher).example:
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 + CA Issuers URL: http://cacerts.digicert.com/DigiCertTrustedG4TimeStampingRSA4096SHA2562025CA1.crtAfter implementing the "CA Issuers URL", I asked copilot what other URLs can be in the certificate that is used for validation. Copilot said "Freshest CRL" is another example. However, according to NuGet Insights, every signed package on nuget.org uses certs with DigiCert as the root CA, which doesn't use "Freshest CRL". So, I was unable to find an example package to test "Freshest CRL" with. However, copilot says that Windows use will it for certificate validation (openssl can use it for validation, but needs an opt in, so it's unlikely to be used in restore on Linux).
Despite not being able to find a package to test with, I think it's useful to add to the command output, because the point is to allow customers to generate a list of URL endpoints used for package validation. If a signed package in the future starts using a different root CA certificate, or if DigiCert starts adding Freshest CRL to new certificates, then this allows the command to provide the URL without needing code changes once a package starts using it.
PR Checklist
Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.N/A