secrets migrate-vault: missing post-encrypt verification step #39
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In
bin/disinto, themigrate-vaultsubcommand (line ~2145) callsencrypt_env_fileand immediately removes the plaintext.env.vaultwithout verifying that decryption works. If encryption silently fails, the plaintext is destroyed and secrets are lost.Location
bin/disintoline ~2145:Fix
Add verification before deleting plaintext, matching the pattern already used by the
migratesubcommand (line ~2135):Affected files
bin/disinto—migrate-vaultsubcommand (~line 2145)Blocked — issue #39
ci_exhausted2026-03-28T21:38:57ZBlocked — issue #39
ci_exhausted2026-03-28T22:03:38ZBlocked — issue #39
ci_exhausted2026-03-29T07:24:33ZBlocked — issue #39
closed_externally2026-03-29T07:33:58ZBlocked — issue #39
no_push2026-03-29T07:33:58ZDiagnostic output