Freddie
Rookie

Does the Keychain in iOS actually work?


Recently I have been trying to use keychain in iOS for storing some small bits of info like password strings, OAuth tokens etc. But I found it extremely bugging to use. I don’t know if I am the only one facing this problem or does it happen to everybody. Sometimes it works, other times I get faults when trying to store values to the keychain, particularly when something was already set. Other times, the exact same calls work just fine. The errors happen on actual devices, not in the simulator. Is there any solution for a problem like this?
6 months ago
Respond to this discussion
Ajit Mathew | Dec 8 2011

Keychain is a software which is used in Apple iOS devices as secure storage for sensitive and confidential data such as login password, keys, tokens, WiFi password etc. Default security settings of iOS are not sufficient for protection of such sensitive data. As there are many versions of iOS available, some of them can be affected by hackers attack. This security threat gives rise for the need of a robust external manual protection like the Keychain.

Each iOS application has its own separate group of keychain softwares. From the iOS 3.0 it is possible to share your keychain software’s across the various applications. In the programming of iOS there are some of the wrappers classes which always work with keychain software. These wrapper classes are used, to store your sensitive information.

Yes, keychain is a secure software, if you follow these two conditions.

  • Always store the items with protection class. Because no one access the items from the protection class without unlocking the device.
  • Set a strong seven digit password to unlock the device. Your password must have the combination of alphabets as well as digits. So it will be difficult to hack or guess your password.

But in some cases there are chances that your keychain software may not work as required. When storing a long string value on keychain, it may be possible that the keychain software may hang. While using the internet on your device, if the network becomes weak due to WiFi connectivity problems your keychain software will not work.

© 2012, Instamedia. Some rights reserved. Powered by Instapress and Instacheckin.