m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-22bash completion - Fix UTF8, escape spaces, inverted commas, brackets, and ↵Jeffrey Ratcliffe
ampersands, and clean up
2012-09-21Add fish shell completionDmitry Medvinsky
2012-09-21Add support for PASSWORD_STORE_KEY env var.Jason A. Donenfeld
2012-09-21Reformat bash completion and add missing options.Jason A. Donenfeld
Common git commands, --reencrypt, --force.
2012-09-21Beef up bash completionBrian Mattern
New features: * command name completion (show,insert,generate,etc) * `pass init <tab>` will list email addresses from gpg --list-keys * for 'show' command, if a folder contains a single entry, it will be auto-completed (recursively!) The other commands don't do this since you could be adding a new entry into an existing folder. * option completion (e.g., --clip) Note: I turned off "-o filenames" because it was incompatible with the auto-expansion. So, I instead quote using `printf "%q"` to handle files with spaces and other odd characters.
2012-09-21Add option to init to reencrypt all passwords.Jason A. Donenfeld
Reported-by: Simon KP <si@eskp.net>
2012-09-20Fixed bash completion for files with spacesJeffrey Ratcliffe
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-19Delete debian directory.Jason A. Donenfeld
Now that Colin Watson has taken over Debian packaging, I can get rid of our own local poorly written debian/ directory.
2012-09-19No more push/pull in zsh script, either.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-18Add additional information from KeepassX xmlJuhamatti Niemelä
Import passwords as multiline entries with password in the first line. Rest contains following data if they exist in the entry element of the xml file: - username - url - comment
2012-09-18Copyright and licensing info to keepassx2pass scriptJuhamatti Niemelä
2012-09-18Quote the template.Jason A. Donenfeld
2012-09-18Better dependency list.Jason A. Donenfeld
2012-09-18Make recursive make silent.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-15Use --force flag in keepassx import.Jason A. Donenfeld
2012-09-15Script for importing password data XML from KeepassX to password-store.Juhamatti Niemelä
2012-09-15Perl script for importing an xml from fpm2.Jeffrey Ratcliffe
2012-09-14Bump to 1.3.1.Jason A. Donenfeld
2012-09-14Put OSX ramdisk patch into contrib.Jason A. Donenfeld
This should be removed at somepoint in the future. Currently, the Homebrew people need something to make them happy. This is it.
2012-09-13Typo.Jason A. Donenfeld
2012-09-13Bump version.Jason A. Donenfeld
2012-09-13Allow avoiding the prompt for overwriting, with --force flag.Jason A. Donenfeld
2012-09-13Split out common gpg options into variable.Jason A. Donenfeld
Reported-by: Brian Mattern <rephorm@rephorm.com>
2012-09-13use gpg --batch for quieter outputBrian Mattern
Right now, every time I call pass to decrypt a key, I get output like: You need a passphrase to unlock the secret key for user: "User Name <user@domain.com>" 2048-bit ELG-E key, ID XXXXXXNX, created 2012-04-20 (main key ID NNXXNNNX) password This patch cleans it up so that only the password is output. I use pinentry-gtk-2 to enter the gpg passphrase, so this information is redundant to me. I haven't tried other pinentry versions to see if they repeat the information as well.
2012-09-13add edit command to zsh completionBrian Mattern
2012-09-13Skip directories in zsh completionBrian Mattern
this allows the full entry to be completed with a single tab if there is only one entry in a folder e.g., given: amazon.com user at domain.com google.com user1 user2 `pass am<tab>` -> `pass amazon.com/user at domain.com` while `pass goo<tab>` -> `pass google.com/` (previously, the amazon completion would have stopped at amazon.com despite only a single entry existing)
2012-09-13prevent <ctrl-c> on password entry from wiping out fileBrian Mattern
Currently, if you hit ctrl-c at the standard 'Enter password' prompt, since it is piped directly to gpg, the entry gets cleared. Trying to read from that entry results in: gpg: [don't know]: 1st length byte missing This patch fixes this. Tweaked by Jason A. Donenfeld <Jason@zx2c4.com> to add GNU readline features by using -e in read.
2012-09-13Confirm before overwriting an entryBrian Mattern
This asks before inserting a password when one already exists at that location (instead of just overwriting it).
2012-09-13Use bash's read command better.Jason A. Donenfeld
2012-09-13Add --version switch, per request.Jason A. Donenfeld
2012-09-13Be more careful about cleaning up.Jason A. Donenfeld
2012-09-12Use getopt to regularize optionsBrian Mattern
I like being able to specify command line options (like -c) at the end of the line (which is usually when I think of the fact that I need them). The attached patch uses getopt(1) to regularize the option list so that lazy people like me can specify the options in any order.
2012-09-12Don't quote ${EDITOR:-vi}rupa
Attached is a trivial patch that removes the quotes from the line that invokes $EDITOR. It's perfectly cromulent to set $EDITOR to something with spaces in it, so when we evaluate this one we want it evaluated bare. For example security nerds might want EDITOR='vim -n' if they are scared of swap files, and that breaks if we quote there.
2012-09-12Use PASSWORD_STORE_DIR environment variable if it is set.Jason A. Donenfeld
A user made this request: I was wondering whether it is in a planning to have multiple password-store directory trees or possible to achieve? eg. $HOME/.pwd-store-work and $HOME/.pwd-store-home. Maybe distinguish them with a command line switch and then create aliases in .bash_aliases? Why I'm asking is that I have multiple major password categories - personal, work etc. It'll be nice to keep them separate and under different repos. Reported-by: Simon KP <si@eskp.net>
2012-09-11Use portable mktemp.Jason A. Donenfeld
Only GNU systems have --tmpdir, so for other systems we use the TMPDIR environment variable. Reported-by: Alexis <surryhill@gmail.com>
2012-09-11Fix inconsistent indentation in usage messageDmitry Medvinsky
2012-09-11Fix makefile and use proper manpage hyperlinks.Jason A. Donenfeld
2012-09-11Bump debian version.Jason A. Donenfeld
2012-09-11Add an edit mode that uses $EDITOR.Jason A. Donenfeld
This allows users to edit password files using temporary files created in /dev/shm. This commit also tidies other things up and fixes minor bugs and griviences that should be separate commits but aren't. Reported-by: rupa <rupa@lrrr.us>
2012-09-11default to 'show' command for zsh completionBrian Mattern
this allows completing password entries without explicitly typing 'show'