m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/platform
AgeCommit message (Collapse)Author
2020-04-19platform/darwin: drop using "display" to show QR codesFilippo Valsorda
This doesn't detect if XQuartz is installed and running, so it's broken in most setups, the experience is poor regardless, since it's not displayed inline in the terminal, but leaves a window that requires closing, and anyway the the utf8 mode works perfectly on both iTerm2 and Terminal.app.
2018-08-01show: do not store binary data in bash varsJason A. Donenfeld
Instead we're forced to base64 it, like we do with the clipboard.
2018-06-14Close stdout for background task that restores clipboardAllan Odgaard
While we do not expect any output on stdout from the background task, keeping the file handle open means that anyone calling `pass` and waiting for stdout to be closed, will have to wait (by default) for 45 seconds.
2017-01-01show,generate: support qrcodesJason A. Donenfeld
2015-05-11Add openbsd platform file from David DahlbergJason A. Donenfeld
2015-05-11enhance winpath detection: gpg --help will have a line like this: Home: C:\.....Lorenz Weber
2015-05-11critcal fix for cygwin: gpg output to stdout ("gpg -o -") would have been ↵Lenz Weber
putput to a file named "-"
2015-01-28Bad code is bad.Jason A. Donenfeld
2015-01-28cygwin + gpg4win: convert paths to windows paths when calling gpg4win binary ↵Lenz Weber
instead of cygwin's gpg binary
2014-12-23darwin: Fix up order of operations.Jason A. Donenfeld
2014-09-21platform: find getopt in alternate osx locationsJamie Couture
Some users may use MacPorts instead of Homebrew. If brew fails to return a prefix for getopt, check if the user has 'port' installed and use the MacPort ${prefix} /opt/local. Avoids an issue where pass terminates because getopt cannot be resolved in the assumed location /usr/local/bin. Provide support to resolve absolute path of getopt from a MacPorts installation. Signed-off-by: Jamie Couture <jamie.couture@gmail.com>
2014-07-24clip: use CLIP_TIME in messagesJason A. Donenfeld
2014-06-30darwin: allow for gnu mktemp in pathJason A. Donenfeld
2014-06-29darwin: fix mktemp argument orderJason A. Donenfeld
2014-06-29darwin: properly ejects ramdisksJason A. Donenfeld
In the move away from extensive global variables and improved cleanup routines, we forgot to fix the darwin platform file, which means temporary ramdisks never got unmounted. This patch cleans up the general cleanup trap logic routines.
2014-04-24Turns out aliases were a bad idea.Jason A. Donenfeld
2014-04-23Use aliases instead of variables for command portability.Jason A. Donenfeld
2014-04-17platform: add cygwin supportJason A. Donenfeld
According to Brandon Jones, all we need to do is adjust /dev/clipboard from xclip. So we add a platform specific file to do so. http://www.relaytheurgency.com/2014/04/pass-in-cygwin-relatively-simple.html Suggested-by: Brandon Jones <jones.brandon.lee@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-04-16Apparantly we can't get a secure tmpdir on freebsd.Jason A. Donenfeld
2014-04-15All globals are upper-case.Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-04-15Reorganize entire programJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-04-05Fix path to /dev/nullPeter Haza
2014-03-23clip: wait longer for slow systemsJason A. Donenfeld
2014-03-22clip: suppress kill errorJason A. Donenfeld
2014-03-22clip: do not race on osxJason A. Donenfeld
2014-03-18Shred shm files.Jason A. Donenfeld
2012-09-30Explicitly use gpg2 rather than relying on symlink.Jason A. Donenfeld
2012-09-23Fix style.Jason A. Donenfeld
2012-09-23Add FreeBSD platform fileJonathan Chu
Redefine GNUPG and GETOPT for port paths Redefine tmpdir() for a different ramdisk path
2012-09-22Normalize copyright headers.Jason A. Donenfeld
2012-09-18Quote the template.Jason A. Donenfeld
2012-09-17Abstract potentially platform specific commands into their own commands.Jason A. Donenfeld