OpenPGP card specification: Data Object of 0x7f21 ("CERT-3")

NIIBE Yutaka gniibe at
Thu Dec 22 03:03:52 CET 2011

On 2011-12-21 at 13:56 +0100, Werner Koch wrote:
> For the internal driver we can switch to malloced buffers.  They were
> simply not needed with short APDUs.  We may want to keep them in the
> ccid_driver_s struct.  We could start with a short buffer and increase
> it to ~64k if we get a respective error back from the card.

I see.

For OpenPGP card, we could use the value in the extended capabilities
for max length of response data (I don't see any general scheme for
allocation of buffer).

My question is: Is it worth to do such a change just only for 7f21?  I
assume that there is no real use of 7f21.

More information about the Gnupg-devel mailing list