keychain

Can I access keychain from a webapp (javascript) on the iPhone ?

The question is pretty much in the title ;-) Do you know if there is a webkit API for reading/writing from the iPhone keychain ? That is, I would need to access the keychain from a webapp. Thanks in advance ! ...

iPhone SDK - CCATS required if using Keychain Access?

Hi, I'm planning on using Keychain in an iPhone app to store some username/password information. Am I still required to file for an CCATS? Thanks, ...

Has anyone used Buzz Andersen's Simple iPhone Keychain code?

You can find it here. I'm trying to understand his sample code in order to write a simple program with that stores passwords into the keychain and retrieves them for login. Has anyone done this before? It would be most appreciated if I can see any examples you may have. ...

Iphone development: codesign cannot access Keychain

Hi, i am stuck in the hell of keychain and iphone app certification process :/ i have the "/usr/bin/codesign failed with exit code 1 " i have tried everything including doing the process X thousand times from the beginning, checking the build and target settings, plist bundle id etc... But one thing is surprising : when i build my ap...

Sporadic errSecAuthFailed (-25293) when accessing KeyChain with SecKeychainFindGenericPassword?

Hi. i'm writing an app that stores passwords on the keychain, and later obtains them with SecKeychainFindGenericPassword(). this works file 90% of the time, but every once in a while, the call to SecKeychainFindGenericPassword() will fail with errSecAuthFailed (-25293). when it does, just trying again, or restarting the app fixes it. d...

IPhone app with SSL client certs

I'm building an iphone app that needs to access a web service over https using client certificates. If I put the client cert (in pkcs12 format) in the app bundle, I'm able to load it into the app and make the https call (largely thanks to stackoverflow.com). However, I need a way to distribute the app without any certs and leave it to ...

HTTPS with self-signed certificate in the app's keychain

I have to connect my iPhone app to a server with a self-signed certificate via HTTPS. I cannot change the certificate or the server. Since I don't want to accept all self-signed certs, just this one, my idea was to import the cert to the apps keychain (reading the cert from file and adding it to the keychain with SecItemAdd). If I run ...

What keying option does the keychain use?

I have read into the keychain and have found that it uses Triple DES. What I can't find is what keying option it uses. I am guessing / hoping that its keying option 1 where all 3 passwords are unique but if thats the case I can only think of two passwords it can use (user password and App ID that comes from your dev cert) so where is the...

Not Jailbroken - getting Provisioning is not applicable for product type 'Application' in SDK Device

Codesign warning: provisioning is not applicable for product type 'Application' in SDK Device - iPhone OS3.1'; ignoring.. Redownloaded my developer certificate, made a new provisioning profile, still getting this error. Searched the Xcode project and removed all lines referencing a Provisioning Profile, but that didn't seem to remove i...

Conformation dialog is put up for trusted application while reading from keychain.

Hi, I am developing a Mac OS X(desktop) application in which user can create many accounts. The passwords of these accounts are saved in the keychain. Each time the application is launched the password of each account is read from the keychain. But, when the new version of the application is launched, while reading the password, a dial...

Adding a self-signed certificate to iphone Simulator?

I have a self-signed certificate at the endpoint of my API. I'm trying to test some things using the simulator but am getting "untrusted server certificate". I have tried to use safari on the simulator to download the .crt file, but that doesn't seem to work. Where does iPhone Simulator get its keychain from? How can I add a trusted ...

How to Suppress the keychain prompt when the app modified?

Hi Im using Mac 10.5.8 . In my app im using my own keychain(created by me), but my actual question is when I modify my code in the app every time a prompt is appearing, saying that the present app is modified do you want to allow or not.Can any one tell how to supress this prompt(allow by default when ever I change the app).I couldn't fi...

changing Mac keychain Password programatically?

Hi ,Im using Mac 10.5.8, can any one tell is there any way to update the keychain's password programatically? ...

How to convert SSH keypairs generated using PuttyGen(Windows) into key-pairs used by ssh-agent and KeyChain(Linux)

I've generated key pairs using PuttyGen and been logging in using Pageant , so that I have to enter my passphrase only once, when my system boots. How do I emulate this in Linux ? I've heard of keychain but I hear that it uses a different key pair format - I don't want to change my windows keys , and it would be nice if could seamlesl...

Are there some good examples out there that show how to use Keychain Services in Mac OS X?

I’m not speaking about Apple’s Keychain Services Programming Guide or the Certificate, Key, and Trust Services Programming Guide. The official reference is OK and points you in the right direction, but there aren’t any sophisticated examples I could find. It would be great to have more documentation about how you should handle cerfiticat...

Where have Mac Certificate trust settings gone ?

Greetings, I am responsible for a Java Applet that needs to work on a wide range of Macs. This applet needs access to the file system and thus needs to be signed. On a Mac, even if the applet is signed and the certificate is valid, by default the applet will still not work. You need to open the certificate and put under the trust settin...

Help using SFHFKeychainUtils

I'm trying to use SHFHKeychainUtils in my project, but I keep getting the following error when I build: ".objc_class_name_SFHFKeychainUtils", referenced from: literal-pointer@_OBJC@_cls_refs@SFHFKeychainUtils in ResultsViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status I added Security.framework via Target > G...

iPhone writing to KeyChain none standard error

I'm trying to write an entry to the keychain, but it fails with a return code of -25243, the documentation only lists the "common" error codes and points you in the direction of "The Open Group" for help. I've downloaded the document but haven't got a clue where to look, the document is over 1000 pages long and just appears to list a loa...

IPhone Keychain API Examples

Could anyone supply me with very basic code examples for adding/reading items to/from an iPhone keychain? I want no other application than the one that added the item is allowed to access it. Apple's GenericKeychain example is kind of advanced so don't bring that up, please. ...

iPhone Keychain

I can't get the KeychainItemWrapper (Apple example) to work. I've added the KeychainItemWrapper files to my project and when running it on the phone, an exception is thrown by SecItemAdd, saying that one or more parameters were not valid (result code -50). The code triggering the SecItemAdd follows: KeychainItemWrapper* wrapper = [[Keyc...