From 4e4d4e882ffc9053112a2cc83b3799e6ad0cc7da Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Wed, 13 Apr 2022 14:50:06 -0700 Subject: [PATCH] Use a fixed string for renewal token issuer. --- authority/authorize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/authorize.go b/authority/authorize.go index 7121c55f..b0a1fab4 100644 --- a/authority/authorize.go +++ b/authority/authorize.go @@ -399,7 +399,7 @@ func (a *Authority) AuthorizeRenewToken(ctx context.Context, ott string) (*x509. } if err := claims.ValidateWithLeeway(jose.Expected{ - Issuer: p.GetName(), + Issuer: "step-ca-client/1.0", Subject: leaf.Subject.CommonName, Time: time.Now().UTC(), }, time.Minute); err != nil {