Bug 344368 - Certificates already present cannot be imported from keyserver. There is no problem on command line.
Summary: Certificates already present cannot be imported from keyserver. There is no p...
Status: RESOLVED DUPLICATE of bug 336916
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.2.0
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-19 23:16 UTC by Philipp Verpoort
Modified: 2015-06-20 19:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Verpoort 2015-02-19 23:16:20 UTC
Let a certificate already be present on my local machine, because I received some information on it via a PGP-signed email (you can easily do this by clicking in KMail on Show Details in the signed email and then click on the finger print that is displayed).

Now, try to import the key using the Kleopatra UI. Message:

"Certificate Import Result - Kleopatra [window title]

Detailed results of importing OpenPGP Certificate Server:
Total number processed: 0
Imported: 0"

(BTW: If somebody is going to fix this, there should be added an additional "from" in that sentence above.)

Running the whole thing in cmd line, everything looks good:

"user@kubuntu:~$ gpg2 --search-keys 0x1234567890ABCDEF
gpg: searching for "0x1234567890ABCDEF" from hkps server hkps.pool.sks-keyservers.net
(1)     John Doe <john.doe@doe.com>
         ...
          2048 bit RSA key 90ABCDEF, created: 2015-01-01, expires: 2017-01-01
Keys 1-1 of 1 for "0x1234567890ABCDEF".  Enter number(s), N)ext, or Q)uit > 1
gpg: requesting key 09ABCDEF from hkps server hkps.pool.sks-keyservers.net
gpg: key 09ABCDEF: public key "John Doe <john.doe@doe.com>" imported
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   1  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 1f, 0u
gpg: next trustdb check due at 2015-12-21
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)"

It seems to be an internal problem of Kleopatra. Running the same thing with gpg (not gpg2) does the same.

Reproducible: Always

Steps to Reproduce:
1. Have a certificate on your local machine.
2. Search for certificate on keyservers.
3. Import (update) certificate from keyserver.

Actual Results:  
Total number processed: 0
Imported: 0

Expected Results:  
Total number processed: x
Imported: y

With x,y > 0 depending on the number and status of imported certificates.
Comment 1 Philipp Verpoort 2015-03-17 11:41:50 UTC

*** This bug has been marked as a duplicate of bug 336916 ***
Comment 2 Jonathan Joseph Chiarella 2015-05-12 14:47:49 UTC
I searched "num" instead of numeric pad and didnt find the other bug but I would like to say that the thing is that the other num keys all work for me. In case people thought this was "fixed" I wanted to point out that one of the keys still doesn't work. In any case, I gather that this is something to do with qt upstream? I get ALL numkeys working in all other kf5 and qt5 apps I have tried.
Comment 3 Philipp Verpoort 2015-06-20 15:34:09 UTC
Jonathan, I'm afraid, but I have no idea of what you are talking about. Can you explain this to me in more detail?
Comment 4 Jonathan Joseph Chiarella 2015-06-20 17:25:48 UTC
I have no idea how my comment got in here. I wrote the exact comment under a bug report kcalc. I have no idea what kleopatra even is.

I am really at a loss for how this happened. I didn't upload this.
Comment 5 Philipp Verpoort 2015-06-20 19:42:01 UTC
That's what I presumed, because it really doesn't make any sense in that context.

Never mind then.