Skip to content

Commit e7b5e80

Browse files
committed
Added gpgconf snippet to list options
1 parent 3f8cc5f commit e7b5e80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

snippets/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ Some pieces of code I find useful for some reason.
140140
- `shred -u myfile.txt`
141141
- `gpg -ac --cipher-algo=AES256 --no-symkey-cache -o encrypted.asc <(date)`, `gpg -d --no-symkey-cache encrypted.asc`
142142
- `date | gpg -ac --batch --cipher-algo=AES256 --no-symkey-cache --passphrase-file=<(echo MyPassphrase) -o encrypted.asc`, `gpg -d --batch --no-symkey-cache --passphrase-file=<(echo MyPassphrase) encrypted.asc | sha256sum`
143+
- `gpgconf -v --list-options gpg-agent`
143144
- `echo -e 'default-cache-ttl 0\nmax-cache-ttl 0' >> ~/.gnupg/gpg-agent.conf && gpgconf --reload`
144145
- `rsync -Phavn --delete --stats ~/sourcedir/ ~/targetdir/` (trailing slashes needed!)
145146
- `exec 3<<<mypassword; restic -r my-restic-repo -p/dev/fd/3 init; exec 3<&-`

0 commit comments

Comments
 (0)