News for hackers. Stuff that matters.
Re:LastPass command-line interface tool by zx2c4 on Wednesday October 22, 2014 @04:46PM (#8495007)
I wrote most of this for LastPass. The interface is based on my own pet project, "pass" -- http://www.passwordstore.org/ -- which sticks to a more traditional model of a simple directory of gpg encrypted files, integrated with git, and you get to decide where it lives. It's a simple bash script.
Re:LastPass command-line interface tool by 616c on Wednesday October 22, 2014 @06:11PM (#8495519)
Just want to chime in. Your pet project is the only password manager I have used longer than a week.

Using dmenu with StumpWM, I show people I have an OS level keychain that I can pop open and search with a keyboard binding. My IT brethren nod with approval.

Re:LastPass command-line interface tool by platz on Thursday October 23, 2014 @12:07PM (#8498915)
just modified the pass dmenu script to work with lastpass

  #!/usr/bin/env bash

  shopt -s nullglob globstar

  typeit=0
  if [[ $1 == "--type" ]]; then
    typeit=1
    shift
  fi
  name=$(lpass ls | dmenu)
  id=$(echo $name | sed -r 's/.*\id:\s([0-9]+).*/\1/g')
  if [[ $typeit -eq 0 ]]; then
    lpass show -c --password $id
  else
    xdotool - <<<"type --clearmodifiers -- $(lpass show --password $id)"
  fi
Re:LastPass command-line interface tool by 616c on Thursday October 23, 2014 @12:12PM (#8498950)
I do not use last pass but that xdotool idea is very slick. I will definitely employ that idea.
Re:LastPass command-line interface tool by bruo on Wednesday October 22, 2014 @05:01PM (#8495115)
I use your 'pet project' daily. Thank you so much for it!
Re:LastPass command-line interface tool by pXMzR2A on Wednesday October 22, 2014 @11:45PM (#8496619)
Your pet is probably the best password manager around. I use it daily and love it!
Re:LastPass command-line interface tool by girvo on Wednesday October 22, 2014 @08:19PM (#8496022)
I've been working on some bash scripts that borrow your "pass" interface but works with OS X's Keychain, so thanks very much for doing the hard parts for me!
Re:LastPass command-line interface tool by harlanji on Wednesday October 22, 2014 @08:13PM (#8495984)
Awesome, great pet project. As others have said, I use it daily and it's the only manager I've used for any time. I use it with a Yubikey Neo with a GPG subkey in it, and store my passwords in a Bitbucket repo that I can check out on any machine (using an RSA key also in my Yubikey via gpg-agent with enable-ssh-support). I've looked at using it for small teams as well by encrypting to multiple recipients. Excellent and elegantly unixy!
Re:LastPass command-line interface tool by kuhhk on Thursday October 23, 2014 @12:12AM (#8496667)
Very nice. Mind writing up a tutorial for that setup? I'm sure it will help others.
Re:LastPass command-line interface tool by pantulis on Thursday October 23, 2014 @02:03AM (#8496885)
Sure it would help me and my team.
Re:LastPass command-line interface tool by hucker on Wednesday October 22, 2014 @05:26PM (#8495271)
pass is great! I use it every day, only problem is that I haven't found an android client. Do you know if there exists one?
Re:LastPass command-line interface tool by jgrowl on Wednesday October 22, 2014 @07:00PM (#8495722)
I had no idea pass existed. I will have to check it out. Thanks!
Re:LastPass command-line interface tool by bdunbar on Thursday October 23, 2014 @10:43AM (#8498345)
I like Pass. But ..

I've got a task to setup a password manager for a team, all of whom are Windows users.

But my focus isn't personal passwords for email, or google, but the eleventy-dozen passwords that accumulate around any IT department: root for this, and that, the firewall, database, CHAP .. the list is endless.

Is there a 'windows like' pass? Is there a

Re:LastPass command-line interface tool by zx2c4 on Thursday October 23, 2014 @11:19AM (#8498575)
Pass works very well with teams, as it supports various levels of key combinations.

It also will run well under Cygwin on Windows.

Re:LastPass command-line interface tool by bdunbar on Thursday October 23, 2014 @01:24PM (#8499432)
I'll give Cygwin another try. I like it.

My guys aren't going to want to know about all that just 'click some buttons and get passwords'.

Re:LastPass command-line interface tool by bdunbar on Thursday October 23, 2014 @05:54PM (#8500972)
After some thought, my Windows guys will rebel if I have them use Cygwin.

But I bet one can run Cygwin in a Windows Docker.

Re:LastPass command-line interface tool by relaytheurgency on Wednesday October 22, 2014 @05:51PM (#8495412)
I love pass so much. Use it every single day on Cygwin. I remember getting it to work in Cygwin. Fun stuff.
Re:LastPass command-line interface tool by davidmi on Wednesday October 22, 2014 @11:46PM (#8496620)
I like to keep my passwords synced in Dropbox, and I usually work in *nix, but I occasionally have to access them in Windows, so I wrote a little batch file that uses gpg4win to read my passwords https://github.com/davidmi/ScriptsAndTools
Re:LastPass command-line interface tool by dmix on Wednesday October 22, 2014 @05:06PM (#8495145)
Thanks, I abandoned LastPass after the Lavabit controversy for pass long ago and I love it.
Re:LastPass command-line interface tool by Human_USB on Wednesday October 22, 2014 @05:16PM (#8495204)
Do you have more information about how you replaced LastPass? I currently use it, but anything better is nice. :)
Re:LastPass command-line interface tool by dmix on Wednesday October 22, 2014 @05:18PM (#8495218)
Import your lastpass passwords to pass http://git.zx2c4.com/password-store/tree/contrib/importers/l... and learn the pass commands

Then get a backup solution (tarsnap or BTSync).

Re:LastPass command-line interface tool by davej on Wednesday October 22, 2014 @07:28PM (#8495805)
What about browser plugins and mobile?
Re:LastPass command-line interface tool by greyskull on Wednesday October 22, 2014 @07:52PM (#8495896)
It looks like there's a Firefox plugin in the works: https://github.com/jvenant/passff#readme Now we just need a Chrome one.

This is what really pulls me to LastPass. The zero to two clicks it takes to fill in a password is just too good.

Re:LastPass command-line interface tool by zx2c4 on Wednesday October 22, 2014 @08:09PM (#8495961)
Someone made an iPhone app and Android is under development.
Re:LastPass command-line interface tool by morpher on Wednesday October 22, 2014 @08:23PM (#8496038)
I'm that someone, and it was written in a weekend on a jail broken iPod touch on iOS 3.2. So, its unlikely that it still works (and I wouldn't recommend using it even if you can get it to work). I long since switched (back) to lastpass due to the pain of managing ssh keys across multiple devices.
Re:LastPass command-line interface tool by tacticus on Wednesday October 22, 2014 @10:45PM (#8496478)
Why not use the built in git support for pass?
Re:LastPass command-line interface tool by StavrosK on Thursday October 23, 2014 @10:09AM (#8498176)
That's what I do, with a private BitBucket repo.
Re:LastPass command-line interface tool by tribaal on Thursday October 23, 2014 @01:32AM (#8496823)
Thanks for your work, seriously, this is one kickass pet project if I ever saw one.
Re:LastPass command-line interface tool by rimantas on Thursday October 23, 2014 @07:09AM (#8497553)
Something like this, but for the team would be so awesome… Edit: looks like this tool supports multiple keys. Does that mean that passwords can be shared?
Re:LastPass command-line interface tool by zx2c4 on Thursday October 23, 2014 @11:19AM (#8498571)
Yes -- pass has extensive support for being used by teams. You can set various levels of ACLs by having different combinations of keys for different directories.
Re:LastPass command-line interface tool by s3th on Wednesday October 22, 2014 @05:43PM (#8495367)
I use LastPass every day now. Everything about it makes sense (including git versioning for all your passwords). Thanks!
Re:LastPass command-line interface tool by zx2c4 on Wednesday October 22, 2014 @06:13PM (#8495542)
You mean "pass", not LastPass.