Phibee Network Operation Center wrote:
> 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
>>
> 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

Try signing his key with a local signature:

    gpg --edit-key Stefan lsign

or adding the --always-trust option to the command-line

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

I think a local sig is the better option.

-- 
John P. Clizbe                   Inet:   JPClizbe (a) tx DAWT rr DAHT con
Ginger Bear Networks             hkp://keyserver.gingerbear.net
"Be who you are and say what you feel because those who mind don't matter
and those who matter don't mind." - Dr Seuss, "Oh the Places You'll Go"

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to