Relying on gpg exit code 0?

Adam Funk adam00f at ducksburg.com
Wed Jul 6 14:14:04 CEST 2005


Should I be confident about using gpg's return code 0 in a script (run 
automatically by at or cron) to make encrypted backups?  Example:

cd /backup/directory
tar cf user1.tar /home/user1
gpg -er 0x01234567 user1.tar && rm user1.tar

Thanks,
Adam



More information about the Gnupg-users mailing list