Open hotchkj opened 2 years ago
@dtivel If there existing issue which I can dedup?
@erdembayar, not that I'm aware of.
I'm ok with signing with multiple timestamp server idea and retrying but ignoring one failed by fallback might introduce another issue later.
Team Triage: Assigning to @dtivel. Is this something we'd want to consider?
Team Triage: It's a reasonable ask because there isn't a good way for package authors to detect this specific failure and retry it alone; you'd have to recognize that the sign operation failed (in part or whole) and retry the entire operation.
By comparison, we're not aware of other signing tools (e.g.: signtool, jarsigner, vsixsigntool) that accept multiple timestampers for any reason (e.g.: for multiple timestamps or fallback). Note that signtool has a separate "timestamp" command that enables signers to timestamp separately from signing. We could consider that as an alternative to supporting multiple timestampers, but the latter is much simpler.
NuGet Product(s) Involved
NuGet.exe
The Elevator Pitch
Signing a NuGet package can time out when querying a specific timestamp server. Ideally the client would fall back to a list of timestamping servers rather than being dependent on the availability of a single one.
Additional Context and Details
An example command that fails a build if not coded to be retried (and requiring some detection to figure out that it's a retryable error).
Maybe this is an update to the
-Timestamper
argument that can take a list, or an alternative-Timestampers
argument.