News for hackers. Stuff that matters.
Re:KeePass: OpenSource Password Manager by ghoul2 on Tuesday February 04, 2014 @01:54AM (#7175888)
I have tried pretty much every one of the well known password managers (that are open source and work on linux), but never found any of them very convenient to use.

Until I came across this: http://www.zx2c4.com/projects/password-store/

It is simply the easiest, most intuitive password manager out there. One of those things that, once you come across them, you wonder why it took so long for something this logical to come into existence. I am not associated with the project, but these are just a few things I love about "pass"

1. Command-line based: which means I can script it, I can run it remotely, etc.

2. Uses Git to store the passwords: full revision history, changelog, and remote push/sync features that git is SO good at. Other password managers have to reinvent that whole wheel and none seems to do a good job. This also eliminates the need for "hosted" solutions - which I just simply refuse to use.

3. GPG for password encryption: once again, such a natural, awesome way to do things. GPG is already the safest way practical way to secure data-at-rest. I can rest easy that no silly homegrown encryption system was invented. Also, as long as I have the keys, in the worst case I can do the decryption myself, if I do not have access to "pass".

The only thing I believe it might lack is the fact that the names of the entries are in the clear. Which means I cannot setup a github(private) repository as remote for my pass store: the passwords themselves would still be gpg encrypted, thus safe, but the repository will leak names of all websites and userIDs.

In anycase, kudos and thanks to the devs!

Re:KeePass: OpenSource Password Manager by mrsteveman1 on Tuesday February 04, 2014 @02:31AM (#7175983)
Indeed, I love pass. I found that the majority of the time, typing 'pass <servicename>' is faster than clicking through a GUI anyway, and far more convenient if I'm already in the terminal.

And on the web, all the other password managers have browser extensions to autofill data from their own database, but every common browser already does password storage and autofill natively. So once I grab a password from pass the browser remembers it anyway, making extensions unnecessary.

Oh, and the other thing I LOVE about pass is that because it uses GPG, the key encrypting all the data can be held in a nice portable smartcard, since GPG supports them directly, and it all just works when my smartcard is plugged in. I use a yubikey neo with openpgpcard applet for this and it's been great.

I did start writing an OS X dropdown menu for accessing my passwords from pass, but I haven't been in such a hurry to get it done because it doesn't seem all that necessary in practice :)

Re:KeePass: OpenSource Password Manager by Bassetts on Tuesday February 04, 2014 @03:46AM (#7176229)
As someone who does not have my browser remember my passwords I find the auto fill feature of KeePass a necessity.
Re:KeePass: OpenSource Password Manager by revasm on Tuesday February 04, 2014 @04:22AM (#7176365)
> the passwords themselves would still be gpg encrypted, thus safe, but the repository will leak names of all websites and userIDs.

Consider encrypting the filenames with Fuse+EncFS. This flaw is pretty huge elsewise; it's why I changed to using gnupg.vim+SublimeGPG.

Re:KeePass: OpenSource Password Manager by ghoul2 on Tuesday February 04, 2014 @04:43AM (#7176441)
I went with using a small truecrypt volume mounted at .password-store.
Re:KeePass: OpenSource Password Manager by ygra on Tuesday February 04, 2014 @03:28AM (#7176164)
I think just pressing a hotkey to auto-type the correct password and username based on the currently active web page, program, window, etc. is easier still than opening a terminal and running a command. To me at least.
Re:KeePass: OpenSource Password Manager by ghoul2 on Tuesday February 04, 2014 @04:05AM (#7176289)
Well, I always have guake running, so for me doing it all on the command-line is WAY faster and more convenient. I forgot to mention that "pass" also has command line completion - which makes retrieval trivial.

I would also be surprised if someone somewhere hasn't already written an "autotype" layer over pass, but thats not something I am personally interested in.

I do agree that for end users this may not be the case. For non-technical people (my parents, for example), I mostly recommend writing their passwords down on paper. They have very few passwords as-it-is, and almost none of them are critical.

My own use case, where I have literally hundreds of pieces of info I need to secure (passwords, key-files, gpg keys, ssh keys, etc), is very different from that of such users. Hence different tools.

Oh, also, "pass" can copy the password to the clipboard, making the copy-paste scenario trivial. In fact, it goes even further by clearing the pass from the clipboard after a preset time.

Re:KeePass: OpenSource Password Manager by ygra on Tuesday February 04, 2014 @07:43AM (#7177017)
KeePass can copy to clipboard or do autotype. And I'd say every password manager has to make sure to clear the clipboard afterwards in such cases. This is basic and bog-standard functionality which was present in every password manager I used so far.
Re:KeePass: OpenSource Password Manager by _fs on Wednesday February 05, 2014 @12:19AM (#7182034)
I fail to understand how typing anything on the command line would be faster then a single shortcut (cmd + \).
Re:KeePass: OpenSource Password Manager by weland on Tuesday February 04, 2014 @03:49AM (#7176238)
Unfortunately, that's useless if you need to store passwords for anything other than web use, if you need to automate the entering of passwords and so on.
Re:KeePass: OpenSource Password Manager by ygra on Tuesday February 04, 2014 @07:45AM (#7177032)
I routinely use it for entering passwords to SSH or RDP sessions, and various other non-web passwords. Why would auto-type work only on the web anyway? You can also customise how the password is entered depending on where you invoke auto-type, e.g. if you need username/password, separated with a tab key in one place, but only the password in another.
Re:KeePass: OpenSource Password Manager by weland on Wednesday February 05, 2014 @03:48AM (#7182632)
Oh, I didn't know that. Sorry!
Re:KeePass: OpenSource Password Manager by BorisMelnik on Tuesday February 04, 2014 @02:48AM (#7176049)
you make some really good points, as a programmer/scripter but for most end users and consumers they need something intuitive and keeppass is just that. personally I've used roboform now for over 5 years and have never been so happy to pay a yearly subscription fee. stores notes/passwords etc.
Re:KeePass: OpenSource Password Manager by ghoul2 on Tuesday February 04, 2014 @04:10AM (#7176313)
I agree. As a programmer/admin, my password storage needs are different than that of an average enduser. Security of my passwords, keys, etc is also significantly more critical and failure cause much more damage. So while KeePass/Lastpass etc might work for an average end user, they suck for my usage scenario.

Never used roboform - its not available for linux, so can't comment there.

Re:KeePass: OpenSource Password Manager by xr09 on Tuesday February 04, 2014 @08:38AM (#7177252)
We use Keepass at work, but pass is beautiful, the unix way, I'll use it for my personal passwords.
Re:KeePass: OpenSource Password Manager by hanru on Tuesday February 04, 2014 @05:56AM (#7176667)
Looks interesting and geeky. Will definitely try this someday. Thanks for the recommendation.
Re:KeePass: OpenSource Password Manager by BCM43 on Tuesday February 04, 2014 @08:43AM (#7177280)