From 5b854ae9e10b92113f1731f118ee1a76a049123b Mon Sep 17 00:00:00 2001 From: Cedric Staub Date: Wed, 13 Sep 2017 11:23:42 -0700 Subject: [PATCH] Fix spelling error in comment explaining JOSE idiosyncrasies --- signing.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/signing.go b/signing.go index 029683e5..13e956d6 100644 --- a/signing.go +++ b/signing.go @@ -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 {