🕷 software projects

by ryan davis



sitemap

osx_keychain

Use ruby to connect to OS X's keychain

Provides API and a command line tool to Access the OS X Keychain. The command line tool isn’t actually useful (use security instead), but demonstrates the usage quite well.

1
2
3
keychain = OSXKeychain.new
keychain[service, username] = password
p keychain[service, username]

Get The Code

If you just want to use osx_keychain, you can install it via RubyGems:
gem install osx_keychain
Fork me on GitHub If you want to hack on osx_keychain, clone it from GitHub:
git clone git://github.com/seattlerb/osx_keychain

Latest Activity