theuni
commented at 1:39 AM on January 11, 2017:
member
A dev came around IRC today asking for help with some of these manual steps, so I figured it would be helpful to go ahead and script it up. This is an ancient todo of mine.
To match the osx signing procedure, pack the needed ingredients into the unsigned tarball. This makes the signing procedure very straightforward.
Additionally, the cert chain has been added so that the signer doesn't provide it, only the private key for the codesigning cert.. Note that the gitian recipe for re-attaching the signature does not actually verify this yet, though.
Also added some quick docs for the procedure.
release: add win detached sig creator and our cert chain
To ensure that this is the correct chain, it is pulled from a previous release
binary.
Procedure:
$ osslsigncode extract-signature -pem -in bitcoin-0.13.2-win32-setup.exe \
-out bitcoin-0.13.2-win32-setup.exe.pem
$ openssl pkcs7 -print_certs -in bitcoin-0.13.2-win32-setup.exe.pem \
-out win-codesign.cert
Hand-edit to remove comments, as well as the timestamp cert.
00683615df
release: create a bundle for the new signing script
Also change the mac filename to match
The procedure remains the same, but now there's a nifty script to automate
the signing process.
Future steps:
- Build osslsigncode in the gitian-win descriptor so that the signer itself is
deterministic.
- Verify in the gitian-win-signer descriptor that the expected cert chain was
used.
f642753887
release: update docs to show basic codesigning procedure09fe2d9ec4
fanquake added the label Build system on Jan 11, 2017
fanquake added the label Docs and Output on Jan 11, 2017
losh11
commented at 8:23 AM on January 11, 2017:
none
👍
MarcoFalke
commented at 10:18 AM on January 11, 2017:
member
Concept ACK09fe2d9
laanwj
commented at 12:43 PM on January 11, 2017:
member
Concept ACK. Good to automate this!
fanquake
commented at 11:54 PM on January 20, 2017:
member
Concept ACK. Planning on testing this shortly.
laanwj added this to the milestone 0.14.1 on Mar 9, 2017
laanwj added this to the milestone 0.15.0 on Mar 9, 2017
laanwj removed this from the milestone 0.14.1 on Mar 9, 2017
laanwj
commented at 9:17 AM on March 9, 2017:
member
Assigning 0.15.0 milestone.
theuni
commented at 9:56 PM on March 10, 2017:
member
Ah, thanks for the reminder. I used the script/certs to sign all of the 0.14.0 binaries and never heard any complaints. So I'm assuming this is good to go :)
laanwj
commented at 6:36 AM on March 13, 2017:
member
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-18 15:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me