canokeys / canokey-core

Core implementations of an open-source secure key
https://canokeys.org/
Apache License 2.0
317 stars 35 forks source link

GPG import nistp256 failed on CI #14

Closed z4yx closed 4 years ago

z4yx commented 4 years ago

tests #53, Commit 83903c9

Log

sec  rsa2048/E9E05C046262F92A
     created: 2020-05-21  expires: never       usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa2048/2C43A0F96F6FE7A2
     created: 2020-05-21  expires: never       usage: SEA 
     card-no: 8086 A1B2C3D4
ssb* nistp256/E6E80D308BF54351
     created: 2020-05-21  expires: never       usage: E   
ssb  nistp256/1EFA048E57D5DCEB
     created: 2020-05-21  expires: never       usage: S   
[ultimate] (1). Someone <foo@example.com>

Please select where to store the key:
   (2) Encryption key
gpg: KEYTOCARD failed: Invalid value

APDU

[DBG] PC_to_RDR_XfrBlock(136): O: 00DB3FFF2B4D29B8007F4802921F5F481F610E5010A7E48AC6A0DB147B2583D6D2AB6414B5CB293A2DCF5CE769691E3D
[DBG] PC_to_RDR_XfrBlock(155): I: 6A80