I am consuming a token generated by a third party as part of an application and am running into an issue where this FromJSON instance is failing. The field it is trying to decode is longer than 20 and running afoul of this instance.
Is that field a mandatory length of 20, if so is it mentioned in the RFC somewhere?
Any context would be appreciated, I'm not fully across the RFCs for this.
I am consuming a token generated by a third party as part of an application and am running into an issue where this
FromJSON
instance is failing. The field it is trying to decode is longer than20
and running afoul of this instance.https://github.com/frasertweedale/hs-jose/blob/master/src/Crypto/JOSE/Types.hs#L168-L172
The field is
_jwkX5t
in the JWK data type here https://github.com/frasertweedale/hs-jose/blob/18865d7af9d3b16d737f38579643399cf4facc1b/src/Crypto/JOSE/JWK.hs#L157-L169Is that field a mandatory length of 20, if so is it mentioned in the RFC somewhere? Any context would be appreciated, I'm not fully across the RFCs for this.