mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-03-22 00:41:01 +00:00
Use a fixed string for renewal token issuer.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user