[Mono-osx] patch: Mac OS X keychain API additions

Leszek Wong leszekw at ololaiki.com
Fri Jan 28 12:01:55 EST 2011

the documentation attached.

One thing about the Keychain under MacOS is that the usage scenarios seem to be much richer than under iOS.
For instance - multiple keychains are allowed. Or, ACLs on the keychain entries so only selected apps can access it.
It would be probably useful to provide better mappings, which take into account this broader range of MacOS -specific scenarios.
This would also depart a little bit of iOS keychain programming model (i.e. SecKeyChain wouldn't be a static class anymore etc).

What do you think?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: KeychainDoc.diff
Type: application/octet-stream
Size: 10853 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20110128/9d41a172/attachment-0001.obj 
-------------- next part --------------

On Jan 27, 2011, at 5:23 PM, Miguel de Icaza wrote:

> Hello Leszek,
>    Thanks for the patch.
>    I am trying to keep MonoMac documented, would you be so kind to
> also provide in your own words both summary, remarks and descriptions
> for the parameters in the documentation?
>    The documentation for this is in
> monomac/docs/en/MonoMac.Security/SecKeyChain.xml
> Miguel
> On Wed, Jan 26, 2011 at 7:26 PM, Leszek Wong <leszekw at ololaiki.com> wrote:
>> Hey,
>> the attached patch adds support for SecKeychainAdd(Generic|Internet)Password
>> and SecKeychainFind(Generic|Internet)Password which greatly simplify common operations with the Keychain under Mac OS X.
>> SecKeyChain.AddGenericPassword(string service, string account, byte[] password) etc.
>> thanks,
>> L.

More information about the Mono-osx mailing list