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
When jose.Signer receives a Sign() call, it produces a *JSONWebSignature object that only have the raw/private fields of the jose.Signature filled. The public fields such as Header, Protected and Unprotected have zero values. As they are only used when JSONWebSignature is parsed. This causes an inconsistency and misleading behavior, as one would expect that a signature created by the signer reflects the right values in the headers.
The text was updated successfully, but these errors were encountered:
When
jose.Signer
receives aSign()
call, it produces a*JSONWebSignature
object that only have the raw/private fields of thejose.Signature
filled. The public fields such asHeader
,Protected
andUnprotected
have zero values. As they are only used whenJSONWebSignature
is parsed. This causes an inconsistency and misleading behavior, as one would expect that a signature created by the signer reflects the right values in the headers.The text was updated successfully, but these errors were encountered: