aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9b9ab0a..3235d1e 100644
--- a/main.go
+++ b/main.go
@@ -74,7 +74,7 @@ func sign_input(cmd *Command, args []string) {
// verify a message using a signature and a public key
func verify_input(cmd *Command, args []string) {
- err := checkFlags(checkPrivateKey, checkInput, checkOutput, checkSignature)
+ err := checkFlags(checkPublicKey, checkInput, checkOutput, checkSignature)
if err != nil {
crash_with_help(cmd, ErrorFlagInput, "Flags invalid: %s", err)
}