#378 new
Nick Mooney

Encrypt / Sign from "Services" menu fails silently when smart card is not present

Reported by Nick Mooney | September 30th, 2016 @ 04:50 AM

I have a YubiKey 4 Nano that contains subkeys of my master key. My master secret key is kept offline and the private keys for the subkeys are only on the smartcard, not on my laptop.

When the YubiKey is NOT plugged in and I select some text in a text editor and try to sign it using the "Services -> OpenPGP: Sign Selection" menu, the text is transformed to have the "BEGIN PGP SIGNED MESSAGE" header, but no signature is present. Instead, I should receive an error that the smart card is not present.

When I try to encrypt text using "Services -> OpenPGP: Encrypt Selection", the encryption seems to happen flawlessly, except that obviously it was not encrypted with the correct secret key since the YubiKey was not plugged in. It seems that the message gets correctly encrypted with the recipient's public key, but cannot again be signed with my private key.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket