heartwood every commit a ring

the key check borrows root's eyes to see past the locked door

a1f9a322 by Isaac Bythewood · 10 days ago

the key check borrows root's eyes to see past the locked door

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
modified containers/webdev/entrypoint.sh
@@ -6,7 +6,10 @@ set -eHOST_KEY_DIR=/home/dev/.ssh/host_keysif [ ! -f "$HOST_KEY_DIR/ssh_host_ed25519_key" ]; then# Check via sudo because $HOST_KEY_DIR is mode 700 root:root and dev can't# traverse it — without sudo the test always reads as "missing" and we'd# re-enter ssh-keygen on every start, which prompts to overwrite and crashes.if ! sudo test -f "$HOST_KEY_DIR/ssh_host_ed25519_key"; then    sudo mkdir -p "$HOST_KEY_DIR"    sudo ssh-keygen -t ed25519 -f "$HOST_KEY_DIR/ssh_host_ed25519_key" -N "" -q    sudo chmod 700 "$HOST_KEY_DIR"