APDU to do decipher in OpenPGP card?

Martin Paljak martin at martinpaljak.net
Wed Jul 18 08:25:02 CEST 2012


On Wed, Jul 18, 2012 at 6:23 AM, Quan Nguyen <quannguyen at mbm.vn> wrote:
> When doing DECIPHER, how the card know which key to be used if the
> card contains more than 1 key with the same modulus length (currently
> my card contains 2 keys of the same 2048-bit length)?

Only one key is meant for decryption. If you have a certificate
generated against the authentication key (for use in SSL) then you
must have the same key for decryption private key as well.

Martin



More information about the Gnupg-devel mailing list