Commit graph

4 commits

Author SHA1 Message Date
Daniel Mach
b327996cf5 pass: Use pass executable path from _get_pass_exec() 2022-09-27 13:57:51 -06:00
Daniel Mach
4813a9f533 pass: Do not modify $HOME env globally
Just set $HOME for calling the pass binary
to avoid affecting anything outside the pass renderer.
2022-09-27 13:57:51 -06:00
Daniel Mach
8270d639c7 pass: Strip only trailing newline characters from the secret 2022-09-27 13:57:51 -06:00
Daniel Mach
50975d10bd pass: Use a secure way of handling pass arguments
The original code would fail on pass paths with spaces,
because they would be split into multiple arguments.
2022-09-27 13:57:51 -06:00