Skip to content

Commit

Permalink
fixed MacTootls GPGSuite path problem in jsonapi-wrapper (#1657)
Browse files Browse the repository at this point in the history
macos-users not using homebrews gpg, but the MacTools GPGSuite won't be
able to use the gopassbridge-browser-plugin as the gopass-jsonapi cannot
locate the gpg-binary.  this fix adds the MacTools GPGSuite bin folder to
the PATH. more specific description of the issue can be found under
gopasspw/gopassbridge#151

RELEASE_NOTES=[BUGFIX] fixes gopass-jsonapi for MacTools GPGSuite users.

Signed-off-by: Stefan Geisbacher <stefan.geisbacher@gmail.com>
  • Loading branch information
sgeisbacher authored Dec 3, 2020
1 parent cfa5016 commit af9c95d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/gopass-jsonapi/internal/jsonapi/manifest/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ else
fi
export PATH="$PATH:/usr/local/bin" # required on MacOS/brew
export PATH="$PATH:/usr/local/MacGPG2/bin" # required on MacOS/GPGTools GPGSuite
export GPG_TTY="$(tty)"
{{ .Gopass }} listen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ else
fi
export PATH="$PATH:/usr/local/bin" # required on MacOS/brew
export PATH="$PATH:/usr/local/MacGPG2/bin" # required on MacOS/GPGTools GPGSuite
export GPG_TTY="$(tty)"
gopass-jsonapi listen
Expand Down

0 comments on commit af9c95d

Please sign in to comment.