From af74a398554f24904d7bf91b83b2551e86ea3496 Mon Sep 17 00:00:00 2001 From: "Jose I. Paris" Date: Wed, 11 Jun 2025 11:30:28 +0200 Subject: [PATCH] Fix bug when multiple TSAs Signed-off-by: Jose I. Paris --- app/controlplane/pkg/biz/signing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controlplane/pkg/biz/signing.go b/app/controlplane/pkg/biz/signing.go index 6c7d2cbc7..f42216e58 100644 --- a/app/controlplane/pkg/biz/signing.go +++ b/app/controlplane/pkg/biz/signing.go @@ -74,7 +74,7 @@ func parseTimestamps(config *conf.Bootstrap, logger *log.Helper) ([]*TimestampAu if issuerFound && tsa.Issuer { return nil, fmt.Errorf("duplicate timestamp issuer in tsa config") } - issuerFound = tsa.Issuer + issuerFound = issuerFound || tsa.Issuer auths = append(auths, tsa) } // set default if there's only one