Skip to content

Commit 81cd57f

Browse files
author
Théo Crevon
committed
Merge pull request #68 from fdv/master
Fix a bug where the key is always empty when set a key.
2 parents cf3efae + 8904109 commit 81cd57f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

trousseau/actions.go

+2
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,8 @@ func SetAction(c *cli.Context) {
322322
log.Fatal("Incorrect number of arguments to 'set' command")
323323
}
324324

325+
key = c.Args()[0]
326+
325327
opts := &crypto.Options{
326328
Algorithm: crypto.GPG_ENCRYPTION,
327329
Passphrase: gPasshphrase,

0 commit comments

Comments
 (0)