summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* show: better clip error messageJason A. Donenfeld2016-02-051-3/+3
|
* show: allow selecting which clip lineJason A. Donenfeld2016-02-052-9/+10
|
* generate: have a default length of 25Jason A. Donenfeld2016-02-052-6/+12
| | | | | | | | | | | | | Folks are lazy and don't want to type very much, so they'd like to have a default password length to generate that can be configured via environment variables per usual. I'm making the default 25. If the user forbids the use of symbols, pwgen will use a-zA-Z0-9, ensuring that at least one A-Z and at least one 0-9 is used. We want to have a password of at least 128-bits, so factoring in the issue with "at least one of this character type", 25 gets us there squarely. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add importer for Password Exporter for FirefoxDaniele Pizzolli2016-02-051-0/+181
| | | | | | | | | | | To assist the migration from the default Firefox password store to passff. Add also some basic tests. More info at: - <https://addons.mozilla.org/en-US/firefox/addon/password-exporter> - <https://addons.mozilla.org/en-US/firefox/addon/passff>
* passmenu: don't use awkJason A. Donenfeld2016-02-051-2/+1
| | | | | | | | Prof. Aho always seemed neat, but parsing a script inside a script for the simple purpose of removing the trailing new line seems a bit absurd. So, instead use two processes! One for getting the first line and one for removing the trailing line. Everybody loves more calls to fork(), right?
* keepass2pass.py: Don't import all entries twiceMartin Günther2016-02-051-7/+4
| | | | | | | | | Without this patch, all entries are processed twice: once in the first call to import_group (which recursively processes all entries), then in the following import_group on all subgroups. This leads to spurious warnings ("Duplicate needs merging") and extra text added to each entry.
* Fix up moving ambiguity tooJason A. Donenfeld2016-02-051-5/+6
|
* Insert and edit work on files, so don't let the arguments be directoriesJason A. Donenfeld2016-02-051-2/+2
|
* Handle removal of directories and passwords with the same nameJason A. Donenfeld2016-02-051-5/+4
|
* emacs: Add defvar for timeout timerPeter Vasil2015-10-271-1/+8
| | | | | Use a defvar for the timeout timer in order to have better control and not starting multiple timers when calling password-store-copy.
* lastpass2pass.rb: Check for nil names/groupingsBrian Tomlinson2015-10-201-3/+3
| | | | | In particular, people were encountering exceptions when `empty?` was called on a `nil` grouping.
* emacs: Guard against "%" in message stringSvend Sorensen2015-09-301-5/+5
| | | | | | | | | | | The output of pass may contain "%", which will cause `message` to throw the error: "Not enough arguments for format string". For example, `pass rename foo bar` outputs: [master c33f7a9] Rename foo to bar. 1 file changed, 0 insertions(+), 0 deletions(-) rename foo.gpg => bar.gpg (100%)
* passmenu: Space to tabsChris Down2015-07-241-2/+2
| | | | It seems this file doesn't use spaces any more.
* passmenu: Only pass first line to xdotoolChris Down2015-07-241-1/+3
| | | | | In 87ec1489fa98, I forgot that some people like to store more than one line in their password files. We should only pass the first line to xdotool.
* passmenu: Read from stdin when using xdotool to type passwordChris Down2015-07-241-1/+1
| | | | | | | This works around a bug in xdotool parsing when encountering quotes, see https://github.com/jordansissel/xdotool/issues/72. Thanks to Gerd Wachsmuth for the report.
* emacs: Make `password-store-password-length' customizableNicolas Petton2015-05-261-3/+10
|
* Add openbsd platform file from David DahlbergJason A. Donenfeld2015-05-111-0/+40
|
* Use 6 Xs for mktempJason A. Donenfeld2015-05-111-1/+1
|
* enhance winpath detection: gpg --help will have a line like this: Home: C:\.....Lorenz Weber2015-05-111-1/+1
|
* Fix .gpg strippingJason A. Donenfeld2015-05-111-2/+2
|
* critcal fix for cygwin: gpg output to stdout ("gpg -o -") would have been ↵Lenz Weber2015-05-111-1/+1
| | | | putput to a file named "-"
* bashcomp: PASSWORD_STORE_DIR env var does not necessarily have a trailing slashSamuel Lethiec2015-05-111-0/+2
|
* lastpass importer: more types supported and better checkingRaphaël Droz2015-05-111-3/+7
|
* add support for passing arbitrary options to all invocations of GPGDavid Adam2015-05-112-4/+7
| | | | | | Uses the PASSWORD_STORE_GPG_OPTS environment variable. Can be used to (e.g.) change the keyrings or trust model used.
* Exit 1 when gpg fails in multiline too.Anne Jan Brouwer2015-05-111-1/+1
| | | | Multiline insert errors gave a exit code of 0, now correctly propagated.
* contrib: add applescript supportSteffen Vogel2015-05-111-0/+92
|
* Add roboform import script.Jason A. Donenfeld2015-05-111-0/+162
|
* Correct permissionsJason A. Donenfeld2015-05-111-0/+0
|
* emacs: Remove dash from Package-RequiresSvend Sorensen2015-03-231-1/+1
|
* emacs: Remove dependency on dashSvend Sorensen2015-03-231-2/+1
| | | | Use delq instead of -reject from the dash package.
* emacs: Use spaces for indentationSvend Sorensen2015-03-221-19/+19
|
* emacs: Separate stdout and stderrSvend Sorensen2015-03-161-5/+10
| | | | | This fixes a problem where gnupg-agent messages would get mixed with the password content.
* Suppress output when original file does not existJason A. Donenfeld2015-02-111-1/+1
|
* 2.1.2 is going to be released next weekJason A. Donenfeld2015-01-281-6/+0
|
* Bad code is bad.Jason A. Donenfeld2015-01-281-3/+3
|
* Bump version1.6.5Jason A. Donenfeld2015-01-281-1/+1
|
* cygwin + gpg4win: convert paths to windows paths when calling gpg4win binary ↵Lenz Weber2015-01-282-1/+26
| | | | instead of cygwin's gpg binary
* Skip broken tests.Jason A. Donenfeld2015-01-281-0/+6
|
* Add unprotected keys for GnuPG 2.1Jason A. Donenfeld2015-01-2811-0/+0
|
* Use more stable with-colons outputJason A. Donenfeld2015-01-282-3/+3
|
* Revert "Only examine subkeys that are capable of encrypting."Jason A. Donenfeld2015-01-282-2/+2
| | | | | | | This reverts commit ec8140b0f1a422aad16d41d0c322f3a6ceef74fe. The needed option is only available on GnuPG 2.1, and we need to support GnuPG 2.0 too.
* Take into account use in testsJason A. Donenfeld2015-01-281-1/+1
|
* Bump version1.6.4Jason A. Donenfeld2015-01-281-1/+1
|
* Strip ".gpg" from symlinks as wellTheo Chatzimichos2015-01-271-2/+2
| | | | | | | | | | | | | | | Symlinks inside password-store make sense when using passff in firefox, and have the same LDAP password in different websites. In order to have passff working correctly then, we need to strip the .gpg extension from symlinks as well. Example output of `pass find site1` or `pass | grep site1` before this commit: site1.job.com.gpg -> site2.job.com and after: site1.job.com -> site2.job.com
* clip: Show an error message if xclip returns a non-zero exit codeWieland Hoffmann2015-01-191-3/+2
| | | | | | | | | | | xclip will return a non-zero exit code if $DISPLAY is not set, which might happen, for example, if you're running pass in a tmux session remotely or something like that. xclip itself will also show an error message ("Can't open display") which provides enough context to figure out what the problem is. There might be other reasons for xclip to return a non-zero exit code, but the man page doesn't list them.
* Correct path for top level grepJason A. Donenfeld2015-01-191-2/+3
|
* Add tejr's scriptJason A. Donenfeld2015-01-151-0/+46
|
* Do not use hidden recipientsJason A. Donenfeld2015-01-131-1/+1
|
* Only examine subkeys that are capable of encrypting.Jason A. Donenfeld2015-01-121-1/+1
|
* emacs: Quote shell argumentsSvend Sorensen2015-01-081-1/+4
| | | | | Quote shell arguments for insert so that it handles passwords and entry names that contain special characters.