Skip to content

Commit

Permalink
Update code signing certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
larskanis committed Oct 23, 2024
1 parent 6a73b96 commit f74cb5a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ namespace "release" do
else
puts "Add signature to exe file #{fname}"
File.rename(fname, old_file)
sh "osslsigncode sign -verbose -pkcs11engine /usr/lib/x86_64-linux-gnu/engines-3/libpkcs11.so -pkcs11module _codesign/certum/sc30pkcs11-3.0.5.60-MS.so -certs _codesign/certum/3ade930adc9e8bc4de4257b22ca2d3f9.pem -key 739d150ea2185d25c2f7bcd34cc8b733126686cb -h sha256 -pass #{password.inspect} -t http://time.certum.pl/ -in #{old_file} -out #{fname}"
sh "osslsigncode sign -verbose -pkcs11engine /usr/lib/x86_64-linux-gnu/engines-3/libpkcs11.so -pkcs11module _codesign/certum/sc30pkcs11-3.0.5.60-MS.so -certs _codesign/certum/726dd33928c97066c4405d86db82e5d8.pem -key 2c9ac62eae8052d299c3e72876295787ceac2226 -h sha256 -pass #{password.inspect} -t http://time.certum.pl/ -in #{old_file} -out #{fname}"

sh "osslsigncode verify #{fname}"
end
Expand Down
39 changes: 39 additions & 0 deletions _codesign/certum/726dd33928c97066c4405d86db82e5d8.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
-----BEGIN CERTIFICATE-----
MIIG1zCCBL+gAwIBAgIQcm3TOSjJcGbEQF2G24Ll2DANBgkqhkiG9w0BAQsFADBW
MQswCQYDVQQGEwJQTDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBTLkEu
MSQwIgYDVQQDExtDZXJ0dW0gQ29kZSBTaWduaW5nIDIwMjEgQ0EwHhcNMjQxMDIx
MTExNzM0WhcNMjUxMDIxMTExNzMzWjB9MQswCQYDVQQGEwJERTESMBAGA1UECAwJ
VGh1cmluZ2lhMQ4wDAYDV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