Skip to content

staging-hydra: sign paths with multiple keys #796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

picnoir
Copy link
Member

@picnoir picnoir commented Aug 9, 2025

POC for NixOS/rfcs#149

@picnoir
Copy link
Member Author

picnoir commented Aug 9, 2025

Deployed on hydra staging.

@picnoir
Copy link
Member Author

picnoir commented Aug 9, 2025

Hmm,

[nix-shell:/run/keys]# aws s3 cp "s3://nix-cache-staging/8zfb1mjcw0bfx72nkhmm7s1rzcd3769a.narinfo" /tmp/narinfo.narinfo && cat /tmp/narinfo.narinfo 
download: s3://nix-cache-staging/8zfb1mjcw0bfx72nkhmm7s1rzcd3769a.narinfo to ../../tmp/narinfo.narinfo
StorePath: /nix/store/8zfb1mjcw0bfx72nkhmm7s1rzcd3769a-bash-5.1-p8-dev
URL: nar/0mdahm77gr568608nzf34680bbws18m1dyfb81krsxzld5a0vqg1.nar.xz
Compression: xz
FileHash: sha256:0mdahm77gr568608nzf34680bbws18m1dyfb81krsxzld5a0vqg1
FileSize: 58100
NarHash: sha256:02qpw8z5vfy12kw6l0rhq4ys7cia5p3iwvhx4fx7cy7vxgs42xw1
NarSize: 309320
References: 8zfb1mjcw0bfx72nkhmm7s1rzcd3769a-bash-5.1-p8-dev jaiay49bnh3j9vmqzdfbz4x7nal3ab8m-bash-5.1-p8
Deriver: 1xdq21lhvc0yf5pqmc5pbrl1cq5z2vsh-bash-5.1-p8.drv
Sig: cache.nixos.org-1:dTc+wRjLVXbUfRg83B+Bja2rpQ/woHRnJu1nJOKGmu9FGbLJrr1Z9NuKqFlsgb4zOssJuGdVjEAFKcgK/yUfBw==
Sig: staging-hydra.nixos.org:A/tVGOQGpetF2O4MV+cRuhE5UknXgJ9pHGF2ATdiumGccjrVVFnD/ijT3/2vPeU0CpmqILFZvMhPoLlFNl3iCw==

It does not seem to work. There should be a second signature. :/

I need to investigate this further.

@picnoir
Copy link
Member Author

picnoir commented Aug 9, 2025

Ah! Makes sense, NixOS/nix#12976 landed for Nix 2.29. Current hydra staging is on 2.28.

@picnoir picnoir marked this pull request as draft August 9, 2025 16:53
@mweinelt
Copy link
Member

mweinelt commented Aug 9, 2025

Nix upgrade is scheduled to happen after https://discourse.nixos.org/t/pre-disclosure-announcement-security-advisory-for-hydra-on-august-12-2025/67615/6.

@picnoir picnoir force-pushed the pic/hydra-staging-multiple-keys branch from f48ebe1 to 462811d Compare August 10, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants