You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OtherPrimesR field was being assigned the R field on CRTValues, but the RFC for that field wanted the prime factor, not the product of primes prior to this (inc p and q).
In this snippet of code there is a
TODO
that needs to be addressed.jwkset/marshal.go
Lines 305 to 331 in f4551a1
When I generate a multi-prime RSA key with the below function call:
I can see that the
private.Primes
field is a slice with a length of 5 andprivate.Precomputed.CRTValues
field is a slice with a length of 3.However, the current project does not unmarshal back into this
private.Primes
field correctly.The text was updated successfully, but these errors were encountered: