"Crypto Settings" tab of Contacts module in kontact will not allow one to set a PGP/GPG key to use

Bug #180640 reported by N7DR
4
Affects Status Importance Assigned to Milestone
kdepim (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: kontact

The "Crypto Settings" tab of the Contacts module in kontact contains a field labelled "Preferred OpenPGP encryption key".

However, the place to enter a key is greyed out.

In addition, pressing the "Change..." button brings up a list of installed PGP keys, but does not seem to allow one to actually select one. (The dialog mysteriously allows only to "Reread Keys" or, if one selects on key form the list, allows one to "Recheck key", whatever that is supposed to mean.)

In short, the whole thing that is supposed to allow one to assign a key to a contact looks like it's hosed.

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

Thanks for reporting this bug. Does this bug still occur in Hardy final release?
If so what version of Kubuntu, KDE, Kontact do you currently see the bug in?

I just had a look at Kontact on my machine which runs KDE 4.1.2. If I choose Contacts from the left sidebar I don' have a crypto settings tab. Is this what you are referring to or do you mean one of the dialogs accessible by going through the menus. Settings > Configure Kontact. Somewhere in there?

thanks

Changed in kdepim:
status: New → Incomplete
Revision history for this message
N7DR (doc-evans) wrote :

Running KDE 3.5.10, 64-bit hardy, kontact version 1.2.9.

One reaches the "Crypto Settings" tab from the "Edit Contact" dialogue.

The place to enter the key is no longer greyed out. So that's good.

BUT

if one tries to select a key (which is now possible), the button choices are labelled "Start Certificate Manager" and "Re-read Keys". Presumably, one is supposed to press the "Start Certificate Manager" button. But when one does so, one receives the message "Could not start certificate manager; please check your installation.".

Possibly this means that some required package is not being installed along with kdepim.

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

OK I've got it now. I'm running Intrepid with KDE4.1.2. The behaviour in KDE4 is slightly different but there is still a problem. Interestingly if I do the following:
1. Open Kontact
2. Select Contacts from the left sidebar
3. Choose a contact
4. Right click > edit contact
There is no crypto settings tab.

If I open Kaddressbook as a standalone application then perform steps 2-4 then I do get a Crypto settings tab. That might be a separate bug of it's own.

To get back to the point.
Navigate to the Crypto settings tab
The 'preferred OpenPGP encryption key' box is grey and empty. Presumably because I've never set it up.
Click 'Change' next to the 'preferred OpenPGP key' box
Dialogue appears 'OpenPGP key selection'
My PGP key is listed in the box. A pop-up box appears automatically saying 'fetching keys' with a progress bar scrolling back and forth. It continued to do that for the next 10 minutes before I hit cancel.
If I then click 'Start Certificate manager' I get the error described here 'Could not start certificate manager; please check your installation'.

Another observation. The 'Start Certificate manager' button actually has a help icon and it's tooltip on mouse over is 'show help' Not sure if that's supposed to happen or not.

On my version the 'OpenPGP key selection' dialog has 4 buttons.
From left to right:
Start certificate manager
Reread keys
OK
cancel
Hitting OK causes my key to be shown in the 'Preferred OpenPGP key' box on the contact card as expected.

kaddressbook --version
Qt: 4.4.3
KDE: 4.1.2 (KDE 4.1.2)
KAddressBook: 4.1

Changed in kdepim:
status: Incomplete → Confirmed
Revision history for this message
N7DR (doc-evans) wrote :

> On my version the 'OpenPGP key selection' dialog has 4 buttons.
From left to right:
Start certificate manager
Reread keys
OK
cancel
Hitting OK causes my key to be shown in the 'Preferred OpenPGP key' box on the contact card as expected.

----

I have those four buttons, but the "OK" is greyed out.

Seems like there's probably several bugs intertwined here (and it sounds like some of them have been fixed in KDE4, but not all of them).

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

I agree there are several issues here. This really needs some attention from someone who has a more detailed understanding of exactly how that dialog is supposed to work. I'm afraid that isn't me. The best course of action is probably to file this issue at http://bugs.kde.org. Ultimately that's where it will need to be fixed anyway and I've added as much as I can to this one. Sorry

Revision history for this message
Christoph (christop) wrote :

I would like to add that you can choose an OpenPGP key for a contact, if you have the private key.

Ubuntu 9.04
kdepim:
  Installiert: 4:4.2.2-0ubuntu1
kmail:
  Installiert: 4:4.2.2-0ubuntu1
kaddressbook:
  Installiert: 4:4.2.2-0ubuntu1

Revision history for this message
Maarten Bezemer (veger) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.

I tried (using version 4.7.3) and I seem to be able to select my OpenPGP keys (that I created for LaunchPad). Whether it actually works, I do not know as I do not sign my messages and do not really know how to do/check that.

There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect 180640 and any other logs that are relevant for this particular issue.

Changed in kdepim (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Christoph (christop) wrote :

I can not help you with this as i do not use KDE anymore.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kdepim (Ubuntu) because there has been no activity for 60 days.]

Changed in kdepim (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.