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

Changes to assembly signing #86

Open
moozzyk opened this issue Oct 20, 2015 · 0 comments
Open

Changes to assembly signing #86

moozzyk opened this issue Oct 20, 2015 · 0 comments

Comments

@moozzyk
Copy link

moozzyk commented Oct 20, 2015

We changed the way signing of assemblies works. Previously, the keyFile option worked only on desktop Clr and it would be ignored on CoreClr and Mono. It was possible to sign assemblies on Mono and CoreClr by using the strongName compilation option in which case assemblies were signed with the OSS key that ships with the dnx runtime. The keyFile and strongName options were mutually exclusive and a compilation error was returned if both were specified.
With RC1 the strongName option no longer exists. It was renamed to useOssSigning and works a bit differently. The keyFile and useOssSigning options are no longer mutually exclusive. Rather, if they are both specified we will extract the public key from the provided snk file and will OSS sign the assembly using this key. If only the keyFile option is specified we will extract the public key and OSS sign the assembly on Mono and CoreClr while we will use regular signing on desktop CLR. Finally if only "useOssSigning": true is specified (i.e. the keyFile option is not specified) we will use the key that ships with the dnx runtime to sign the assembly.

If you you want to learn more on Oss Signing see this post.

For comments, concerns and discussions, use the thread in the dnx repo

@moozzyk moozzyk added this to the 1.0.0-rc1 milestone Oct 20, 2015
@aspnet aspnet locked and limited conversation to collaborators Oct 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant