can´t encrypt and sign

Neil Williams linux at codehelp.co.uk
Wed Feb 25 07:31:13 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 25 February 2004 6:06 am, Henk de Bruijn wrote:
> Hello GNUPG-USERS,
>
> I am trying to encrypt and sign a message but I get this response.
>
> gpg: myemail at address.nl: skipped: public key already present
> gpg: XXXXXXXX: There is no indication that this key really belongs to the
> owner gpg: [stdin]: sign+encrypt failed: unusable public key

You need to set the key as trusted in GnuPG - edit the key --edit-key , and 
set the trust to ultimate if it is your key.

If it isn't your own key, you need to verify and sign the key with your 
trusted key.

> Am I doing something wrong or do I forget something?

As the error says, the key is untrusted. It would be a disaster for GnuPG to 
encrypt to a key that you haven't declared as trustworthy!

Also, if you ever expect to receive an encrypted file or message, you'll need 
to publicise your keyid, not hide it behind XXXX. So before you send any 
signed emails, please send your key to a keyserver:
gpg --keyserver sks.dnsalias.net --send-key yourkeyid


- -- 

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAPE9EiAEJSii8s+MRAi7HAJ943ZqZ0WoQWXfY6MDyI3/80y87fQCgxmlL
6D50wvGG4WIrQo7+jatRNiE=
=I9dL
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list