Separate OpenPGP cards for master key and sub-keys

Peter Lebbing peter at
Wed Jun 5 14:50:26 CEST 2013

On 05/06/13 12:55, Mustrum wrote:
> The keytocard command displays the 3 slots, but none of them are listed as
> a valid choice. I've to choose from an empty list.

Ah. I hadn't noticed that. I believe the problem is that the "Key attributes"
(displayed on --card-edit) force a specific keylength and keytocard only works
for that keylength. I think I remember the solution was to create a key on
card of the desired length, and then overwrite that one with keytocard.


I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <>

More information about the Gnupg-users mailing list