We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get any hooks to fire.
gopass setup
~/.config/gopass/config
core.post-hook: /full/path/to/script.sh
gopass show
When the config specifies a script for a particular function, that script should run every time that function runs.
Tried variants of the key/hook and property such as:
core.post-hook: /full/path/to/script.sh core.post-hook: bash /full/path/to/script.sh core.post-hook: <command> show.post-hook: ...
core.post-hook: bash /full/path/to/script.sh
core.post-hook: <command>
show.post-hook: ...
Also tried:
https://github.com/gopasspw/gopass/blob/master/docs/config.md#configuration-precedence
I know config file was being read because:
GOPASS_DEBUG=true
core.cliptimeout = 30
The text was updated successfully, but these errors were encountered:
Yes, that was me: https://github.com/gopasspw/gopass/blob/master/internal/hook/hook.go#L37
I have disable global hooks since I wasn't sure about potential attack vectors.
Sorry, something went wrong.
No branches or pull requests
Summary
Cannot get any hooks to fire.
Steps To Reproduce
gopass setup
.~/.config/gopass/config
, such ascore.post-hook: /full/path/to/script.sh
gopass show
...the command works but the specified script is never run.Expected behavior
When the config specifies a script for a particular function, that script should run every time that function runs.
Environment
Additional context
Tried variants of the key/hook and property such as:
core.post-hook: /full/path/to/script.sh
core.post-hook: bash /full/path/to/script.sh
core.post-hook: <command>
show.post-hook: ...
Also tried:
https://github.com/gopasspw/gopass/blob/master/docs/config.md#configuration-precedence
)I know config file was being read because:
GOPASS_DEBUG=true
core.cliptimeout = 30
)The text was updated successfully, but these errors were encountered: