5 ms·
This looks more elegant than the hacked-together system I'm using for my passwords, but I don't see a way to store any metadata about the passwords other than t
by sciurus 14y ago
This looks more elegant than the hacked-together system I'm using for my passwords, but I don't see a way to store any metadata about the passwords other than the name.
If you're looking for a command-line interface to a cross-platform password database, there's kpcli for keepassx.
http://kpcli.sourceforge.net/ http://kpcli.sourceforge.net/
http://www.keepassx.org/ http://www.keepassx.org/
http://search.cpan.org/~rhandom/File-KeePass-0.03/lib/File/KeePass.pm http://search.cpan.org/~rhandom/File-KeePass-0.03/lib/File/K...
- zx2c4 14y agoThis was exactly what I was trying to avoid. I don't want this big behemoth. I want something small and easy and simple. A file for each password. If I want additional data, I can just use multiline. Or, I can establish a .meta convention if I please. Or this, or that, or whatever. It's simple, and can be used in a million different mashups.
- joshka 14y agombox vs maildir...
- nikcub 14y agoI also use my own homebrew system that stores the password encrypted in the format of: ~/.passdb/username@site.com I have a number of alises setup that will generate new passwords or retrieve a password for a domain. for eg. $ p news.ycombinator.com Will decrypt the password and store it in the clipboard. I don't see any added benefit of having a complete application to manage this process, the ~20 lines of shell script is just fine and I consider having to re-enter the master password a feature. Edit: I see now that this is just a shell script as well[1]. Nice. I might take some ideas from it such as auto completion [1] http://git.zx2c4.com/password-store/tree/src/password-store.sh http://git.zx2c4.com/password-store/tree/src/password-store....
- zx2c4 14y agoYour system is basically the same. pass is not a "complete application", but it's actually just a tiny shellscript. (RTFA...). You have to reenter the master password if that's the way GPG is setup. Or you don't have to reenter it, if it's set up that way instead. Anyway, perhaps this is appealing to you: alias p="pass" Check out the source of pass -- it's probably pretty similar to your bash aliases. In fact, pass for me used to be a bash alias too.
- nikcub 14y agoScanned the article twice and it wasn't until I read the source that I saw that it was a shell script. That is the headline feature IMO (rather than 'standard') edit: I should add that what gave me the impression of this being an application rather than something I would really use was the way it was presented with 'install', makefiles etc. rather than 'here are 30 lines of bash you can dump into your rc file'
- zx2c4 14y agoCool! Hmm yea - maybe I should highlight that it's just a shell script somewhere. I already say " It is a very short and simple shell script. " in the first paragraph. Maybe I should say something else too. Thinking... Edit: responding to your edit: Yea, there's a lot of cruft that gets added to a source directory when you try and make anything on Linux into something suitable for /usr/bin and /usr/share/man. C'est la vie.