Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

ashchan/macruby-keychain-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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

About

MacRuby Keychain Wrapper is a wrapper for accessing keychain from MacRuby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages