Skip to content
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

Windows nuget.exe NU3018 RevocationStatusUnknown #133

Open
mwpowellhtx opened this issue Mar 29, 2024 · 1 comment
Open

Windows nuget.exe NU3018 RevocationStatusUnknown #133

mwpowellhtx opened this issue Mar 29, 2024 · 1 comment

Comments

@mwpowellhtx
Copy link

Running against the latest nuget.exe at the time of this writing, trying to sign a NuGet package. Names and passwords and such obfuscated for purposes of this question, but I attempt the following. Key highlights, trying to certify against the exported PFX from my internal CA manager. Yes, the algo is SHA512, AFAIK.

D:\Source\myproject\working\src\myproject> nuget sign bin\Release\myproject.1.0.0.nupkg -CertificatePath ..\..\..\myorg.pfx -HashAlgorithm SHA512 -Timestamper http://timestamp.digicert.com

The package is being signed, apparently, excepting for the NU3018 warning.

WARNING: NU3018: RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate.

We are using XCA, for instance, to run our CA internally. For my own edification, what specs should I relay to signing? And/or how should we best specify our certs, SHA, etc? We have control over many of the parameters contributing to a cert, the only question is how is NuGet opinionated over what those parameters should be.

Perhaps also clarifying the commentary warning:

NuGet.org does not accept packages signed with self-issued certificates.

Of course we want to do more than a test certificate. This is heading into production, distribution. Are we even able to self certify?

Similar in nature, I think, to the ubuntu-linux question presented along similar lines.

@mwpowellhtx
Copy link
Author

Is it possible, for instance, to run our own -Timestamper? Is there a published nuget API for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant