Ticket #268 (new defect)

NB! Read about ReportingBugs before filing a ticket!

Opened 19 months ago

Last modified 19 months ago

Wrong ASN1 tagging of GOSTR3401Key

Reported by: andre Owned by: opensc-devel@…
Priority: normal Milestone: 0.12.3
Component: opensc Version: trunk
Severity: critical Keywords:
Cc: Blocked By:
Blocking:

Description

The encoding of {public,private}GOSTR3410Key uses tag [CONTEXT 3] which is reserved for KEAKey. Caused by the fact, that the specifications (pkcs15,iso) don't define a encoding for GOST, the genericKey encoding [CONTEXT 4] from iso-7816 should be used.

Usage of [CONTEXT 3] by GOST will prevent an implementation of KEA in the future.

pkcs15-prkey.c pkcs15-pubkey.c

Change History

comment:1 Changed 19 months ago by andre

  • Priority changed from high to normal
  • Severity changed from normal to critical
Note: See TracTickets for help on using tickets.