Files
dotfiles-public/.tests/mutations/29-claude-desktop-key-not-verified.mut
T
bcherb2 6fa7603633 test: mutations for the claude script, desktop key and go channel
Piping the Claude Code installer into bash, placing the Claude Desktop key
unverified, and running the go channel before go is unpacked. The unit suite
kills all three.
2026-11-18 02:01:01 -05:00

11 lines
415 B
Plaintext

# what: the Claude Desktop signing key is placed without checking its fingerprint
# why: apt would trust whatever key arrived for packages it installs as root
# kills: a key with the wrong fingerprint is refused
# run: unit
<<<OLD
[ "$cd_fpr" = "$CLAUDE_DESKTOP_FPR" ] || {
note_fail "$key" "signing key fingerprint is not Anthropic's — refusing to trust it"; continue; }
<<<NEW
: "$cd_fpr"
<<<END