Skip to content

Commit 7d42eff

Browse files
wolf99shiftkey
authored andcommitted
Add *.snk strong name key files (#2483)
* Add *.snk strong name key files Strong name key files shouldn't be included in a repository AFAIK. they are intended to sign build output to verify that it comes from the correct publisher. having an *.snk in a repository would allow anyone to produce build as if they were the original publisher. I guess some OSS projects might like to have *.snk files in their repos but that would be an exception to the rule. * Make use of *.snk optional Add note explaining use. * Reduce explanation Just use a link instead
1 parent de2539a commit 7d42eff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

VisualStudio.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ ClientBin/
219219
*.publishsettings
220220
orleans.codegen.cs
221221

222+
# Including strong name files can present a security risk
223+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
224+
#*.snk
225+
222226
# Since there are multiple workflows, uncomment next line to ignore bower_components
223227
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
224228
#bower_components/

0 commit comments

Comments
 (0)