haskell-tls / hs-certificate

Certificate and Key Reader/Writer in haskell
60 stars 57 forks source link

Use absent parameters in EdDSA signature algorithms #105

Closed ocheron closed 5 years ago

ocheron commented 5 years ago

Fix for the issue explained in #103.

In RFC 8410 section 3:

For all of the OIDs, the parameters MUST be absent.

So this must be done for SignatureALG.

This is a new algorithm and other implementations are strict on this, so parsing in x509 can be strict too.