gopasspw / gopass-jsonapi

Gopass Browser Bindings
MIT License
48 stars 17 forks source link

Erroneous message: Please update gopass to version 1.8.5 or newer #99

Open chubin opened 1 year ago

chubin commented 1 year ago

Summary

gopass plugin in firefox says

Please update gopass to version 1.8.5 or newer

though the newest gopass version is installed:

$ gopass version
gopass 1.15.3-git+HEAD go1.18.3 linux amd64

Steps To Reproduce

  1. install gopass
  2. install gopass-jsonapi
  3. install gopass plugin for firefox

Enviornment

go install github.com/gopasspw/gopass-jsonapi@latest

Version unknown, because neither --version, nor-v, nor version is not supported by gopass-jsonapi.

Firefox plugin, despite the message, works well.

dominikschulz commented 1 year ago

You can always use --version to print the version. But I've also added the version command for consistency.

chubin commented 1 year ago
$ gopass-jsonapi --version
Incorrect Usage: flag provided but not defined: -version

NAME:
   gopass-jsonapi - Setup and run gopass-jsonapi as native messaging hosts, e.g. for browser plugins

USAGE:
   gopass-jsonapi [global options] command [command options] [arguments...]

COMMANDS:
   configure  Setup gopass-jsonapi native messaging manifest for selected browser
   help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)
2023/01/10 20:04:30 flag provided but not defined: -version
$ gopass-jsonapi -v
Incorrect Usage: flag provided but not defined: -v

NAME:
   gopass-jsonapi - Setup and run gopass-jsonapi as native messaging hosts, e.g. for browser plugins

USAGE:
   gopass-jsonapi [global options] command [command options] [arguments...]

COMMANDS:
   configure  Setup gopass-jsonapi native messaging manifest for selected browser
   help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)
2023/01/10 20:04:43 flag provided but not defined: -v
$ gopass-jsonapi version
NAME:
   gopass-jsonapi - Setup and run gopass-jsonapi as native messaging hosts, e.g. for browser plugins

USAGE:
   gopass-jsonapi [global options] command [command options] [arguments...]

COMMANDS:
   configure  Setup gopass-jsonapi native messaging manifest for selected browser
   help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)