Rfc3161TimestampTokenInfo.GetNonce can throw #10484
Labels
Area:ErrorHandling
warnings and errors/log messages & related error codes.
Community
PRs (and linked Issues) created by someone not in the NuGet team
Functionality:SDK
The NuGet client packages published to nuget.org
Type:Bug
Milestone
Details about Problem
https://github.com/NuGet/NuGet.Client/blob/ebbb1a07f5f433485b6676689b7933db5074a151/src/NuGet.Core/NuGet.Packaging/Signing/Timestamp/Rfc3161TimestampTokenInfo.cs#L111
This method tries to handle
Decoded.Nonce
being null. But if it's null, it will throw inArray.Reverse
.NuGet product used (NuGet.exe | Visual Studio | MSBuild.exe | dotnet.exe): NuGet.Client code in the CLI
Product version: NuGet.Client repo commit
ebbb1a07f5f433485b6676689b7933db5074a151
Worked before? If so, with which NuGet version:
Repro steps and/or sample project
Verbose Logs
The text was updated successfully, but these errors were encountered: