gopass-jsonapi icon indicating copy to clipboard operation
gopass-jsonapi copied to clipboard

Erroneous message: Please update gopass to version 1.8.5 or newer

Open chubin opened this issue 2 years ago • 2 comments

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

  • OS: Ubuntu 22.04
  • OS version: Linux b80 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • gopass-jsonapi Version: unknown, was installed with:
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.

chubin avatar Jan 09 '23 17:01 chubin

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

dominikschulz avatar Jan 09 '23 20:01 dominikschulz

$ 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)

chubin avatar Jan 10 '23 19:01 chubin