key length for smart card key generation

Anonymous nobody at
Wed Feb 27 22:58:27 CET 2013

On Wed, 27 Feb 2013 12:03:22 +0100
Josef Schneider <josef at> wrote:

> Hello,
> with the current version of GPG 2 you can import 4096bit keys to a
> OpenPGP smartcard version 2.0.
> There is a bug in GPG2 that prevents it from decrypting data with a
> key longer than 3072bit on a OpenPGP smartcard. This should be fixed
> in the GIT repository.
> AFAIK a version 1 card doesn't support keys longer than 1024bit! "gpg
> --card-status" should tell you which version you have.

Thanks for the information.

So I should be able to import the key...but not use it unless it is 
3072 bits or less?

I run gpg2 --card-status, and I get a lot of information, but I don't
see an entry "OpenPGP version."  What I do see is a field "Version:"
which says "11.11".

More information about the Gnupg-users mailing list