gpg-zip : passphrase as parameter for scripts
l_elcocks at hotmail.co.uk
Mon Apr 4 15:08:32 CEST 2011
Take the space out between the "password" and the pipe I.E.
echo password| gpg-zip
> Date: Mon, 4 Apr 2011 03:02:08 -0700
> From: arno.steffen at googlemail.com
> To: gnupg-users at gnupg.org
> Subject: gpg-zip : passphrase as parameter for scripts
> I am using in a script, with more than one of this kind of lines:
> /usr/local/bin/gpg-zip -o /opt/u1.tar.gpg -s /opt/1*
> /usr/local/bin/gpg-zip -o /opt/u2.tar.gpg -s /opt/2*
> I have to answer every line with question for passphrase. This sucks.
> I have seen there is a parameter --gpg-args where I can pass args to gpg.
> But I don't get this working with some kind of
> echo 'passphrase' | gpg-zip --gpg-args --passphrase-fd -o ... - s
> Anybody an idea how this is working?
> Best regards
> View this message in context: http://old.nabble.com/gpg-zip-%3A-passphrase-as-parameter-for-scripts-tp31312954p31312954.html
> Sent from the GnuPG - User mailing list archive at Nabble.com.
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnupg-users