Bug 52021 - gpg: skipped: unusable public key
Summary: gpg: skipped: unusable public key
Status: CLOSED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: 1.4.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-17 13:42 UTC by J
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J 2002-12-17 13:42:07 UTC
Version:           1.4.3 (using KDE KDE 3.0.4)
Installed from:    SuSE RPMs
OS:          Linux

He,
when using gpg, sign mails works perfect, and encryption worked with kde for SuSe 8.0 correct, too. But now with SuSE 8.1 i got the following error message when trying to encrypt a message with a fully trustet gpg key:

gpg:warning:using unsecure memory
gpg:please see www.gnupg.org/faq.html for more details
gpg:<keyid>:skipped:unusable public key
gpg:[stdin]:sign and encrypt fails: unusable public key

encryption fails even if there is no signing expected.

btw, is there no possibility to mark and copy error messages like this in kde?

thx for a great work using gpg in kmail!

regards, joerg maier
Comment 1 J 2002-12-17 13:44:46 UTC
using gpg from bash interface works proper with these keys! updated gpg to
version 1.2.1, but that made no changes to error messages. didnt find any
updates for kdenetwork.
 
Comment 2 Ingo Klöcker 2002-12-17 15:28:47 UTC
Did you mark your own key as ultimately trusted? Since GnuPG 1.0.7 this is necessary. 
Comment 3 J 2002-12-17 16:19:01 UTC
yes, even my key is marked as ultimately trusted. reason for the error message 
seems to be the public key used for encryption. i tried several public keys 
like gpg and pgp keys. 
 
thanx, joerg maier 
Comment 4 J 2003-01-01 20:47:59 UTC
Sorry for sending this bug, it is no bug! My own secret key was expired. i 
created a new and now it works. strange is that in command-line-interface of 
gpg, it worked even with expired secrets. the error message is strange, too, 
because in my op, it was the secret key who preserved kmail to ecrypt 
messages... 
Comment 5 Ingo Klöcker 2003-01-02 15:58:45 UTC
Subject: Re:  gpg: skipped: unusable public key

Thanks for the update. As it wasn't a bug in KMail I close the report.

Comment 6 J 2003-01-02 16:31:26 UTC
The only Bug ist the misleading error Message! Shouldnt it say my Private key 
is expired? And why it is possible to sign messages with a expired key and it 
is not possible to encrypt a message when the key for encryption is ok? 
 
Comment 7 Ingo Klöcker 2003-01-02 18:26:49 UTC
Subject: Re:  gpg: skipped: unusable public key

On Thursday 02 January 2003 16:31, J