m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/password-store.sh
AgeCommit message (Collapse)Author
2014-03-22Version bump ahead of release.Jason A. Donenfeld
2014-03-22clip: suppress kill errorJason A. Donenfeld
2014-03-22clip: use pkill instead of procJason A. Donenfeld
2014-03-20Prefer bash parameter expansion over basename(1)Tom Vincent
2014-03-20Fix argument order for mktempjbeta
mktemp expects all options before a template. This prevented the temporary file for "pass edit" mode from being created in /dev/shm.
2014-03-20Configurable clipboard time.Jason A. Donenfeld
2014-03-20Allow selection to be overriden by $SELECTIONJason A. Donenfeld
Some users want to use a different clipboard for pass. Suggested-by: nand <nand@nand.wakku.to>
2014-03-20git: sign commits if enabledJason A. Donenfeld
2014-03-20clip: don't race between pass instances in restoreJason A. Donenfeld
We now make sure a previous pass clip restore finishes immediately when copying another password to the clipboard. This is currently only implemented on Linux.
2014-03-20Style.Jason A. Donenfeld
2014-03-19Simplify exports.Jason A. Donenfeld
2014-03-19Copyright noticeJason A. Donenfeld
2014-03-19Team pass: enable multiple keys and per directoryJason A. Donenfeld
The .gpg-id file may now have multiple keys in it, one per line. If a .gpg-id file exists inside a subdirectory, passwords inside that directory are encrypted to that/those ids. The init command has learned a -p/--path option for writing such a sub directory .gpg-id and now can take several arguments for ids.
2014-03-18Shred shm files.Jason A. Donenfeld
2014-03-18Do not compress passwords.Jason A. Donenfeld
According to a forthcoming paper by Alfredo Pironti, OpenPGP compression can reveal entropy levels. We thus disable compression. Existing password stores can be reencrypted without compression using the "--reencrypt" flag for "init". Reported-by: Alfredo Pironti <alfredo.pironti@inria.fr> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2013-09-14Use a glob in the pattern match instead of using two comparisons for [yY].Chris Down
2013-09-14Rephrase awkward/confusing message about enabling echo during password entry.Chris Down
2013-09-14Fix directory traversal for reencryption when $PREFIX is a symlinkBrian Shore
2013-05-22check if a passfile exists before checking for directoryBrian Mattern
2013-04-04Simplify sed to not use replacement.Jason A. Donenfeld
2013-02-23Tree should follow symlinks.Marvin Killing
Make show/ls/list follow links by passing -l to tree.
2012-10-18Bump version.Jason A. Donenfeld
2012-10-17Do not interpret backslashes when reading passwordsguns
The `read` builtin accepts backslash notation for common non-printing characters by default, like `\t` and `\n`. This requires that any literal backslashes must also be escaped as `\\`. Given that `gpg -e` does not interpret input, the `read` invocations are changed to do the same. Also, the right hand side of an `==` comparison within `[[ ]]` must be quoted in order to suppress pattern metacharacter expansion. Quoting the bash manual: When the == and != operators are used, the string to the right of the operator is considered a pattern and matched according to the rules described below under Pattern Matching.
2012-10-09Restore exclusivity of options in multiline/echo check.Jason A. Donenfeld
2012-10-05Trim trailing slash in tree display.Jason A. Donenfeld
2012-10-03Make --no-echo default, and rename to --echo.Jason A. Donenfeld
Reported-by: Paul Wise <pabs@debian.org>
2012-09-30Check error code of gpg before copying to clipboard.Jason A. Donenfeld
2012-09-30Explicitly use gpg2 rather than relying on symlink.Jason A. Donenfeld
2012-09-24Style fixes.Jason A. Donenfeld
2012-09-22Normalize negation and bashism.Jason A. Donenfeld
2012-09-22Fix directory removal.Jason A. Donenfeld
2012-09-22Add man page comment to usage message.Jason A. Donenfeld
2012-09-22Bump version to 1.4.Jason A. Donenfeld
2012-09-22Normalize copyright headers.Jason A. Donenfeld
2012-09-22Allow git repo to be elsewhere via env var.Jason A. Donenfeld
2012-09-21Add support for PASSWORD_STORE_KEY env var.Jason A. Donenfeld
2012-09-21Add option to init to reencrypt all passwords.Jason A. Donenfeld
Reported-by: Simon KP <si@eskp.net>
2012-09-20Quit if pwgen returns nothing.Jason A. Donenfeld
Reported-by: Brian Mattern <rephorm@rephorm.com>
2012-09-20Prompt before overwriting password in generate, unless --force is provided.Jason A. Donenfeld
2012-09-19Make qdbus ugliness more segmented.Jason A. Donenfeld
2012-09-19Since we're using batch mode, we can read directly.Jason A. Donenfeld
2012-09-19Clean up git handling.Jason A. Donenfeld
Get rid of push/pull shortcuts, as they weren't widely used. Add contents to repo on git init. Centralize git add logic, and make it less error prone.
2012-09-19Fix git regression.Jason A. Donenfeld
2012-09-18Quote the program name.Jason A. Donenfeld
2012-09-17Abstract potentially platform specific commands into their own commands.Jason A. Donenfeld
2012-09-16Support recursive and forced removal.Jason A. Donenfeld
Laurent asked for this. Reported-by: Laurent Ghigonis <laurent@p1sec.com>
2012-09-16Small stylistic things.Jason A. Donenfeld
Reported-by: Laurent Ghigonis <laurent@p1sec.com>
2012-09-14Bump to 1.3.1.Jason A. Donenfeld
2012-09-13Typo.Jason A. Donenfeld
2012-09-13Bump version.Jason A. Donenfeld