Hello Mario !
"Mario Castel n Castro" <[email protected]> wrote:
> Hi, I'm doing a bash script for pack (Tar), compress (lzip or bzip2)
> and encrypt (GPG with Rijndael 128) very important files, but is
> supposed to be non interactive, shouldn't ask the user for password
> when executed, please can you tellme how I can give it from the
> command line arguments?.
Using
--passphrase-file FILE
means that the first line of FILE will be used as passphrase.
--passphrase STRING
uses STRING as the passphrase.
Additionnaly, you'll probably need all or some of the switches:
--batch
--no-tty
--yes
to suppress console interaction.
--
Laurent Jumet
KeyID: 0xCFAF704C
_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users