summaryrefslogtreecommitdiff
path: root/src/password-store.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump to 1.3.1.1.3.1Jason A. Donenfeld2012-09-141-1/+1
|
* Typo.Jason A. Donenfeld2012-09-131-1/+1
|
* Bump version.1.3Jason A. Donenfeld2012-09-131-1/+1
|
* Allow avoiding the prompt for overwriting, with --force flag.Jason A. Donenfeld2012-09-131-5/+8
|
* Split out common gpg options into variable.Jason A. Donenfeld2012-09-131-6/+7
| | | | Reported-by: Brian Mattern <rephorm@rephorm.com>
* use gpg --batch for quieter outputBrian Mattern2012-09-131-3/+3
| | | | | | | | | | | | | | 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.
* prevent <ctrl-c> on password entry from wiping out fileBrian Mattern2012-09-131-2/+2
| | | | | | | | | | | | | 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.
* Confirm before overwriting an entryBrian Mattern2012-09-131-1/+8
| | | | | This asks before inserting a password when one already exists at that location (instead of just overwriting it).
* Use bash's read command better.Jason A. Donenfeld2012-09-131-14/+8
|
* Add --version switch, per request.Jason A. Donenfeld2012-09-131-4/+20
|
* Be more careful about cleaning up.Jason A. Donenfeld2012-09-131-6/+4
|
* Use getopt to regularize optionsBrian Mattern2012-09-121-27/+35
| | | | | | | | | 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.
* Don't quote ${EDITOR:-vi}rupa2012-09-121-1/+1
| | | | | | | | 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.
* Use PASSWORD_STORE_DIR environment variable if it is set.Jason A. Donenfeld2012-09-121-1/+1
| | | | | | | | | | | | | | | 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>
* Use portable mktemp.1.2.1Jason A. Donenfeld2012-09-111-3/+4
| | | | | | | Only GNU systems have --tmpdir, so for other systems we use the TMPDIR environment variable. Reported-by: Alexis <surryhill@gmail.com>
* Fix inconsistent indentation in usage messageDmitry Medvinsky2012-09-111-1/+1
|
* Add an edit mode that uses $EDITOR.Jason A. Donenfeld2012-09-111-23/+71
| | | | | | | | 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>
* Only copy the first line of the password file to the clipboard.Jason A. Donenfeld2012-09-081-1/+1
|
* Update FSF address, add copyrights.1.1.3Jason A. Donenfeld2012-09-071-0/+3
|
* Use more normal sleep variant.1.1.1Jason A. Donenfeld2012-09-061-1/+1
|
* Use --noreport instead of head -n -2 for tree so that it works on mac.Jason A. Donenfeld2012-09-061-1/+1
| | | | Reported-by: Theo Belaire <tbelaire@uwaterloo.ca>
* No echo mode.Jason A. Donenfeld2012-09-041-12/+37
| | | | | | | | Add a --no-echo flag to the insert operation so that the password isn't echoed when entering it. This requires the user to echo the password twice for confirmation. Reported-by: Dominic Lüchinger <d.luechinger@snowgarden.ch>
* Properly quote the path too.Jason A. Donenfeld2012-09-041-1/+1
|
* Allow passwords having spaces to go unbroken to the clipboard.Bernardo Freitas Paulo da Costa2012-09-041-1/+1
| | | | | This also prevents showing the second <word> of the password in the prompt.
* Show program name properly in error message.Jason A. Donenfeld2012-09-031-1/+1
|
* Move examples into manpage.Jason A. Donenfeld2012-09-031-1/+1
|
* Make into a real project.Jason A. Donenfeld2012-09-031-0/+242