On Thu, 23 Jul 2015 19:11, [email protected] said: > This is a snippet of the script I use to decrypt any file coming to me that > has my private key (or my companies private key) > > $DFLT gpg_pass2 \ > | gpg --homedir $homedir --quiet --passphrase-fd 0 --no-tty --skip-verify \ > --no-permission-warning --no-mdc-warning --batch \ > --output "$oname" --decrypt "$x" > /dev/null 2>&1
If you receive arbitrary data you may want to add --max-output SUITABLELARGENUMBEROFBYTES to avoid a DoS using special crafted compression data. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
