Skip to content

Commit

Permalink
docs: Use age command in onetime passphrase how-to
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Aug 29, 2023
1 parent 1fe5bed commit ce7fc43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $ cat > run_once_before_decrypt-private-key.sh.tmpl <<EOF
#!/bin/sh

if [ ! -f "${HOME}/key.txt" ]; then
age --decrypt --output "${HOME}/key.txt" "{{ .chezmoi.sourceDir }}/key.txt.age"
chezmoi age decrypt --output "${HOME}/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/key.txt.age"
chmod 600 "${HOME}/key.txt"
fi
EOF
Expand Down

0 comments on commit ce7fc43

Please sign in to comment.