v26.13.0 Darwin tarball binaries are not notarized
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 47/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- macos
- Domínio
- release
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.)
- Linguagem predominante
- Jinja
- Estrelas
- 544
- Forks
- 184
- Merge médio
- 3d 12h
- PRs com merge (30d)
- 7
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de nodejs/build
-
ci-job-request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
nodejs/build#4539 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Python 3.10 EOL 2026-10-01 used in WindowsTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertabuild-agenda
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
nodejs/build#4514 · 22 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
nodejs/build#4324 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 1/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
nodejs/build#4543 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de nodejs/build
Issues semelhantes
-
maintenance
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
korthout/backport-action#776 ·
Mantenedores costumam responder em até 1 dia
-
0.kind: enhancement 9.needs: package (update)
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
NixOS/nixpkgs#580667 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
claude-task release-notes
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
paqu-io/form0-core#128 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Release workflow: a build provenance attestation for the gem with `actions/attest-build-provenance`Abertaarea: devops area: security lane: strong-agent roadmap size: S type: task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
arminazimi/slipway#712 ·
Mantenedores costumam responder em até 1 dia