Copy of http://code.google.com/p/mozilla-keychain