Featured Articles
Posted at June 4, 2008 12:58 pm | In Software | By Ben Woodruff
Tags: Apple/Mac, Research, Software, Technology
Earlier today I was looking for a way to lock the 1Password keychain using a keyboard shortcut. The easiest way I could think of doing this is with QuickSilver (namely, a QuickSilver trigger). I found this forum post that describes a terminal command that can be used to lock keychains. I put together the attached script so that this can easily be setup as a QuickSilver trigger. It’s a really simple script, only one line of code:
security lock-keychain 1Password.keychain
The resulting QuickSilver trigger looks like this:
You can download the script here:
Then setup QuickSilver as show in the image above.
A quick video on how to do this can be seen here:
RSS feed for comments on this post. TrackBack URL
More Information
Woodruff Research Authors
THANK YOU! This is EXACTLY what I was looking for. And so simple! The screencast helped me understand perfectly, nice work!
Comment by Jon — October 29, 2008 @ 1:48 pm
Does your QuickSilver trigger, which is great, also work with 1Password’s agilekeychain? As far as I am concerned this does not seem to be the case. Any suggestions would be greatly appreciated. Thanks!
Comment by Hans — November 15, 2008 @ 1:53 pm
@Hans It currently does not.
We don’t currently have a command line way (or API) for locking the new Agile Keychain, but as soon as we do I’ll release a new version.
Comment by Ben Woodruff — November 15, 2008 @ 1:57 pm