Skip to content
Snippets Groups Projects
  1. Sep 13, 2012
    • Brian Mattern's avatar
      use gpg --batch for quieter output · 69b811e0
      Brian Mattern authored
      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.
      69b811e0
    • Brian Mattern's avatar
      add edit command to zsh completion · 36a453ed
      Brian Mattern authored
      36a453ed
    • Brian Mattern's avatar
      Skip directories in zsh completion · bdc0960d
      Brian Mattern authored
      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)
      bdc0960d
    • Brian Mattern's avatar
      prevent <ctrl-c> on password entry from wiping out file · 3955cb46
      Brian Mattern authored
      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.
      3955cb46
    • Brian Mattern's avatar
      Confirm before overwriting an entry · 9fe3cb21
      Brian Mattern authored
      This asks before inserting a password when one already exists at that
      location (instead of just overwriting it).
      9fe3cb21
    • Jason A. Donenfeld's avatar
      Use bash's read command better. · 5ebe3f0a
      Jason A. Donenfeld authored
      5ebe3f0a
  2. Sep 12, 2012
    • Jason A. Donenfeld's avatar
      Add --version switch, per request. · b11e15a0
      Jason A. Donenfeld authored
      b11e15a0
    • Jason A. Donenfeld's avatar
      Be more careful about cleaning up. · 59b5377a
      Jason A. Donenfeld authored
      59b5377a
    • Brian Mattern's avatar
      Use getopt to regularize options · 2ac8b657
      Brian Mattern authored
      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.
      2ac8b657
    • rupa's avatar
      Don't quote ${EDITOR:-vi} · 3a0c8bae
      rupa authored
      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.
      3a0c8bae
    • Jason A. Donenfeld's avatar
      Use PASSWORD_STORE_DIR environment variable if it is set. · 6ecdfe38
      Jason A. Donenfeld authored
      
      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: default avatarSimon KP <si@eskp.net>
      6ecdfe38
  3. Sep 11, 2012
  4. Sep 10, 2012
  5. Sep 08, 2012
  6. Sep 07, 2012
  7. Sep 06, 2012
  8. Sep 05, 2012
  9. Sep 04, 2012
Loading