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

Disable Full Signing in source-build #12940

Merged

Conversation

omajid
Copy link
Member

@omajid omajid commented Mar 22, 2023

Full Signing requires RSA+SHA1 which is disabled in some environments (eg, RHEL 9, CentOS Stream 9). Default to turning it off. Expose a top-level property to allow Full Signing to be re-enabled by users.

The actual implementation of that flag was in #12749 (commit 3840d43).

Once a version of arcade including this fix is used to build the individual repos (in source-build mode) or the VMR, everything should default to public signing.

For more context around RSA+SHA1 and the alternative (using public signing), see:

To double check:

@omajid omajid force-pushed the source-build-disable-full-signing-by-default branch from 9bfcecd to 6217ed8 Compare March 24, 2023 17:04
@omajid omajid marked this pull request as ready for review March 25, 2023 22:35
omajid added a commit to omajid/dotnet-aspnetcore that referenced this pull request Mar 27, 2023
This property is being added to arcade via
dotnet/arcade#12749 and
dotnet/arcade#12940

Once this property is added to arcade, it flows correctly to the main
aspnetcore build, but not to the build for repo tasks. The repo tasks
still need this, otherwise they end up using full signing.

Fix that by manually passing the property along (using env var) when
building the repo tasks.
wtgodbe pushed a commit to dotnet/aspnetcore that referenced this pull request Mar 30, 2023
)

This property is being added to arcade via
dotnet/arcade#12749 and
dotnet/arcade#12940

Once this property is added to arcade, it flows correctly to the main
aspnetcore build, but not to the build for repo tasks. The repo tasks
still need this, otherwise they end up using full signing.

Fix that by manually passing the property along (using env var) when
building the repo tasks.
Full Signing requires RSA+SHA1 which is disabled in some environments
(eg, RHEL 9, CentOS Stream 9). Default to turning it off. Expose a
top-level property to allow Full Signing to be re-enabled by users.

The actual implementation of that flag was in dotnet#12749 (commit
3840d43).

Once a version of arcade including this fix is used to build the
individual repos (in source-build mode) or the VMR, everything should
default to public signing.

For more context around RSA+SHA1 and the alternative (using public
signing), see:

- dotnet/runtime#65874
- dotnet/source-build#3202
- dotnet#12515
- dotnet/installer#15873
@omajid omajid force-pushed the source-build-disable-full-signing-by-default branch from 6217ed8 to be6bb00 Compare March 30, 2023 18:06
@omajid
Copy link
Member Author

omajid commented Mar 30, 2023

cc @mmitche

@mmitche mmitche enabled auto-merge (squash) March 31, 2023 15:40
@mmitche mmitche merged commit 69c42d5 into dotnet:main Mar 31, 2023
omajid added a commit to omajid/dotnet-installer that referenced this pull request Jun 21, 2023
omajid added a commit to omajid/dotnet-installer that referenced this pull request Jun 21, 2023
omajid added a commit to omajid/dotnet-installer that referenced this pull request Jun 22, 2023
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

Successfully merging this pull request may close these issues.

2 participants