You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"go get" installation does not handle version and produces binary incompatible with gopassbridge (version mismatch).
Steps To Reproduce
go get github.com/gopasspw/gopass-jsonapi
The first problem is this error complaining about uninitialized gopass store.
If possible it shouldn't be necessary to have an initialized store to run "help", "version" or "configure".
Failed to initialize gopass API: store not initialized. run gopass init first
Second error only happens when using "go get" for to compile the binary:
$ ./gopass-jsonapi --version
Incorrect Usage. flag provided but not defined: -version
Expected behavior
Following command completes successfully and outputs the latest released version of gopass-jsonapi:
docker run --rm golang bash -c 'go get github.com/gopasspw/gopass-jsonapi && ./bin/gopass-jsonapi --version'
Environment
OS: checked with Docker on Mac, probably independent of OS
OS version: Linux ef82b619761e 4.19.121-linuxkit jsonapi to support edit #1 SMP Tue Dec 1 17:50:32 UTC 2020 x86_64 GNU/Linux
gopass-jsonapi Version: gopass-jsonapi version 1.11.1
I've update the post-release helper in gopasspw/gopass to also write a version.go into the integrations. This should be automatically fixed with the next release.
Summary
"go get" installation does not handle version and produces binary incompatible with gopassbridge (version mismatch).
Steps To Reproduce
The first problem is this error complaining about uninitialized gopass store.
If possible it shouldn't be necessary to have an initialized store to run "help", "version" or "configure".
Second error only happens when using "go get" for to compile the binary:
Expected behavior
Following command completes successfully and outputs the latest released version of gopass-jsonapi:
Environment
Additional context
see discussion from gopasspw/gopassbridge#171 (comment)
The text was updated successfully, but these errors were encountered: