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

Leszek Wong leszekw at ololaiki.com
Sat Jan 29 11:57:15 EST 2011


Hello,

attached is the draft of MacOS -centric Keychain API. 

Goals for this exercise:
- make simple things simple, hard things possible
- provide reasonably complete functionality over the native API
- heavily .NET-ize API 

Non-goals:
- keep compatibility with Monotouch (might be a topic for another exercise)

Observe de-emphasis on dictionary-based keychain access (still possible though) and exposure of the keychain functionality unique for MacOS.

Please let me know what you think,
Leszek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SecKeyChain.cs
Type: application/octet-stream
Size: 6993 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20110129/5afe4661/attachment-0001.obj 
-------------- next part --------------


On Jan 28, 2011, at 11:03 AM, Miguel de Icaza wrote:

> Hello,
> 
>> 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?
> 
> I would love to hear how this would change.   We can still make
> changes to the API, but we might have to do those in a
> backwards-compatible way, as we have current users of the API on
> MonoTouch as-is.
> 
> Miguel



More information about the Mono-osx mailing list