kty parameter missing in FromJSON/ ToJSON instances
Closed this issue · 3 comments
marijanp commented
According to https://www.rfc-editor.org/rfc/rfc7517#section-4.1 this is a mandatory parameter
frasertweedale commented
@marijanp can you please elaborate? You closed the issue already - was it a mistake?
marijanp commented
It was a mistake, I overlooked the code which called the KeyMaterial
instance. Whoever might be interested here is the instance implementation https://hackage.haskell.org/package/jose-0.10/docs/src/Crypto.JOSE.JWA.JWK.html#line-558
frasertweedale commented
@marijanp thank you for the clarification.