From 1b8ac827542f23e85a0eb399369a33fc206c72e7 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Sun, 19 Jul 2015 17:33:35 +0200 Subject: use public key instead of private key This fixes a bug where the public key was not used to verify messages. --- flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flags.go') diff --git a/flags.go b/flags.go index 29c2941..31d4e67 100644 --- a/flags.go +++ b/flags.go @@ -117,7 +117,7 @@ func InitFlags() { InitFlagOutput(CmdSignInput) // verify-input InitFlagInput(CmdVerifyInput) - InitFlagPrivateKey(CmdVerifyInput) + InitFlagPublicKey(CmdVerifyInput) InitFlagOutput(CmdVerifyInput) InitFlagSignature(CmdVerifyInput) // create-sign-request -- cgit v1.2.3-70-g09d2