Skip to content

Commit bad5b5c

Browse files
author
rstam
committed
The MongoDB.Bson.dll and MongoDB.Driver.dll are now strongly named. They are signed using a TemporaryKeyPair. Official binaries will be resigned using a different strong name key.
1 parent 3fc8433 commit bad5b5c

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.docx binary
22
*.dll binary
3+
*.snk binary

Bson/Bson.csproj

+6
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@
5252
<WarningLevel>4</WarningLevel>
5353
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
5454
</PropertyGroup>
55+
<PropertyGroup>
56+
<SignAssembly>true</SignAssembly>
57+
</PropertyGroup>
58+
<PropertyGroup>
59+
<AssemblyOriginatorKeyFile>..\Keys\TemporaryKeyPair.snk</AssemblyOriginatorKeyFile>
60+
</PropertyGroup>
5561
<ItemGroup>
5662
<Reference Include="System" />
5763
<Reference Include="System.Core">

Driver/Driver.csproj

+6
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@
5252
<WarningLevel>4</WarningLevel>
5353
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
5454
</PropertyGroup>
55+
<PropertyGroup>
56+
<SignAssembly>true</SignAssembly>
57+
</PropertyGroup>
58+
<PropertyGroup>
59+
<AssemblyOriginatorKeyFile>..\Keys\TemporaryKeyPair.snk</AssemblyOriginatorKeyFile>
60+
</PropertyGroup>
5561
<ItemGroup>
5662
<Reference Include="System" />
5763
<Reference Include="System.Core">

Keys/TemporaryKeyPair.snk

596 Bytes
Binary file not shown.

Keys/TemporaryKeyPair.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
The TemporaryKeyPair.snk file contains a temporary public/private key pair so that
2+
you can build signed assemblies directly from the source tree retrieved from github.
3+
4+
The official releases will resign the DLLs with a different public/private key pair.

0 commit comments

Comments
 (0)