This commit is contained in:
Brian Zalewski 2023-12-06 07:51:54 +00:00
parent 93d64340c1
commit 3d056b4605
2 changed files with 3 additions and 1 deletions

View file

@ -78,7 +78,7 @@ decryptKey() {
spawn age --decrypt --output "${XDG_CONFIG_HOME}/age/chezmoi.txt" "${XDG_DATA_HOME:-$HOME/.local/share}/home/key.txt.age"
expect \"Enter passphrase:\"
send \"${AGE_PASSWORD}\r\"
expect eof" > /dev/null || EXIT_CODE=$?
expect eof" &> /dev/null || EXIT_CODE=$?
if [ -n "$EXIT_CODE" ]; then
logg info 'There was an issue decrypting the key.txt.age file with the provided AGE_PASSWORD'
decryptionFailure

View file

@ -14,6 +14,7 @@ end
brew "age"
# Ensure macOS Bash gets upgraded to 5+
brew "bash"
brew "expect"
brew "gawk"
brew "git-delta"
brew "glow"
@ -21,6 +22,7 @@ brew "gnupg"
brew "go"
brew "gsed"
brew "gum"
brew "htmlq"
brew "jq"
brew "node"
brew "progress"