Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
MacRuby Keychain Wrapper is a wrapper for accessing keychain from MacRuby.
Ruby
branch: master
Failed to load latest commit information.
lib
README.md
keychain.rb

README.md

MacRuby Keychain Wrapper

MacRuby Keychain Wrapper is a wrapper for accessing keychain from MacRuby. Extracted from Gmail Notifr.

todo: more intro

Requirements:

Examples

require 'keychain'

Create a new generic item

item = MRKeychain::GenericItem.add_item_for_service('GmailNotifr', username:'ashchan', password:'password')

Grab a generic item

existing_item = MRKeychain::GenericItem.item_for_service('GmailNotifr', username:'ashchan')

Update an item

existing_item.password = 'new_password'

Remove from keychain

existing_item.remove

Copyright (c) 2010 James Chen (@ashchan), released under the same terms as Ruby

Something went wrong with that request. Please try again.