feat(recovery): test and verify root authorized_keys preservation across container rebuilds (Fixes #218)
This commit is contained in:
+15
@@ -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.
|
||||
Reference in New Issue
Block a user