Follow

I am using a @Yubico@twitter.com as an smart cart. I now want to add a new UID for this key and get an error saying "gpg: signing failed: Bad signature". How can I add a new uid onto the smartcard?

UIDs are not stored on the smartcard. Actually only subkeys are stored there. You need primary (master) key from external source to even use smartcard subkeys.

Maybe you don’t have your master key available to complete the UID adding procedure? (Master key with Certify ability can be put on a smartcard).

@wiktor Right. I have 3 subkeys on the smart card and the master key is backup somewhere save. So I need to add the uid to the master key?

Yes, that’s right. You need to add User ID where you have your private master key (offline machine?). Then export the public key and your new User ID will be there.

Internally User ID is a packet that is signed by the master key.

@wiktor alright. Thanks for the clarification 👍

Sign in to participate in the conversation
chaos.social

chaos.social - because anarchy is much more fun with friends.
chaos.social is a small Mastodon instance for and by the Chaos community surrounding the Chaos Computer Club. We provide a small community space - Be excellent to each other, and have a look at what that means around here.
Follow @ordnung for low-traffic instance-related updates.
The primary instance languages are German and English.