News for hackers. Stuff that matters.
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.