How to give the keywork from command line.

Mario Castelán Castro mariocastelancastro at gmail.com
Sun Feb 28 16:41:13 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

February 27th 2010 in gnupg-users at gnupg.org 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 <laurent.jumet at skynet.be>:
> Hello Mario !
>
> "Mario Castel n Castro" <mariocastelancastro at gmail.com> 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
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>



More information about the Gnupg-users mailing list