You could store the generated key in a keychain. This way you wouldn't have to 
ask for the password to access the encryption key.

-- 
Gleb Dolgich
http://pixelespressoapps.com

On 30 Dec 2009, at 18:58, Mr. Gecko wrote:

> But then how would I get the data? If the key has to do with the password, 
> then how can I get the parental settings and respond to them.
> 
> On Dec 30, 2009, at 12:51 PM, Gleb Dolgich wrote:
> 
>> Perhaps a better way would be to ask for a password once the user is 
>> authenticated, and then generate an AES key using that password, instead of 
>> storing encryption key inside your program. With you current scheme, if 
>> anyone breaks your 'common' key, everyone will be able to circumvent your 
>> parental protection.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to