summary refs log tree commit diff
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2015-07-30 14:20:11 -0400
committerOren Novotny <oren@novotny.org>2015-07-30 14:20:11 -0400
commit38d1c791df1a4ec2c4c9cba05101c5727a829634 (patch)
tree602dceeccac86175ef628cdce7efe93fb60bbbe3
parentAdd support for dotnet and running on CoreCLR (diff)
downloadBouncyCastle.NET-ed25519-38d1c791df1a4ec2c4c9cba05101c5727a829634.tar.xz
Sign assembly to match bcgit and resolve #3. Needs to use real bc snk file when available
-rw-r--r--crypto/BouncyCastle.snkbin0 -> 596 bytes
-rw-r--r--crypto/crypto.pcl.csproj10
-rw-r--r--crypto/crypto.pcl2.csproj6
3 files changed, 13 insertions, 3 deletions
diff --git a/crypto/BouncyCastle.snk b/crypto/BouncyCastle.snk
new file mode 100644
index 000000000..b04ca9aae
--- /dev/null
+++ b/crypto/BouncyCastle.snk
Binary files differdiff --git a/crypto/crypto.pcl.csproj b/crypto/crypto.pcl.csproj
index be6ee7c59..473abb821 100644
--- a/crypto/crypto.pcl.csproj
+++ b/crypto/crypto.pcl.csproj
@@ -10,7 +10,7 @@
     <ApplicationIcon />
     <AssemblyKeyContainerName />
     <AssemblyName>crypto</AssemblyName>
-    <AssemblyOriginatorKeyFile />
+    <AssemblyOriginatorKeyFile>BouncyCastle.snk</AssemblyOriginatorKeyFile>
     <DefaultClientScript>JScript</DefaultClientScript>
     <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
     <DefaultTargetSchema>IE50</DefaultTargetSchema>
@@ -86,10 +86,16 @@
     <DebugType>pdbonly</DebugType>
     <ErrorReport>prompt</ErrorReport>
   </PropertyGroup>
-    <ItemGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <ItemGroup>
     <Compile Include="src\**\*.cs" />
     <Compile Include="bzip2\**\*.cs" />
   </ItemGroup>
+  <ItemGroup>
+    <None Include="BouncyCastle.snk" />
+  </ItemGroup>
   <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
   <PropertyGroup>
     <PreBuildEvent />
diff --git a/crypto/crypto.pcl2.csproj b/crypto/crypto.pcl2.csproj
index 40870ed6f..1c08f2fef 100644
--- a/crypto/crypto.pcl2.csproj
+++ b/crypto/crypto.pcl2.csproj
@@ -10,7 +10,7 @@
     <ApplicationIcon />
     <AssemblyKeyContainerName />
     <AssemblyName>crypto</AssemblyName>
-    <AssemblyOriginatorKeyFile />
+    <AssemblyOriginatorKeyFile>BouncyCastle.snk</AssemblyOriginatorKeyFile>
     <DefaultClientScript>JScript</DefaultClientScript>
     <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
     <DefaultTargetSchema>IE50</DefaultTargetSchema>
@@ -68,11 +68,15 @@
     <DebugType>pdbonly</DebugType>
     <ErrorReport>prompt</ErrorReport>
   </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
   <ItemGroup>
     <!-- NuSpec file must be specified as name does not match dll name -->
     <NuSpecFile Include="$(SolutionDir)Portable.BouncyCastle.nuspec" />
   </ItemGroup>
   <ItemGroup>
+    <None Include="BouncyCastle.snk" />
     <None Include="packages.crypto.pcl2.config" />
   </ItemGroup>
   <ItemGroup>