Problem with Kleopatra and keys in Yubikey NEO

Hi,

I want to decrypt and sign email and use my NEO for SSH logons. I’ve mostly used the tutorial @https://github.com/drduh/YubiKey-Guide. Actions and results:

  • Created key material on an airgapped PC.
  • Keys:
    • Master key on secure offline media.
    • Encryption key on NEO.
    • Signing key on NEO.
    • Authentication key on NEO.
  • SSH:
    • Configured SSH on Ubuntu.
    • Installed Kleopatra and GPG agent on Windows 10.
    • Logons to Ubuntu with PuTTY and NEO work: success!
  • Mail GPG (Windows 10):
    • gpg --import publickey.asc: success.
    • gpg --card-status etc.: success.
    • gpg encryptedmessage.asc: success. So the NEO is used for decryption.

In short: the setup seems to work perfectly fine.

However I’ve got a problem: I cannot get Kleopatra to work with the NEO setup. What I’ve tried - similar to above but in Kleopatra:

  • Import publickey.asc (same file as above): “Total number of processed:1, Imported: 0”.
  • Decrypt encryptedmessage.asc (same file as above): “Verification failed: general error”.

Question: how can I get Kleopatra to work with my NEO?

Thanks,

Jeroen

Hi,

There have been several reports of Kleopatra not properly handing such a setup (where the primary key is not available). We will have to look into this.

For now I can only suggest to use the command line, or to try with GPA.

Sorry, I’ll try to let you know if something is fixed there.

Andre

Beta versions of GPA with GPG Modern don’t work at all in Windows 10.
Immediate crash when trying to access the keyring.

Beta versions of GPA with GPG Modern don’t work at all in Windows 10.
Immediate crash when trying to access the keyring.

Woops, thanks for letting us know. Indeed there was a bug triggered by a library update that was only fixed in a more recent version of gpa from november. I’ve updated GPA and it no longer crashes.

Will release an updated beta, soon.

Regards,
Andre