Repository navigation
Commit c9e0277
committed
tools,doc: check and backfill notarization of darwin tarballs
Add tools/macos-tarball-notarization.sh. Given release versions, or
--all-supported for the lines currently in their support window, it
downloads the darwin tarballs, verifies the bin/node signature and asks
Apple's Gatekeeper ticket service, by code directory hash, whether a
notarization ticket exists. That is the lookup macOS itself performs;
`codesign --verify -R=notarized` only reads the local ticket cache and
reports a notarized binary as unticketed on a machine that never fetched
its ticket. A failed lookup is reported as such, never as a missing
ticket. With --submit it zips and submits the binaries that lack one
through the NODE_RELEASE_PROFILE keychain profile, requires Apple's
Accepted verdict, and waits for the ticket. --latest N limits the run to
the N most recent releases per line, since every check downloads a
tarball. Notarizing a published binary does not modify it, so checksums
stay valid; this is how already shipped tarballs get backfilled.
Document in release-overview.md how macOS signing and notarization are
wired, that tarball binaries usually receive a ticket only days after a
release when third parties notarize apps that bundle them, that the
NOTARIZATION_* variables in iojs+release must be exported on the tarball
axes too, and how to check and backfill a release. Describe in
jenkins-jobs.md the scheduled ci-release job that runs the script
nightly, which both backfills and detects a tarball axis that stopped
notarizing. Note in the orka README that pkg and tarball nodes share the
release image.
Refs: nodejs/node#67140
Refs: nodejs/node#67143
Refs: #3538
Refs: #4545
Assisted-by: Claude
Assisted-by: Codex
Signed-off-by: Ulises Gascon <ulisesgascongonzalez@gmail.com>1 parent 8954a60 commit c9e0277
4 files changed
Lines changed: 471 additions & 0 deletions
File tree
- doc
- orka/templates
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
162 | 197 | | |
163 | 198 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
0 commit comments