Fixed encryption location
This commit is contained in:
parent
023bffc36b
commit
c10f29d0ee
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ decryptKey() {
|
||||||
else
|
else
|
||||||
installExpect
|
installExpect
|
||||||
expect -c "set timeout -1
|
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"
|
spawn age --decrypt --output "${XDG_CONFIG_HOME}/age/chezmoi.txt" "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi/home/key.txt.age"
|
||||||
expect \"Enter passphrase:\"
|
expect \"Enter passphrase:\"
|
||||||
send \"${AGE_PASSWORD}\r\"
|
send \"${AGE_PASSWORD}\r\"
|
||||||
expect eof" &> /dev/null || EXIT_CODE=$?
|
expect eof" &> /dev/null || EXIT_CODE=$?
|
||||||
|
|
Loading…
Reference in a new issue