Latest
This commit is contained in:
parent
5924ac7701
commit
e4f8de44f9
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ decryptKey() {
|
|||
installExpect
|
||||
expect -c "set timeout -1
|
||||
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 \"Enter passphrase:\"
|
||||
send \"${AGE_PASSWORD}\r\"
|
||||
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'
|
||||
|
|
Loading…
Reference in a new issue