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

Use different signing key with StrongNamer #53

Open
hiezust opened this issue Feb 8, 2021 · 1 comment
Open

Use different signing key with StrongNamer #53

hiezust opened this issue Feb 8, 2021 · 1 comment

Comments

@hiezust
Copy link

hiezust commented Feb 8, 2021

Hi,

Is it possible to configure StrongNamer to use a different .snk file, instead of the SharedKey.snk that comes bundled with StrongNamer?

Thank you

@augustoproiete
Copy link

Yes, you just need to set the property StrongNamerKeyFile in your .csproj to point to the .snk file you want use.

<PropertyGroup>
  <StrongNamerKeyFile>YourCustomKey.snk</StrongNamerKeyFile>
</PropertyGroup>

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

No branches or pull requests

2 participants