Search code examples
iphoneobjective-cios4jailbreak

What Ways Are There To Store Passwords in iOS (For Jailbroken Apps)?


I have been looking into this a lot and people only mention the iOS Keychain. However, I have one issue with storing passwords with the keychain:

  • For what I have read, the keychain behaves differently based on how you codesign your application. Since I don't codesign applications, I'm afraid I will find many stones while I try to use the Keychain without any signing profile.

So what other alternatives are to store passwords in iOS? I'm making two apps that really need to be pass-locked for the user.


Solution

  • I have used Keychain in one of my apps and I used SFHFKeychainUtils classes which just make it easier to use Keychain. Refer to this blog:

    http://gorgando.com/blog/tag/sfhfkeychainutils

    Keychain is a secure way to store passwords since the storage values are encrypted.