From cd649bab71275e49b8c45b9de611db1ac163a7f3 Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Sun, 6 Aug 2023 21:24:54 +0200 Subject: [PATCH] Corrected sshdir function Signed-off-by: Morten Linderud --- cmd/ssh-tpm-keygen/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/ssh-tpm-keygen/main.go b/cmd/ssh-tpm-keygen/main.go index de53156..f580cb3 100644 --- a/cmd/ssh-tpm-keygen/main.go +++ b/cmd/ssh-tpm-keygen/main.go @@ -13,7 +13,6 @@ import ( "strings" "syscall" - "github.com/foxboron/ssh-tpm-agent/agent" "github.com/foxboron/ssh-tpm-agent/key" "github.com/foxboron/ssh-tpm-agent/utils" "github.com/google/go-tpm/tpm2" @@ -125,7 +124,7 @@ func main() { fmt.Printf("Generating a sealed public/private %s key pair.\n", keyType) - filename = path.Join(agent.GetSSHDir(), filename) + filename = path.Join(utils.GetSSHDir(), filename) filenameInput, err := getStdin("Enter file in which to save the key (%s): ", filename) if err != nil {