smolcert / smolcert-go

Implementation of CBOR based certificates
MIT License
1 stars 0 forks source link

Generated certs dont pass C parsing // wrong CBOR data declaration #3

Closed SeriousD closed 3 years ago

SeriousD commented 3 years ago

The generated certificates doesnt match the specification. Datafields that should be arrays are stored as maps.

Possible fix: Change this ,this and this line to _interface{} `cbor:",toarray"`

dereulenspiegel commented 3 years ago

Fixed by PR #4