MC passwords in images?
stéphane ducasse
ducasse at iam.unibe.ch
Sat Nov 5 09:55:52 UTC 2005
Hi bert
this is a really nice example how to use FFI. Thanks I learned
something....
Stef
> The right place to store passwords in Mac OSX is the system-wide
> keychain. It turned out to be really easy to use - one FFI call to
> store a password, another one to retrieve it. Code attached.
>
> For more information, see http://developer.apple.com/documentation/
> Security/Reference/keychainservices/
>
> "add password"
> SecKeychain addInternetPassword: 'squeak' forUrl: 'http://
> bert at source.impara.de/' asUrl
>
> "get password"
> SecKeychain findInternetPasswordForUrl: 'http://
> bert at source.impara.de/' asUrl
>
> - Bert -
>
>
> <SecKeychain.st>
>
>
More information about the Squeak-dev
mailing list
|