Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Fix spelling error in comment explaining JOSE idiosyncrasies
Browse files Browse the repository at this point in the history
  • Loading branch information
csstaub committed Sep 13, 2017
1 parent dd9db93 commit 5b854ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions signing.go
Expand Up @@ -215,9 +215,9 @@ func (ctx *genericSigner) Sign(payload []byte) (*JSONWebSignature, error) {
// We want to embed the JWK or set the kid header, but not both. Having a protected
// header that contains an embedded JWK while also simultaneously containing the kid
// header is confusing, and at least in ACME the two are considered to be mutually
// exclusive. The fact that both can exist at the same time is somewhat a somewhat
// unfortunate result of the JOSE spec. We've decided that this library will only
// include one or the other to avoid this confusion.
// exclusive. The fact that both can exist at the same time is a somewhat unfortunate
// result of the JOSE spec. We've decided that this library will only include one or
// the other to avoid this confusion.
//
// See https://github.com/square/go-jose/issues/157 for more context.
if ctx.embedJWK {
Expand Down

0 comments on commit 5b854ae

Please sign in to comment.