Unmarshalling with encoding/json doesn't handle duplicates #1
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Consider the following JWK:
When unmarhsalled into a struct that has the field "n", we will get
KEY_1
and not an error during the process.Is This A Security Issue?
Probably not? Public keys should be fetched over TLS, QUIC etc. and obviously intercepted secure connections and/or unreliable authorities are something this library cannot, should not and would not do. However, considering how other libraries act this is a surefire way to cough up some vulns.
So This Behavior Can Stay?
No. This is still something to be fixed as this currently makes dumb-jose accept invalid JSON.