APDU to generate key for OpenPGP card?

Werner Koch wk at gnupg.org
Thu May 31 15:04:11 CEST 2012


On Thu, 31 May 2012 11:37, quannguyen at mbm.vn said:

> Is my APDU right? If I want to generate a key with modulus length =
> 1024, how I specify the length to make the card understand?

The OpenPGP card spec has all the details you need to know.  You can't
specify the length.  However, some cards allow to re-configure the key
size.  Checkout change_keyattr for example code.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list