can´t encrypt and sign
linux at codehelp.co.uk
Wed Feb 25 07:31:13 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
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
> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Gnupg-users