From bc81ab84cb4a4d4a01ac35d2b6c464cf9d0805fe Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sat, 3 Dec 2022 11:44:39 +0100 Subject: [PATCH] Strip unnecessary prefix of ca names --- cmd/signer/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/signer/main.go b/cmd/signer/main.go index 68943f1..3c19600 100644 --- a/cmd/signer/main.go +++ b/cmd/signer/main.go @@ -156,14 +156,14 @@ func configureRepositories( result := make(map[string]*revoking.X509Revoking) for _, name := range caConfig.RootCAs() { - result[fmt.Sprintf("root-%s", name)], err = buildX509Revoking(caConfig, name, logger) + result[name], err = buildX509Revoking(caConfig, name, logger) if err != nil { return nil, err } } for _, name := range caConfig.SubordinateCAs() { - result[fmt.Sprintf("sub-%s", name)], err = buildX509Revoking(caConfig, name, logger) + result[name], err = buildX509Revoking(caConfig, name, logger) if err != nil { return nil, err }