williusj Posted July 16, 2013 Share Posted July 16, 2013 (edited) This is very simple alfred workflow that will launch RSA SecurID, copy the current key to the clipboard, and then close the application. I've uploaded a ready to import workflow as well as all the various components. This is my first attempt at an alfred workflow so any feedback is welcome. ** Updated ** Added ability to optionally pass a pin code if required. Edited August 15, 2013 by williusj Link to comment
dserodio Posted February 24, 2016 Share Posted February 24, 2016 Thanks for making this available. One alternative to manually entering the PIN is saving it in the OS X KeyChain (in my case I save it as "RSA SecurID PIN" and then retrieving it with: security -q find-generic-password -gl 'RSA SecurID PIN' 2>&1 | egrep '^password' | awk -F\\\" '{print $2}') And then using this instead of {query} in the bash script, i.e.: osascript Get-RSA-Key.scpt $(security -q find-generic-password -gl 'RSA SecurID PIN' 2>&1 | egrep '^password' | awk -F\\\" '{print $2}');echo Copied key to clipboard: `pbpaste` Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now