Skip to content

Commit 3403ab3

Browse files
author
mbt1
committed
fixed a few typos, started to update release notes, experimented with the signing key
1 parent e8c3e32 commit 3403ab3

7 files changed

Lines changed: 44 additions & 3 deletions

File tree

Build/ReleaseNotes.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ BUG FIXES:
1515

1616
NEW FEATURES:
1717

18+
1. The tSQLt CLR is now signed with a new key:
19+
20+
---------------------------
21+
Release: V1.0.5873.27393
22+
23+
BUG FIXES:
24+
25+
1. Fixed error message in tSQLt.FakeTable
26+
27+
2. tSQLt.DropClass now handles already quoted names correctly
28+
29+
NEW FEATURES:
30+
1831
1. The tSQLt CLR is now signed with a new key:
1932
Public Key Token = 0x7722217d36028e4c
2033
Public Key: 0x0602000000240000525341310004000001000100F7D9A45F2B508C2887A8794B053CE5DEB28743B7C748FF545F1F51218B684454B785054629C1417D1D3542B095D80BA171294948FCF978A502AA03240C024746B563BC29B4D8DCD6956593C0C425446021D699EF6FB4DC2155DE7E393150AD6617EDC01216EA93FCE5F8F7BE9FF605AD2B8344E8CC01BEDB924ED06FD368D1D0

Experiments/CertificateTest.sql

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
IF(CERT_ID('tSQLtSigningKey') IS NOT NULL) DROP CERTIFICATE tSQLtSigningKey;
2+
GO
3+
CREATE CERTIFICATE tSQLtSigningKey
4+
ENCRYPTION BY PASSWORD = 'password'
5+
WITH SUBJECT = 'CN=tSQLt.org, title=tSQLt_OfficialSigningKey',
6+
EXPIRY_DATE = '2020-12-01T00:00:00.000'
7+
GO
8+
BACKUP CERTIFICATE tSQLtSigningKey TO FILE ='C:\Data\git\tSQLt\tSQLt\tSQLtCLR\OfficialSigningKey\tSQLtSigningKey.cer'
9+
WITH PRIVATE KEY(FILE='C:\Data\git\tSQLt\tSQLt\tSQLtCLR\OfficialSigningKey\tSQLtSigningKey.pkf', DECRYPTION BY PASSWORD = 'password', ENCRYPTION BY PASSWORD = 'password');

Experiments/Experiments.ssmssqlproj

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
<Items>
44
<LogicalFolder Name="Connections" Type="2" Sorted="true">
55
<Items>
6+
<ConnectionNode Name="Dev_2019:WIN10A\meinse00">
7+
<Created>2020-10-17T10:49:34.7218038-04:00</Created>
8+
<Type>SQL</Type>
9+
<Server>Dev_2019</Server>
10+
<UserName />
11+
<Authentication>Windows Authentication</Authentication>
12+
<InitialDB>tSQLt_dev</InitialDB>
13+
<LoginTimeout>30</LoginTimeout>
14+
<ExecutionTimeout>0</ExecutionTimeout>
15+
<ConnectionProtocol>NotSpecified</ConnectionProtocol>
16+
<ApplicationName>Microsoft SQL Server Management Studio - Query</ApplicationName>
17+
</ConnectionNode>
618
<ConnectionNode Name="Dev_tSQLt:WIN10A\meinse00">
719
<Created>2014-11-24T18:14:33.2545881-05:00</Created>
820
<Type>SQL</Type>
@@ -37,6 +49,12 @@
3749
<AssociatedConnUserName />
3850
<FullPath>CallParameters.sql</FullPath>
3951
</FileNode>
52+
<FileNode Name="CertificateTest.sql">
53+
<AssociatedConnectionMoniker>8c91a03d-f9b4-46c0-a305-b5dcc79ff907:Dev_2019:True</AssociatedConnectionMoniker>
54+
<AssociatedConnSrvName>Dev_2019</AssociatedConnSrvName>
55+
<AssociatedConnUserName />
56+
<FullPath>CertificateTest.sql</FullPath>
57+
</FileNode>
4058
<FileNode Name="EXPERIMENTS.sql">
4159
<AssociatedConnectionMoniker>8c91a03d-f9b4-46c0-a305-b5dcc79ff907:Dev_tSQLt:True</AssociatedConnectionMoniker>
4260
<AssociatedConnSrvName>Dev_tSQLt</AssociatedConnSrvName>

tSQLtCLR/OfficialSigningKey/InstallSigninKey.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ REM If you do not have access to the original key, create your own and use SN.ex
33
REM This is only needed if you want to build tSQLt yourself.
44
REM
55
cd /d "%~dp0"
6+
"c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\sn.exe" -d tSQLt_OfficialSigningKey
67
"c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\sn.exe" -i tSQLtOfficialSigningKey.pfx tSQLt_OfficialSigningKey

tSQLtCLR/tSQLtAssemblyKey/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
[assembly: AssemblyVersion("1.0.0.0")]
3333
[assembly: AssemblyFileVersion("1.0.0.0")]
3434

35-
// Sign assembl with key in this container:
35+
// Sign assembly with key in this container:
3636
[assembly: System.Reflection.AssemblyKeyNameAttribute("tSQLt_OfficialSigningKey")]

tSQLtCLR/tSQLtCLR/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// by using the '*' as shown below:
3232
[assembly: AssemblyVersion("1.0.*")]
3333

34-
// Sign assembl with key in this container:
34+
// Sign assembly with key in this container:
3535
[assembly: System.Reflection.AssemblyKeyNameAttribute("tSQLt_OfficialSigningKey")]

tSQLtCLR/tSQLtTestUtilCLR/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@
3737

3838
[assembly: System.Security.AllowPartiallyTrustedCallers]
3939

40-
// Sign assembl with key in this container:
40+
// Sign assembly with key in this container:
4141
[assembly: System.Reflection.AssemblyKeyNameAttribute("tSQLt_OfficialSigningKey")]

0 commit comments

Comments
 (0)