Skip to content

Commit

Permalink
Corrected sshdir function
Browse files Browse the repository at this point in the history
Signed-off-by: Morten Linderud <morten@linderud.pw>
  • Loading branch information
Foxboron committed Aug 6, 2023
1 parent 1c987ce commit cd649ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/ssh-tpm-keygen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit cd649ba

Please sign in to comment.