File tree Expand file tree Collapse file tree
content/en/docs/reference/access-authn-authz Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,9 +174,10 @@ The signature is a JWS signature using the "detached" mode. To validate the
174174signature, the user should encode the ` kubeconfig ` payload according to JWS
175175rules (base64 encoded while discarding any trailing ` = ` ). That encoded payload
176176is then used to form a whole JWS by inserting it between the 2 dots. You can
177- verify the JWS using the ` HS256 ` scheme (HMAC-SHA256) with the full token (e.g.
178- ` 07401b.f395accd246ae52d ` ) as the shared secret. Users _ must_ verify that HS256
179- is used.
177+ verify the JWS using the ` HS256 ` scheme (HMAC-SHA256) with the token secret part
178+ (e.g. ` f395accd246ae52d ` ) as the shared secret. Users _ must_ verify that HS256
179+ is used. You might have to pad the secret with zeroes to the right for some
180+ validation tools to accept it given it is only 16 bytes.
180181
181182{{< warning >}}
182183Any party with a bootstrapping token can create a valid signature for that
You can’t perform that action at this time.
0 commit comments