News for hackers. Stuff that matters.
Re:The Command-Line Office by zx2c4 on Tuesday March 04, 2014 @08:24PM (#7344612)
The author of this article uses pass [1] for password management. I'm the author of pass, if anyone here has any questions.

[1] http://www.zx2c4.com/projects/password-store/

Re:The Command-Line Office by ghoul2 on Wednesday March 05, 2014 @05:15AM (#7346237)
Whoa, fancy seeing you here.

pass is pretty much the ONLY password manager I have actually found useful, and I have tried a LOT of them. I wrote about it here:

https://news.ycombinator.com/item?id=7175888

Also, I have a personal use "fork" (scare quotes cause its not really a fork, just an personal work-in-progress) on github:

https://github.com/abgoyal/password-store2

Its an attempt to fix the "leak" of sitenames/usernames I talked about in the HN thread linked above. I am sorry, I have not gotten around to fixing the READMEs etc yet. Is this something you would be interested in merging?

In any case, big thanks for making "pass". Its a pleasure to use.

Re:The Command-Line Office by dnr on Tuesday March 04, 2014 @11:58PM (#7345379)
I've been using it for a while, thanks! I had my own cli-based password manager, but yours is simpler and better.

I've made a few tiny hacks to make it work better for me: - add a default length to the generate command - allow abbreviating 'generate' as 'gen' - default to copying to clipboard instead of stdout - use xsel instead of xclip (no real reason except I already had it installed everywhere)

Re:The Command-Line Office by johnchristopher on Wednesday March 05, 2014 @02:15AM (#7345799)
> The author of this article uses pass [1] for password management. I'm the author of pass, if anyone here has any questions.

Ah! I installed pass a few days ago! I was wondering why you decided to use gpg to encrypt instead of mcrypt (which would be "easier" to set up for the casual end-user since he'd only need a password and not a keys) ?

I also wished you could post your cgit.conf because I remember having troubles achieving something with mine but now I can't remember what. Well.

Also, are you involved with http://git.zx2c4.com/pulseaudio-raop2/ ? If so: any chances of progress being made in the near future ?

Re:The Command-Line Office by 616c on Wednesday March 05, 2014 @01:27AM (#7345671)
I eventually want to make a GUI equivalent as I learn to program, and had some other ideas that you have inspired as I try to get back to programming.

THANK YOU! I love your tool and it is one of my favorite tools. I check your git for other cool stuff as I stumbled upon your stuff many times.

Question: would you want to add a parameter to escape non-aplhanumeric characters? It took me a while of playing to figure out how to get mutt to handle my very complex IMAP passwords.

For anyone who cares, I do it with sed.

set my_pass=`pass email/[email protected] | sed 's/[[:punct:]]/\\&/g'`

#

Re:The Command-Line Office by ygra on Wednesday March 05, 2014 @06:18AM (#7346366)
Random question (I have no clue of mutt or Unix shells (the code there looks like one)): But isn't that a problem of the receiving application? You can't really ask every single application that outputs text to sprout arguments to support every possible escaping that might be needed eventually. And whatever comes out of the `foo` part shouldn't be interpreted or parsed anyway, right?
Re:The Command-Line Office by aidenn0 on Thursday March 06, 2014 @02:54PM (#7356149)
how about

    set my_pass="`pass email/[email protected]`"
[edit] Looks like this is a muttrc line not a sh line. Sadly I don't think muttrc supports the far superior $() expansion..
Re:The Command-Line Office by 616c on Wednesday March 12, 2014 @06:35AM (#7384867)
I tried this and it does not work. And yes, mutt does not support $() escaping.
Re:The Command-Line Office by patrikj on Wednesday March 05, 2014 @08:18AM (#7346733)
Great tool! I found out about it just now from the article.

Any thoughts of cross platform compatibility for the future? I find one of the best features of KeePass is the fact that it can be used on all my computers (even the ones not running Linux).

Re:The Command-Line Office by illbert on Tuesday March 04, 2014 @08:37PM (#7344656)
Just added it to my cli toolbelt, thanks!
Re:The Command-Line Office by marcuskaz on Tuesday March 04, 2014 @08:29PM (#7344632)
great tool, thanks!