MC passwords in images?

Bert Freudenberg bert at impara.de
Sat Nov 5 03:23:10 UTC 2005


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 -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SecKeychain.st
Type: application/octet-stream
Size: 5851 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20051105/9342c850/SecKeychain.obj


More information about the Squeak-dev mailing list