OpenPGP card v1 does not support digest algorithm SHA256

Stefan Xenon stefanxe at
Tue Dec 29 10:09:13 CET 2009

> You don't give your full command, but I presume you have something like
> "cert-digest-algo sha256" in your gpg.conf or on the command line.  That
> isn't doable with a v1 card.

I started generating new keys as usual: gpg2 --card-edit / admin /
generate and went through the menu with the default values. Also I did
not modify my gpg.conf manually.

I assume gpg2 uses SHA256 by default but should have an exception for
version 1 cards because they don't support the algorithm.

More information about the Gnupg-devel mailing list