Skip to content

Instantly share code, notes, and snippets.


Sjors Provoost Sjors

View GitHub Profile
jpmckinney / keychain.rb
Created Nov 9, 2010
Access the OS X Keychain from Ruby
View keychain.rb
# blog post:
class KeyChain
def self.method_missing(meth, *args)
run args.unshift(meth)
def self.find_internet_password(*args)
# -g: Display the password for the item found
output = quiet args.unshift('find-internet-password', '-g')
You can’t perform that action at this time.