John Clizbe a écrit :
Phibee Network Operation Center wrote:
Hi

i use this for crypt a tar archives:

/usr/bin/gpg --recipient Stefan --encrypt /tmp/backup.tgz


can i write for all time a "Y" or what is the exact process ?

/usr/bin/gpg --batch --yes --recipient Stefan --encrypt /tmp/backup.tgz



From the man page:

       --batch

       --no-batch
                 Use  batch  mode.   Never  ask, do not allow interactive com-
                 mands.  --no-batch disables this option.

       --yes     Assume "yes" on most questions.

       --no      Assume "no" on most questions.





Thanks for your answer, but i have read the man and tested this solution ...

i have a :

[EMAIL PROTECTED] tmp]# /usr/bin/gpg --batch --yes --recipient Stefan --encrypt /tmp/backup.tgz
gpg: DCC8B9Z4: Rien ne dit que la clé appartient vraiment à l'utilisateur
nommé.
gpg: /tmp/backup.tgz: encryption failed: clé publique inutilisable



Failed :=<




_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to