-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 February 27th 2010 in [email protected] thread "Hot to give the keyword from the command line"
Thanks Laurent, it works :). -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREIAAYFAkuKjnwACgkQZ4DA0TLic4gvbACeI6iz3fXlywEgkFDFsCelyCT5 IVwAn2l44dnfM0URtyYmP+dpVSWFN4Ad =o3X7 -----END PGP SIGNATURE----- 2010/2/28 Laurent Jumet <[email protected]>: > 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 > _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
