Skip to content

Commit

Permalink
Add strong signing to assembly (#324)
Browse files Browse the repository at this point in the history
Fixes: #308.

Version being bumped to 3.1.0
  • Loading branch information
poornas authored and kannappanr committed Aug 7, 2019
1 parent 1c5bf0e commit c60b0e5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Minio.Tests/Minio.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<PropertyGroup>
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
<IsPackable>False</IsPackable>
<AssemblyOriginatorKeyFile>..\Minio.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
</PropertyGroup>

<ItemGroup>
Expand Down
Binary file added Minio.snk
Binary file not shown.
6 changes: 5 additions & 1 deletion Minio/Minio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
<DebugType>embedded</DebugType>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<Optimize>true</Optimize>
<AssemblyOriginatorKeyFile>..\Minio.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
</PropertyGroup>

<PropertyGroup Label="Package">
<Product>Minio</Product>
<Version>3.0.13</Version>
<Version>3.1.0</Version>
<Description>Minio .NET SDK for Amazon S3 Compatible Cloud Storage.</Description>
<Copyright>Copyright (c) 2018. All rights reserved.</Copyright>
<Authors>Minio, Inc.</Authors>
Expand Down
8 changes: 6 additions & 2 deletions Minio/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("Minio.Tests")]
[assembly: InternalsVisibleTo("Minio.Tests, PublicKey="+
"0024000004800000940000000602000000240000525341310004000001000100b5b1773b93a0a4"+
"47624b0ba537a9f6b948a483c25f82b77c2d4025fc8d5b3151a5b2b0f5a00e7f8cec340430e809"+
"fe196713be30b75fd5efa790a39357709cef50a7e073106a3b24964f2eb6139a95598165b65f37"+
"be8ae65145afb9c4ba27bb85c310c52ed00435478f44368495a344ce688b9140ad0e8fea65ec00"+
"a8912398")]

0 comments on commit c60b0e5

Please sign in to comment.