m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-09Fix gpg22 man page typo.Jason A. Donenfeld
2012-10-09Restore exclusivity of options in multiline/echo check.Jason A. Donenfeld
2012-10-09Changes to lastpass2pass.rbAlex Sayers
- relicensed to GPLv2+ - added -f command-line flag - added -d DEFAULT_GROUP flag
2012-10-07Rename script internally and use generalized usage message filename.Jason A. Donenfeld
2012-10-07Add Alex Sayer's lastpass_import.rb script.Jason A. Donenfeld
2012-10-05Trim trailing slash in tree display.Jason A. Donenfeld
2012-10-03update fish completion as wellBrian Mattern
2012-10-03upate completion scripts for --echo optionBrian Mattern
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-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-23Insert comment for fish completion.Jason A. Donenfeld
2012-09-22Normalize negation and bashism.Jason A. Donenfeld
2012-09-22Fix directory removal.Jason A. Donenfeld
2012-09-22Use describe with commands style.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-22Properly quote MakefileJason A. Donenfeld
2012-09-22Add libdir mention to INSTALL.Jason A. Donenfeld
2012-09-22Normalize copyright headers.Jason A. Donenfeld
2012-09-22Bring zsh completion up to parity with bash completionBrian Mattern
2012-09-22EDITOR should be italicized.Jason A. Donenfeld
2012-09-22Allow git repo to be elsewhere via env var.Jason A. Donenfeld
2012-09-22I don't want --help or --version in bash completion.Jason A. Donenfeld
2012-09-22Vastly simplify GPG secret key finding logic.Jason A. Donenfeld
- Only use secret keys - Use entire UID - --with-colons makes parsing easy
2012-09-22Better gpg id completionBrian Mattern
Names and email addresses (if present) are included
2012-09-22simplify logic slightlyBrian Mattern
2012-09-22turn -o filenames back onBrian Mattern
only auto-expand if there is a single completion match
2012-09-22bash completion - Fix UTF8, escape spaces, inverted commas, brackets, and ↵Jeffrey Ratcliffe
ampersands, and clean up
2012-09-21Better gpg key completion for `pass init`Brian Mattern
2012-09-21Append to COMPREPLY instead of inserting by indexBrian Mattern
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