Kmail and GnuPG

Ingo Klöcker kloecker at kde.org
Wed Jul 3 09:04:53 BST 2002


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

Conor McTernan wrote:
> On Monday 01 July 2002 20:32, cryptopia wrote:
>> On Monday 01 July 2002 06:20 am, Conor McTernan wrote:
>> > The problem seems to be occurring when I try to set up Kmail to
>> > sign or encrypt any mails for me. I understand that I should not be
>> > able to encrypt a mail unless I have the public key of the person I
>> > am mailing, and since I'm just starting out at this, I have no
>> > keys. So I've been trying to sign my mails, but the icon to sign a
>> > message is never active.
>>
>> You must choose an identity in
>> Settings > Configure KMail > Advanced (tab) > OpenPGP (select your
>> key).
>>
> 
> I have tried to do this, but it still does not work.
> 
> My GnuPG identity is specified as: "Conor McTernan
> <conor at screwthedean.nospam.com>"
> 
> So in Kmail I have created an identity called Conor McTernan
> <conor at screwthedean.nospam.com> and in this identity I have specified
> my name to be again "Conor McTernan" and my email to be
> "conor at screwthedean.nospam.com'. Once I have set this identity, I go
> into the Advanced Tab in the identity section and attempt to select an
> OpenPGP key,
> but  when the dialogue appears, there are no keys present.

Only your private keys will be shown in this dialog.

> If I execute "gpg --list-keys" I get a number of keys that I have
> added, but none of them appear in Kmail.
>
> Sorry if I'm doing something stupid here, but does anyone have any
> ideas on it?

KMail uses the following command to get a list of all public keys:
gpg --batch --list-public-keys --with-fingerprint --with-colons --fixed-list-mode --no-expensive-trust-checks

and this command to get a list of your secret keys:
gpg --batch --list-secret-keys --with-fingerprint --with-colons --fixed-list-mode

What output do you get if you run these commands from the command line?
Which version of GnuPG (gpg --version) do you use? You need at least
1.0.6, but you should install 1.0.7 because it's much faster.

Regards,
Ingo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9IrAlqUQWN/hplRsRAmwUAJ9/wQXwbJvRZZsxTaBinUVEFvfNhwCfTE/Q
lxHFg81WH7zYiOeqrdWgSjw=
=dWjM
-----END PGP SIGNATURE-----

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list