v26.13.0 Darwin tarball binaries are not notarized
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 47/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- macos
- Domaine
- release
Piste de recherche
Start by checking the macOS release packaging job and the post-notarization check referenced in #4527, then compare how it handles the pkg and Darwin tarball binaries. Determine why the v26.13.0 arm64 and x64 tarballs lack notarization tickets while the pkg and v26.12.1 tarball are notarized. Done means both existing tarball binaries are registered with Apple without changing their SHAs.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I was chasing down a sudden performance regression in a tool that spawns a lot of child processes, and ended up narrowing it to notarization issues with the 26.13.0 macOS tarballs.
The missing notarization sends Gatekeeper / syspolicyd into conniptions: in any process tree launched through a #!/bin/sh bin shim (so every npm/pnpm CLI), syspolicyd logs violates validation category policy. This will likely result in a block in the future and does a full trust evaluation on every process event. That adds ~3.5 ms to every posix_spawn attempt libuv makes while walking PATH, so a child_process spawn by bare name goes from ~10 ms to ~70 ms. Node 22, 24 and 26.12.1 binaries on the same machine are fine.
The bin/node binaries in the published node-v26.13.0-darwin-arm64.tar.gz and node-v26.13.0-darwin-x64.tar.gz are Developer ID signed but have no notarization ticket. node-v26.13.0.pkg is notarized and stapled. The darwin-arm64 tarball binary from v26.12.1 does have a ticket, so this looks specific to the v26.13.0 release build rather than to tarballs in general.
Quick check:
for v in v26.13.0 v26.12.1; do
curl -fsSLO "https://nodejs.org/dist/$v/node-$v-darwin-arm64.tar.gz"
tar -xzf "node-$v-darwin-arm64.tar.gz" "node-$v-darwin-arm64/bin/node"
codesign --verify --verbose=2 -R='notarized' "node-$v-darwin-arm64/bin/node"
done
This logs:
node-v26.13.0-darwin-arm64/bin/node: valid on disk
node-v26.13.0-darwin-arm64/bin/node: satisfies its Designated Requirement
test-requirement: code failed to satisfy specified code requirement(s)
node-v26.12.1-darwin-arm64/bin/node: valid on disk
node-v26.12.1-darwin-arm64/bin/node: satisfies its Designated Requirement
node-v26.12.1-darwin-arm64/bin/node: explicit requirement satisfied
Same for the x64 tarball.
This may be related to #4527, where the post-notarization check in the macOS release-pkg job intermittently reported source=Unnotarized Developer ID. The retry loop there wraps the pkg check, so the tarball binaries may have slipped past it.
As far as I understand it, fixing this doesn't require changing the published tarballs: submitting a zip of each existing bin/node to notarytool registers its CDHash with Apple, and Gatekeeper looks tickets up by hash, so the SHAs stay the same. Would that be possible so people don't have to tiptoe around 26.13.0?
(Not sure if this belongs here or in nodejs/node. Apologies if I guessed wrong.)
- Langage dominant
- Jinja
- Étoiles
- 544
- Forks
- 184
- Merge moyen
- 3 j 12 h
- PR mergées (30 j)
- 7
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de nodejs/build
-
ci-job-request
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
nodejs/build#4539 · 1 commentaire · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
Python 3.10 EOL 2026-10-01 used in WindowsPeut-être pris @MikeMcC399 l’a pris il y a 6 jours. Ouvertebuild-agenda
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
nodejs/build#4514 · 22 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
nodejs/build#4324 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 1/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
nodejs/build#4543 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de nodejs/build
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
librespeed/speedtest-rust#52 · 1 commentaire ·
-
Requirement is wrongOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
remko/age-plugin-se#25 ·
-
documentation good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
ANCORATE/EncryptHome#17 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
dataiku/kiji-proxy#668 ·
Les mainteneurs répondent en général sous 2 jours