From 429b4ce984ff47ddd66ca0f6d05cc9d8cdbb1e68 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 26 May 2023 02:53:52 +0100 Subject: [PATCH] secretsmgr: sign also for bare hostname --- go/secretsmgr/secretsmgr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/secretsmgr/secretsmgr.go b/go/secretsmgr/secretsmgr.go index f5983699c2..298044702a 100644 --- a/go/secretsmgr/secretsmgr.go +++ b/go/secretsmgr/secretsmgr.go @@ -58,7 +58,7 @@ func hostname() string { } func defaultPrincipals(hostname string) string { - return fmt.Sprintf("%s.as205479.net,%s.int.as205479.net", hostname, hostname) + return fmt.Sprintf("%s,%s.as205479.net,%s.int.as205479.net", hostname, hostname, hostname) } func sshHostKeyPaths(ctx context.Context) ([]string, error) {