Closed luginbash closed 8 months ago
but works with primefield 384. how strange.
> SCD SETATTR KEY-ATTR --force 1 19 brainpoolP384r1
OK
> SCD SETATTR KEY-ATTR --force 3 19 brainpoolP384r1
OK
> SCD SETATTR KEY-ATTR --force 2 18 brainpoolP384r1
OK
> SCD GENKEY 1
S KEY-CREATED-AT 1536223806
S KEY-DATA q 04216224CF3E281B6EAF1E8919B368CD8CF3327B44F9504E11E23A6476B9847752BA9D97FF8BD857AE676FF5AE5
9A8EDF62B0AA60FC8644DCE93F88BD254B20D451B3DC50000000000000000000000000000000000000000000000000000000000
S KEY-DATA curve 092B240303020801010B
S KEY-FPR 510F55725ADBB047BF157701FDD3EA046C099D32
OK
> /bye
This really looks this is because of this issue: https://github.com/LedgerHQ/openpgp-card-app/issues/66
The applet is not following the standard for SETATTR KEY-ATTR, and it works when it shoudn't, so gnupg thinks this is OK, then when GENKEY, it reports a card error.
Hi, These curves are considered not supported for the moment.