File tree Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ Some pieces of code I find useful for some reason.
140
140
- ` shred -u myfile.txt `
141
141
- ` gpg -ac --cipher-algo=AES256 --no-symkey-cache -o encrypted.asc <(date) ` , ` gpg -d --no-symkey-cache encrypted.asc `
142
142
- ` 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 `
143
144
- ` echo -e 'default-cache-ttl 0\nmax-cache-ttl 0' >> ~/.gnupg/gpg-agent.conf && gpgconf --reload `
144
145
- ` rsync -Phavn --delete --stats ~/sourcedir/ ~/targetdir/ ` (trailing slashes needed!)
145
146
- ` exec 3<<<mypassword; restic -r my-restic-repo -p/dev/fd/3 init; exec 3<&- `
You can’t perform that action at this time.
0 commit comments