Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I recently switched from 1Password to pass (on a mac). At first I missed how easy it was to hit "cmd+\" to fill in a web login form, but I made a little shortcut that has similar functionality.

First, I created an automator action that grabs the current URL from Chrome and strips out the hostname. This gets passed to a new Terminal window that runs a shell script that calls "pass -c" for the hostname.[0] Then the script calls terminal-notifier [1] and a notification pops up that reminds me of the username and any other info for that site (but not the password). [2]

Then I bind that service to the "cmd+\" keyboard shortcut and I have something that ends up being more reliable than 1password's often flaky form filling functionality. It includes the extra work of entering username manually and pasting in a password, but so far I like this system a lot better. Also, for sites that use the same login from multiple hostnames, I just create symlinks to a "canonical" pass entry.

Hope this is useful to some people on a mac!

[0] I couldn't figure out how to have pass ask for a gpg pinentry window when it was getting run from a non-interactive shell. So I use automator to create a new terminal window, then destroy it at the end.

[1] https://github.com/alloy/terminal-notifier

[2] all of my pass entries are of the form:

   password
   ---
   username: user
   other info: foo
   other info 2: bar


This is useful - thanks for this. I think I'm going to give something like this a try. 1Password has been getting incredibly flakey over the past few years, and I'm just tired of dealing with it (especially in Safari).

The reason I stuck with it so long was so that my passwords would easily sync to my iPad/iPhone, but with iCloud Keychain, I think I'm finally ready to give up on 1Password.


I don't know about 1Password, but IIRC the iCloud keychain is laughable security, with easily brute forceable pin-based security that can be performed at Apple HQ without your knowledge.


You remember incorrectly, to some extent.

http://tidbits.com/article/14557


Probably, but it's pretty damn convenient. To be fair, I still use 1Password for "critical" passwords (e.g., my personal email address, my credit cards, my bank accounts, etc). But yeah, security is a concern...


I think there are official 1Password browser extensions which allow for the shortcut cmd-# to fill forms automatically.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: