Tagged Questions
0
votes
1answer
370 views
GPG doesn't work in crontab
I have the following script:
#!/bin/sh -e
PWD="supersecretpassword"
file="/backup/2do/example.txt"
echo before
echo $PWD | gpg --passphrase-fd 0 -c $file
echo after
The scripts works perfectly fine ...
1
vote
3answers
2k views
Best PGP/GPG Encrypt/Decrypt Script
Is there are good default python or simple shell script that I can use to encrypt and decrypt files via PGP/GPG? I would be running this script every 5 minutes.