Grant Baillie wrote:
> On 22 Mar, 2007, at 09:54, Mimi Yin wrote:
>> Do any non-Windows / non-Apple apps use the OS keychain? As in, is
>> there a reason we can't use the OS keychain?
> 
> Non-Apple apps do use the OS keychain (Colloquy, SSHKeychain are 2 I use
> all the time).

Camino (a mozilla derivative) does too, I believe. There has been talk
to convert Firefox and maybe Thunderbird as well, but I don't know the
status.

> Long-term, I'd say that's what we want Chandler to do. I believe the
> barrier is engineering time:
> 
> - For Linux, I don't think there's a standard service like this, so we
> have to roll a complete implementation anyway (i.e. as
> Heikki has done).

I believe there is something reasonably standard, linux-pam or
something, but I haven't really looked into it.

> - For the Mac, the OS keychain APIs aren't available from standard
> Python, so there's work involved in making them available. Also, if you
> adopt platform-dependent solutions, there's work involved in making sure
> the right platforms call the right code.
> 
> - I'm not sure what the story is for Windows. I'd be surprised if there
> wasn't a standard password encryption service, but I haven't researched
> that.

Windows has the CryptoAPI available for this. With Python 2.5 we could
access those even from pure Python using ctypes module.


But like Grant said, the main thing is developer time. My implementation
is cross-platform, and just one implementation. Doing those platform
specific things would mean roughly three times as much work, plus it
would not work on any "non-standard" Linux distro or on Mac or Windows
if they changed their APIs.

-- 
  Heikki Toivonen


Attachment: signature.asc
Description: OpenPGP digital signature

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Design" mailing list
http://lists.osafoundation.org/mailman/listinfo/design

Reply via email to