Skip to content

Commit

Permalink
ADD: no-pki option to help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
go-compile committed Mar 14, 2022
1 parent af3cdaf commit 35298fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/qrsecrets/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/chzyer/readline"
)

const version = "v1.1.0"
const version = "v1.1.1"

func main() {
if err := app(); err != nil {
Expand Down Expand Up @@ -105,6 +105,7 @@ func parseArgs(args []string) (*options, []string) {
fmt.Printf(" -%-12s %s\n", "file=", "Encrypt a file instead of a string")
fmt.Printf(" -%-12s %s\n", "masterkey=", "Set masterkey via the cli")
fmt.Printf(" -%-12s %s\n", "output=", "Set where to output the result; PNG or Bin file")
fmt.Printf(" -%-12s %s\n", "no-pki", "Insecure option to not use a private key pair")
case "hash":
// Print hash and trim the prefix "Hash" from the returned string
fmt.Printf("Hash: %s\n", options.hash.String()[4:])
Expand Down

0 comments on commit 35298fd

Please sign in to comment.