annotate bin/ep.sh @ 6:a6d23e7fab01
default tip
final, all sigs on multiple pages
| author |
Henry S. Thompson <ht@inf.ed.ac.uk> |
| date |
Thu, 08 Oct 2026 12:51:14 +0100 |
| parents |
2aa53823fb21 |
| children |
|
| rev |
line source |
|
0
|
1 #!/usr/bin/bash
|
|
|
2 # Export passport encrypted w/o recipient
|
|
|
3 #echo "|$WVAL|"
|
|
|
4 echo ready GPG_TTY=$GPG_TTY
|
|
|
5 gpg -u ht --batch --pinentry-mode loopback --passphrase "$WVAL" --decrypt ~/info/passwords | sponge | gpg --pinentry-mode loopback --passphrase "$WVAL" --output ~/info/passwords_$(date +%Y-%m-%d).gpg --symmetric
|
|
|
6 echo done 1
|
|
|
7 gpg -u ht --batch --pinentry-mode loopback --passphrase "$WVAL" --decrypt ~/info/password_intro.txt | sponge | gpg --pinentry-mode loopback --passphrase "$WVAL" --output ~/info/password_intro_$(date +%Y-%m-%d).txt.gpg --symmetric
|
|
|
8 echo done 2
|
|
|
9
|