Skip to content

Commit

Permalink
one more doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Mar 7, 2024
1 parent 3835a9e commit d606c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jws/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func WithKey(alg jwa.KeyAlgorithm, key interface{}, options ...WithKeySuboption)
// specified by the caller.
//
// To work with keys/JWS messages not having a `kid` field, you may specify
// the suboption `WithKeySetRequired` via `jws.WithKey(key, jws.WithKeySetRequireKid(false))`.
// the suboption `WithKeySetRequired` via `jws.WithKey(key, jws.WithRequireKid(false))`.
// This will allow the library to proceed without having to match the `kid` field.
//
// However, it will still check if the `alg` fields in the JWS message and the key(s)
Expand Down

0 comments on commit d606c95

Please sign in to comment.