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

Trusted roots: 2022-09 CTL #28541

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Trusted roots: 2022-09 CTL #28541

merged 1 commit into from
Oct 13, 2022

Conversation

dtivel
Copy link
Contributor

@dtivel dtivel commented Oct 13, 2022

Cherry-picking #28512 into release/7.0.1xx.

Servicing Template.

Description

This PR in combination with NuGet/NuGet.Client#4850 updates CTLs for NuGet signed package verification on Linux and macOS to use 2 separate fallback certificate bundles instead of 1.

Prior to this change, NuGet would use a single fallback certificate bundle which contained root certificates valid for both code signing and timestamping. Roots valid for only code signing or only timestamping were not in the certificate bundle because a consumer had no way of knowing which certificates were valid for which purpose(s).

Whatever trust anchors we use must be valid for CS and TS. Actually, it's a bit more nuanced in that whatever set of trust anchors we use for purpose X must be valid for purpose X. The set of trust anchors valid for CS and the set of trust anchors valid for TS intersect but do not necessarily overlap. Using a trust anchor that is only valid for TS (or TLS, for that matter) to verify a CS certificate would be incorrect.

Customer Impact

Not having separate CTLs fails the verification of a set of packages on nuget.org. The expectation is that all packages form NuGet.org pass validation. This change allows verification to enabled as opt-in and have confidence that it'll work.

Regression

No

Risk

Low - Feature not enabled by default.

Link the PR to the original issue and to the PR to main

NuGet side: NuGet/Home#12033 and NuGet/Home#12027

Main PR: #28512

Packaging impact

None.

Ref pack impact

None.

@nkolev92
Copy link
Contributor

I have updated this PR to be used for servicing approval.

This PR has a companion PR NuGet side, which needs to flow together.

@rbhanda rbhanda added this to the 7.0.0 milestone Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants