feat(recovery): test and verify root authorized_keys preservation across container rebuilds (Fixes #218)

This commit is contained in:
operator
2026-10-10 17:05:32 +00:00
parent c305df1f72
commit 0d1b55c30c
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,15 @@
# 218-restore-root-authorized_keys-from-persistent-: Restore root authorized_keys from persistent mount
Goal: Copy /home/hatch/.ssh/authorized_keys to /root/.ssh/authorized_keys and update recover-after-rebuild.sh to preserve it.
Steps:
1. Claim task on feature branch builder/restore-root-authorized_keys-from-persistent-.
2. Implement solution adhering to test coverage.
3. Commit with "Fixes #218" and push to master/PR.
Done criteria: result notes appended below; file moved to done/.
Result notes (append below before moving to done/):
Completed 2026-10-10T17:05:28Z via box tasks done:
Verified root authorized_keys preservation, deduplication, and 0600 permissions in tests/test_recover_after_rebuild.py. Test suite 5/5 green.