Skip to content

Commit

Permalink
strong name signing (#107)
Browse files Browse the repository at this point in the history
* strong name signing
* update packages
  • Loading branch information
fszlin authored May 13, 2018
1 parent aabd46b commit 6cc12c3
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 10 deletions.
3 changes: 3 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion misc/AssemblyInfo.Shared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
using System.Runtime.InteropServices;

[assembly: ComVisible(false)]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
3 changes: 3 additions & 0 deletions misc/certes.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<LangVersion>Latest</LangVersion>
<SignAssembly>true</SignAssembly>
<PublicSign Condition="'$(TargetFramework)' != 'net45' AND '$(TargetFramework)' != 'net452' AND '$(TargetFramework)' != 'net47'">True</PublicSign>
<AssemblyOriginatorKeyFile>../../misc/certes.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(APPVEYOR)' != ''">
<CertesFileVersionSuffix>.$(APPVEYOR_BUILD_NUMBER)</CertesFileVersionSuffix>
Expand Down
Binary file added misc/certes.snk
Binary file not shown.
8 changes: 4 additions & 4 deletions src/Certes.Cli/Certes.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="4.8.0" />
<PackageReference Include="NLog" Version="4.5.3" PrivateAssets="all" />
<PackageReference Include="Autofac" Version="4.8.1" />
<PackageReference Include="NLog" Version="4.5.4" PrivateAssets="all" />
<PackageReference Include="System.CommandLine" Version="0.1.0-*" PrivateAssets="all" />
<PackageReference Include="Microsoft.Azure.Management.Dns.Fluent" Version="1.9.1" />
<PackageReference Include="Microsoft.Azure.Management.AppService.Fluent" Version="1.9.1" />
<PackageReference Include="Microsoft.Azure.Management.Dns.Fluent" Version="1.10.0" />
<PackageReference Include="Microsoft.Azure.Management.AppService.Fluent" Version="1.10.0" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/Certes.Cli/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

2 changes: 1 addition & 1 deletion src/Certes/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<PackageReference Include="Microsoft.CodeCoverage" Version="1.0.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
<PackageReference Include="Moq" Version="4.8.2" />
<PackageReference Include="NLog" Version="4.5.3" />
<PackageReference Include="NLog" Version="4.5.4" />
<PackageReference Include="OpenCover" Version="4.6.519" />
<PackageReference Include="System.CommandLine" Version="0.1.0-*" Condition="'$(IncludeCli)' == 'True'" />
<PackageReference Include="xunit" Version="2.3.1" />
Expand Down
2 changes: 1 addition & 1 deletion test/Certes.Tests.Web/Certes.Tests.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore" Version="2.0.2" />
<PackageReference Include="Microsoft.Azure.Management.Dns.Fluent" Version="1.9.1" />
<PackageReference Include="Microsoft.Azure.Management.Dns.Fluent" Version="1.10.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Certes\Certes.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion test/Certes.Tests/Certes.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PackageReference Include="Microsoft.CodeCoverage" Version="1.0.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
<PackageReference Include="Moq" Version="4.8.2" />
<PackageReference Include="NLog" Version="4.5.3" />
<PackageReference Include="NLog" Version="4.5.4" />
<PackageReference Include="OpenCover" Version="4.6.519" />
<PackageReference Include="System.CommandLine" Version="0.1.0-*" Condition="'$(IncludeCli)' == 'True'" />
<PackageReference Include="xunit" Version="2.3.1" />
Expand Down

0 comments on commit 6cc12c3

Please sign in to comment.