Skip to content

Commit 09fe2d9

Browse files
committed
release: update docs to show basic codesigning procedure
1 parent f642753 commit 09fe2d9

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

doc/release-process.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,38 @@ Commit your signature to gitian.sigs:
170170
git push # Assuming you can push to the gitian.sigs tree
171171
popd
172172

173-
Wait for Windows/OS X detached signatures:
173+
Codesigner only: Create Windows/OS X detached signatures:
174+
- Only one person handles codesigning. Everyone else should skip to the next step.
175+
- Only once the Windows/OS X builds each have 3 matching signatures may they be signed with their respective release keys.
176+
177+
Codesigner only: Sign the osx binary:
178+
179+
transfer bitcoin-osx-unsigned.tar.gz to osx for signing
180+
tar xf bitcoin-osx-unsigned.tar.gz
181+
./detached-sig-create.sh -s "Key ID"
182+
Enter the keychain password and authorize the signature
183+
Move signature-osx.tar.gz back to the gitian host
184+
185+
Codesigner only: Sign the windows binaries:
186+
187+
tar xf bitcoin-win-unsigned.tar.gz
188+
./detached-sig-create.sh -key /path/to/codesign.key
189+
Enter the passphrase for the key when prompted
190+
signature-win.tar.gz will be created
191+
192+
Codesigner only: Commit the detached codesign payloads:
193+
194+
cd ~/bitcoin-detached-sigs
195+
checkout the appropriate branch for this release series
196+
rm -rf *
197+
tar xf signature-osx.tar.gz
198+
tar xf signature-win.tar.gz
199+
git add -a
200+
git commit -m "point to ${VERSION}"
201+
git tag -s v${VERSION} HEAD
202+
git push the current branch and new tag
203+
204+
Non-codesigners: wait for Windows/OS X detached signatures:
174205

175206
- Once the Windows/OS X builds each have 3 matching signatures, they will be signed with their respective release keys.
176207
- Detached signatures will then be committed to the [bitcoin-detached-sigs](https://github.com/bitcoin-core/bitcoin-detached-sigs) repository, which can be combined with the unsigned apps to create signed binaries.

0 commit comments

Comments
 (0)