You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Only one person handles codesigning. Everyone else should skip to the next step.
146
-
- Only once the Windows/macOS builds each have 3 matching signatures may they be signed with their respective release keys.
140
+
## Codesigning
147
141
148
-
Codesigner only: Sign the macOS binary:
142
+
### macOS codesigner only: Create detached macOS signatures (assuming [signapple](https://github.com/achow101/signapple/) is installed and up to date with master branch)
149
143
150
-
transfer bitcoin-osx-unsigned.tar.gz to macOS for signing
151
144
tar xf bitcoin-osx-unsigned.tar.gz
152
-
./detached-sig-create.sh -s "Key ID"
145
+
./detached-sig-create.sh /path/to/codesign.p12
153
146
Enter the keychain password and authorize the signature
154
-
Move signature-osx.tar.gz back to the guix-build host
147
+
signature-osx.tar.gz will be created
155
148
156
-
Codesigner only: Sign the windows binaries:
149
+
### Windows codesigner only: Create detached Windows signatures
Code-signer only: It is advised to test that the code signature attaches properly prior to tagging by performing the `guix-codesign` step.
156
+
### Windows and macOS codesigners only: test code signatures
157
+
It is advised to test that the code signature attaches properly prior to tagging by performing the `guix-codesign` step.
164
158
However if this is done, once the release has been tagged in the bitcoin-detached-sigs repo, the `guix-codesign` step must be performed again in order for the guix attestation to be valid when compared against the attestations of non-codesigner builds.
165
159
166
-
Codesigner only: Commit the detached codesign payloads:
160
+
### Windows and macOS codesigners only: Commit the detached codesign payloads
167
161
168
162
```sh
169
163
pushd ./bitcoin-detached-sigs
@@ -178,16 +172,21 @@ git push the current branch and new tag
178
172
popd
179
173
```
180
174
181
-
Non-codesigners: wait for Windows/macOS detached signatures:
175
+
### Non-codesigners: wait for Windows and macOS detached signatures
182
176
183
-
- Once the Windows/macOS builds each have 3 matching signatures, they will be signed with their respective release keys.
177
+
- Once the Windows and macOS builds each have 3 matching signatures, they will be signed with their respective release keys.
184
178
- 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.
185
179
186
-
Create (and optionally verify) the codesigned outputs:
0 commit comments