CT 114: ghost-Pubkey gepinnt, Hook-SHA aktualisiert (9e1db709…)
Operator hat am 2026-11-27 den ghost-Key interaktiv erzeugt, alle drei .pub nach ansible/files/ssh/ kopiert und den ADMIN_PUBLIC_KEY-Platzhalter im Bootstrap-Hook ersetzt. Eingebettete Hook-Keys matchen byte-identisch mit den Repo-Pubkeys (geprüft). POST_INSTALL_HOOK_SHA256 auf den neuen Hook-Stand gepinnt; Stand in scripts/README.md und GNAI-024 dokumentiert. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
+5
-1
@@ -221,7 +221,11 @@ getnetworkinfo, getpeerinfo, getwalletinfo, listtransactions, …).
|
||||
- Workstation: SSH-Keys `id_ed25519_ghostnet_ct114_agent` und
|
||||
`id_ed25519_ghostnet_ct114_ansible_deploy` erzeugt (passphrase-los),
|
||||
Aliase `ghostnet-ct114-{agent,ghost,ansible-deploy}` in `~/.ssh/config`.
|
||||
Der `ghost`-Key ist Operator-Schritt (Passphrase interaktiv).
|
||||
- **2026-11-27 (Operator):** `ghost`-Key interaktiv mit Passphrase erzeugt,
|
||||
alle drei `.pub` nach `ansible/files/ssh/` kopiert, `ADMIN_PUBLIC_KEY`-
|
||||
Platzhalter im Hook ersetzt; eingebettete Hook-Keys matchen byte-identisch
|
||||
mit den Repo-Pubkeys (geprüft), Hook-SHA neu gepinnt
|
||||
(`9e1db709…14d69`, siehe `scripts/README.md`).
|
||||
- Verifiziert: Litecoin v0.21.5.8 SHA-256 gegen signiertes `SHA256SUMS.asc`
|
||||
(Befund a); Shell-Syntax aller Skripte; Ansible-Syntax aller Playbooks;
|
||||
yamllint, Secret-Scan und Markdown-Linkcheck (CI-Skripte lokal) bestanden.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGUv4INjWuIzgRL9Pw4TqeHirG72AeA6bowsea6fj2OT ghost@ghostnet-ct114
|
||||
@@ -45,6 +45,12 @@ cp ~/.ssh/id_ed25519_ghostnet_ct114_*.pub into this repo:
|
||||
# in provision-ct114-litecoin.sh.
|
||||
```
|
||||
|
||||
Erledigt am 2026-11-27: alle drei `.pub` liegen in `ansible/files/ssh/`, der
|
||||
Hook-Platzhalter ist ersetzt und die eingebetteten Keys matchen byte-identisch
|
||||
mit den Repo-Dateien (geprüft). Aktueller Hook-Pin:
|
||||
`9e1db709db30f93ff918be9ee88f545243003a916d7b8c434b85e58a81014d69`
|
||||
(Vor-Platzhalter-Wert: `a742377a…a359e3`).
|
||||
|
||||
The `ghost` key passphrase is an interactive operator step and is never
|
||||
written down anywhere (AGENTS.md: operator-run secret steps).
|
||||
|
||||
|
||||
+2
-2
@@ -22,7 +22,7 @@ readonly DEPLOY_UID="1002"
|
||||
# (GNAI-024 Abschnitt 6 Schritt 0); the hook refuses to run while the
|
||||
# placeholder is present.
|
||||
readonly AGENT_PUBLIC_KEY='ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvQR56yADYULrpThnXROAa8GxKWfb+xcnIVLVDVX6Yy ghost-agent@ghostnet-ct114'
|
||||
readonly ADMIN_PUBLIC_KEY='@GHOSTNET-CT114-GHOST-PUBLIC-KEY@'
|
||||
readonly ADMIN_PUBLIC_KEY='ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGUv4INjWuIzgRL9Pw4TqeHirG72AeA6bowsea6fj2OT ghost@ghostnet-ct114'
|
||||
readonly DEPLOY_PUBLIC_KEY='ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILfqlYvqesJK9bhMmfv6tRp5pXPFDu13xmYbV+58fopV ansible-deploy@ghostnet-ct114'
|
||||
|
||||
log() {
|
||||
@@ -37,7 +37,7 @@ die() {
|
||||
[[ "${EUID}" -eq 0 ]] || die "must run as root on the Proxmox host"
|
||||
command -v pct >/dev/null 2>&1 || die "pct not found; run this hook on Proxmox"
|
||||
[[ -x "$BASELINE_HOOK" ]] || die "baseline hook is missing or not executable: ${BASELINE_HOOK}"
|
||||
[[ "$ADMIN_PUBLIC_KEY" != '@GHOSTNET-CT114-GHOST-PUBLIC-KEY@' ]] ||
|
||||
[[ "$ADMIN_PUBLIC_KEY" != 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGUv4INjWuIzgRL9Pw4TqeHirG72AeA6bowsea6fj2OT ghost@ghostnet-ct114' ]] ||
|
||||
die "ADMIN_PUBLIC_KEY placeholder not replaced; see scripts/README.md step 0"
|
||||
|
||||
ctid="${CTID:-${1:-}}"
|
||||
|
||||
@@ -21,10 +21,11 @@ readonly PROXMOXVE_COMMIT='c0c9d93d5db1692167efeee2e019f1519af4e0d2'
|
||||
readonly CORE_COMMIT='d1cec87881d7de053d86434aaf98eb203170c1b9'
|
||||
readonly DEBIAN_SCRIPT_SHA256='8396340fb3c91142ddf8356eb80904fad181acd6c6ad2c33b22ed4698c86187d'
|
||||
readonly BASELINE_HOOK_SHA256='111f1b70e47e3a2f6a1bcce22cb0ec50aacd8fbcff37d87fbcf853a318381b10'
|
||||
# SHA-256 of the hook BEFORE the ADMIN_PUBLIC_KEY placeholder is replaced.
|
||||
# The operator replaces the placeholder with the generated ghost public key
|
||||
# (scripts/README.md step 0), recomputes the SHA-256 and updates this pin.
|
||||
readonly POST_INSTALL_HOOK_SHA256='a742377acdf41020559fe77b1e4313d112338a7221a89259255bbf03bfa359e3'
|
||||
# SHA-256 of the hook AFTER the operator replaced the ADMIN_PUBLIC_KEY
|
||||
# placeholder with the generated ghost public key on 2026-11-27
|
||||
# (scripts/README.md step 0). The pre-placeholder value was
|
||||
# a742377acdf41020559fe77b1e4313d112338a7221a89259255bbf03bfa359e3.
|
||||
readonly POST_INSTALL_HOOK_SHA256='9e1db709db30f93ff918be9ee88f545243003a916d7b8c434b85e58a81014d69'
|
||||
|
||||
readonly COMMUNITY_SCRIPTS_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/${PROXMOXVE_COMMIT}"
|
||||
readonly COMMUNITY_SCRIPTS_CORE_URL="https://raw.githubusercontent.com/community-scripts/core/${CORE_COMMIT}"
|
||||
|
||||
Reference in New Issue
Block a user