diff options
Diffstat (limited to 'cmd/keys.go')
-rw-r--r-- | cmd/keys.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/keys.go b/cmd/keys.go index 7456815cd7..684aca64e2 100644 --- a/cmd/keys.go +++ b/cmd/keys.go @@ -62,9 +62,12 @@ func runKeys(c *cli.Context) error { return errors.New("No key type and content provided") } + ctx, cancel := installSignals() + defer cancel() + setup("keys.log", false) - authorizedString, err := private.AuthorizedPublicKeyByContent(content) + authorizedString, err := private.AuthorizedPublicKeyByContent(ctx, content) if err != nil { return err } |