Skip to content

Decision 0011: two signing keys, and what each is allowed to say - #11

Open
marcos-mendez wants to merge 3 commits into
mainfrom
docs/0011-placeholder
Open

marcos-mendez wants to merge 3 commits into
mainfrom
docs/0011-placeholder

Conversation

@marcos-mendez

@marcos-mendez marcos-mendez commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Adds decision note 0011, "Two signing keys, and what each is allowed to say".

This pull request first proposed a placeholder saying 0011 was never written, on the reasoning that nothing referenced it. That was wrong: Keel-Linux/apt cites decision 0011 in five places (conf/distributions, lib/common.sh, lib/publish.sh twice, README.md) for the two key separation it implemented on 2026-09-27 (apt becf0e8). The second commit replaces the placeholder with the note those citations point to.

What it records, all measured: trixie is signed with the release key (offline primary AD0964BE, passphrase protected signing subkey on the build host); trixie-staging with a separate key, 33516A96, unprotected on the build host so a nightly needs nobody at a keyboard. The release key means a person stood behind the bits; the staging key means only that the build host produced them.

Decision 0016 (handbook#10) builds on this note, so this should be merged before it.

For the maintainer: key custody is reserved to you (brief, section 11). The staging key answers your instruction that a nightly must not wait for a passphrase; please confirm the rule the note draws (the unattended key may sign only what the build host could claim anyway, never what an installed appliance reads), or say what should change.

The number was skipped between 0010 and 0012, both written on 2026-09-27.
Nothing was deleted: no file matching 0011 appears in any tree of any commit
on any ref, and nothing in the repository references one.

The gap stays rather than being closed. A decision number is a stable
identifier cited from notes, commits, comments and issues, so renumbering
would silently repoint all of them, and reusing 0011 later would place a note
out of date sequence between its neighbours.
The separation of the release key from the unprotected staging key was
implemented on 2026-09-27 and cited from four places in Keel-Linux/apt while
no note existed. This records what is running.

Replaces the placeholder that called 0011 a deliberate gap. That placeholder
was wrong: it established that nothing in this repository referenced an 0011,
and did not check the repository doing the citing. A decision cited from code
exists whether or not anybody wrote it down.
Keel-Linux/apt cites decision 0011 in five places, not four: README.md line
125 was missing from the list. Counted with `grep -rn 0011` over a fresh
clone at 2e1543e.

The placeholder the last section refers to was never on main; it was the
first commit of this pull request. Say so, so a reader does not look for it
in the history of main.

The status paragraph now says that key custody is a decision reserved to the
maintainer (brief, section 11), that the staging key answers the
maintainer's own instruction (apt becf0e8), and that ratifying the rule the
note draws is asked in the pull request. The note records what runs; it does
not decide custody on the maintainer's behalf.

Everything else was checked and is right: both SignWith fingerprints in
conf/distributions, both keyring files, `die 4` in publish_check_signing,
--unsigned-staging stripping SignWith, and on the build host the release
subkey 03041024 is passphrase protected while the staging key 33516A96 and
its subkey are not (gpg-agent keyinfo: P and C).
@marcos-mendez marcos-mendez changed the title Record that decision 0011 was never written Decision 0011: two signing keys, and what each is allowed to say Sep 29, 2026
@marcos-mendez

Copy link
Copy Markdown
Contributor Author

Title and description now match the content (the note, not the placeholder); 1e12ac9 corrects the citation count to five and states that custody is the maintainer's to ratify, which is the one open question here. Merge before #10, which cites 0011.

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.

1 participant