Compare commits
No commits in common. "98a71f9192d369f7da84aa739b2f7ccbdbf660e9" and "d231d21a8c36f1eb1078038539c58bb69fd4d684" have entirely different histories.
98a71f9192
...
d231d21a8c
1 changed files with 0 additions and 6 deletions
|
|
@ -2119,12 +2119,6 @@ disinto_secrets() {
|
|||
fi
|
||||
_secrets_ensure_sops
|
||||
encrypt_env_file "$env_file" "$enc_file"
|
||||
# Verify decryption works
|
||||
if ! sops -d "$enc_file" >/dev/null 2>&1; then
|
||||
echo "Error: failed to verify .env.enc decryption" >&2
|
||||
rm -f "$enc_file"
|
||||
exit 1
|
||||
fi
|
||||
rm -f "$env_file"
|
||||
echo "Migrated: .env -> .env.enc (plaintext removed)"
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue