-
Notifications
You must be signed in to change notification settings - Fork 17
Signing assemblies #435
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
Signing assemblies #435
Conversation
| <!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. --> | ||
| <Project> | ||
|
|
||
| <!-- See https://github.com/dotnet/arcade/blob/dbb4142ebc34d0a4b9f26136f86065c037dc4b80/src/Microsoft.DotNet.Arcade.Sdk/tools/StrongName.targets#L33-L37 for where this was copied from --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here is the attribution from where we referenced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add that for the props file?
twsouthwick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple additional changes, but then LGTM
src/StrongName.props
Outdated
| <!-- | ||
| FullAssemblySigningSupported "false" to use public signing even when full signing is possible. This is useful | ||
| in environments where full signing is non-functional or not desired. For example, | ||
| in some Linux distributions RSA+SHA1 (required for full signing) is not | ||
| functional/available, and trying to use full signing results in the runtime | ||
| throwing an exception. For more details and an example, see | ||
| https://github.com/dotnet/runtime/issues/65874. We default to full assembly | ||
| signing not being supported in source-only modes. | ||
| --> | ||
| <!-- | ||
| <PropertyGroup> | ||
| <FullAssemblySigningSupported Condition="'$(FullAssemblySigningSupported)' == '' and '$(DotNetBuildSourceOnly)' == 'true'">false</FullAssemblySigningSupported> | ||
| </PropertyGroup> | ||
| --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <!-- | |
| FullAssemblySigningSupported "false" to use public signing even when full signing is possible. This is useful | |
| in environments where full signing is non-functional or not desired. For example, | |
| in some Linux distributions RSA+SHA1 (required for full signing) is not | |
| functional/available, and trying to use full signing results in the runtime | |
| throwing an exception. For more details and an example, see | |
| https://github.com/dotnet/runtime/issues/65874. We default to full assembly | |
| signing not being supported in source-only modes. | |
| --> | |
| <!-- | |
| <PropertyGroup> | |
| <FullAssemblySigningSupported Condition="'$(FullAssemblySigningSupported)' == '' and '$(DotNetBuildSourceOnly)' == 'true'">false</FullAssemblySigningSupported> | |
| </PropertyGroup> | |
| --> |
why keep this?
| <!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. --> | ||
| <Project> | ||
|
|
||
| <!-- See https://github.com/dotnet/arcade/blob/dbb4142ebc34d0a4b9f26136f86065c037dc4b80/src/Microsoft.DotNet.Arcade.Sdk/tools/StrongName.targets#L33-L37 for where this was copied from --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add that for the props file?
e92be19 to
abd1a81
Compare
No description provided.