|
Size: 869
Comment:
|
Size: 1108
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| ** P23: 4.3.3.7 Private Key Template | * p23: 4.3.3.7 Private Key Template ** ECDSA: |
| Line 26: | Line 27: |
| | | | | | 91 | xx | Length of private key (scaler) d | | | | | | | 91 | xx | Length of private key d | |
| Line 28: | Line 29: |
* p38: 7.2.8 Compute Digital Signature, DSI for ECDSA 32-byte for NIST P-256 or secp256k1. * p41: 7.2.9 PSO: Decipher Decryption by ECDH. TBD. * p44: 7.2.11 Generate Asymmetric Key Pair 06 xx OID 86 xx public key MPI |
Smartcard Tips and Information
- CardReader/PinpadInput
- CardReader/GemaltoPC
- https://wiki.debian.org/GnuPG/CCID_Driver
- http://www.g10code.com/p-card.html
- http://www.gnupg.org/howtos/card-howto/en/smartcard-howto.html
Possible enhancement to OpenPGP card specification 2.0.1
- p22: 4.3.3.6 Algorithm Attributes
| Byte | Length | Value |
|---|---|---|
| 01 | 01 | Algorithm ID (RFC6637), 19 = ECDSA |
| 02- | any | OID of the curve, 2A 86 48 CE 3D 03 01 07 for NIST P-256 |
- p23: 4.3.3.7 Private Key Template
| 4D | xx | Extended Header list | ||||
| B6 or B8 or A4 | 00 | Control Reference Template to indicate the private key | ||||
| 7F48 | xx | cardholder private key template | ||||
| 91 | xx | Length of private key d | ||||
| 5F48 | xx | keydata... |
- p41: 7.2.9 PSO: Decipher Decryption by ECDH. TBD.
- p44: 7.2.11 Generate Asymmetric Key Pair 06 xx OID 86 xx public key MPI
