From 6cc12c3203ddb6567d992c71afb62fecc4d1fe8a Mon Sep 17 00:00:00 2001 From: Eddie Lin <5827855+fszlin@users.noreply.github.com> Date: Sat, 12 May 2018 22:44:16 -0400 Subject: [PATCH] strong name signing (#107) * strong name signing * update packages --- docs/CHANGELOG.md | 3 +++ misc/AssemblyInfo.Shared.cs | 2 +- misc/certes.props | 3 +++ misc/certes.snk | Bin 0 -> 596 bytes src/Certes.Cli/Certes.Cli.csproj | 8 ++++---- src/Certes.Cli/Properties/AssemblyInfo.cs | 3 ++- src/Certes/Properties/AssemblyInfo.cs | 2 +- .../Certes.Tests.Integration.csproj | 2 +- test/Certes.Tests.Web/Certes.Tests.Web.csproj | 2 +- test/Certes.Tests/Certes.Tests.csproj | 2 +- 10 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 misc/certes.snk diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 21d4e09a..1e0d3222 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Added +- Strong name signing ([#106][i106]) ## [2.2.0] - 2018-05-05 ### Added @@ -81,3 +83,4 @@ All notable changes to this project will be documented in this file. [i95]: https://github.com/fszlin/certes/issues/95 [i99]: https://github.com/fszlin/certes/issues/99 [i100]: https://github.com/fszlin/certes/issues/100 +[i106]: https://github.com/fszlin/certes/issues/106 diff --git a/misc/AssemblyInfo.Shared.cs b/misc/AssemblyInfo.Shared.cs index e57e6dbd..f93530d8 100644 --- a/misc/AssemblyInfo.Shared.cs +++ b/misc/AssemblyInfo.Shared.cs @@ -2,4 +2,4 @@ using System.Runtime.InteropServices; [assembly: ComVisible(false)] -[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] diff --git a/misc/certes.props b/misc/certes.props index 0073bf1f..c7674170 100644 --- a/misc/certes.props +++ b/misc/certes.props @@ -3,6 +3,9 @@ False True Latest + true + True + ../../misc/certes.snk .$(APPVEYOR_BUILD_NUMBER) diff --git a/misc/certes.snk b/misc/certes.snk new file mode 100644 index 0000000000000000000000000000000000000000..dcdf998950afa626dc4e78edef61780cc26ebbb4 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50098)c*O5Ew2BYZ4t@c%|0BWnJQd6CQJI_= zHIy7gPf7}Bvn3_;?)S_^i!kA&HGw15mosu>Y;Q3P7SfEjERNouf~!O&AFn_EV)=I< z52fA%2h>I8(^*out+f>_-&vbkU{X~M-w=gyUHrci=kZA<%P3D7XDEpmxRr87%qASm~-xnoA_F|at#^72&K4gLE> zwIv~2ou>$WC3N8z|LbL6D&}Wu?x-i9D3Oiw8DmOIjF~p(Cf~TOxNh8>m546PyGP6`?4!Ytb($}p&J&}w{(JI2yjUIJ1=OHyb^cxk zQJs=}&rKZNE8jX{kF|t@f6F1@F&0$<@Jxtpumr+a#vh(0pMFw)Q< zz|U}!ZqPgCaG6hVF(B;iYb5YfREVDfmRy*P>_AlunF`lFZ!c<-q{Gg(JX!|7yt+On zK!1%w=+=rg=$X!EI(279_<$*aPUhbST{NMO7ElrtsIz> z$~>L4jT#rhxAmuJg~3kL%Ptw#f0y?2L;bUIwfi~-FsoVmp0{v4NbCDYC@yR$WD9gVn7x!zg im_?C9b%g>D+RehP_DCIbKaq8BeCZCSg0R+CoJ58R3MESb literal 0 HcmV?d00001 diff --git a/src/Certes.Cli/Certes.Cli.csproj b/src/Certes.Cli/Certes.Cli.csproj index 1d517e6d..3fadbae7 100644 --- a/src/Certes.Cli/Certes.Cli.csproj +++ b/src/Certes.Cli/Certes.Cli.csproj @@ -31,11 +31,11 @@ - - + + - - + + diff --git a/src/Certes.Cli/Properties/AssemblyInfo.cs b/src/Certes.Cli/Properties/AssemblyInfo.cs index 6c30ed68..20202d2e 100644 --- a/src/Certes.Cli/Properties/AssemblyInfo.cs +++ b/src/Certes.Cli/Properties/AssemblyInfo.cs @@ -2,4 +2,5 @@ using System.Runtime.InteropServices; [assembly: Guid("23fd2074-1b0f-495a-831e-7a0d645cdf88")] -[assembly: InternalsVisibleTo("Certes.Tests")] +[assembly: InternalsVisibleTo("Certes.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100ed78c4ef36b48a0fd40e7e01b3ff23c1f63c15cbee51999c1835941c444f4a0a67b32525f4eef7cc458b30e1a4358123d5973372636c6f310c16d28cb72c8ede9e82ab44251faf3fff62f977200fa5de0307d445e6d35952b8adb5152cdf59a73c3cd0ace95a2f42e3844b74db1ff30ad98666739edbe7b809557eb179bae7b3")] + diff --git a/src/Certes/Properties/AssemblyInfo.cs b/src/Certes/Properties/AssemblyInfo.cs index 58ee559d..3ead5e2b 100644 --- a/src/Certes/Properties/AssemblyInfo.cs +++ b/src/Certes/Properties/AssemblyInfo.cs @@ -2,4 +2,4 @@ using System.Runtime.InteropServices; [assembly: Guid("5f6267a0-a6c5-4d1e-b7ff-f8f8d09d8588")] -[assembly: InternalsVisibleTo("Certes.Tests")] +[assembly: InternalsVisibleTo("Certes.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100ed78c4ef36b48a0fd40e7e01b3ff23c1f63c15cbee51999c1835941c444f4a0a67b32525f4eef7cc458b30e1a4358123d5973372636c6f310c16d28cb72c8ede9e82ab44251faf3fff62f977200fa5de0307d445e6d35952b8adb5152cdf59a73c3cd0ace95a2f42e3844b74db1ff30ad98666739edbe7b809557eb179bae7b3")] diff --git a/test/Certes.Tests.Integration/Certes.Tests.Integration.csproj b/test/Certes.Tests.Integration/Certes.Tests.Integration.csproj index 4fe894a7..7a04ffa4 100644 --- a/test/Certes.Tests.Integration/Certes.Tests.Integration.csproj +++ b/test/Certes.Tests.Integration/Certes.Tests.Integration.csproj @@ -23,7 +23,7 @@ - + diff --git a/test/Certes.Tests.Web/Certes.Tests.Web.csproj b/test/Certes.Tests.Web/Certes.Tests.Web.csproj index ac6ec850..b007eb64 100644 --- a/test/Certes.Tests.Web/Certes.Tests.Web.csproj +++ b/test/Certes.Tests.Web/Certes.Tests.Web.csproj @@ -22,7 +22,7 @@ - + diff --git a/test/Certes.Tests/Certes.Tests.csproj b/test/Certes.Tests/Certes.Tests.csproj index 82a4f7e3..33ceca4f 100644 --- a/test/Certes.Tests/Certes.Tests.csproj +++ b/test/Certes.Tests/Certes.Tests.csproj @@ -19,7 +19,7 @@ - +