sign a public key ?

Phibee Network Operation Center noc at phibee.net
Wed Apr 2 06:30:43 CEST 2008


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 :

[root at gw 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 :=<






More information about the Gnupg-users mailing list