keychain

Codesign wants to access key “access” in your keychain, I put in my login password but keeps asking me

好久不见. 提交于 2019-12-03 01:36:15
问题 I'm trying to learn to load apps on my iPhone from Xcode. When I do I keep getting "Codesign wants to access key "access" in your keychain, I put I my login password but it keeps popping up over and over. I've tried my computer login so many times, apple account password, and many others. 回答1: Had the same issue. It was fixed after I entered my mac user password and hit Always Allow . 回答2: Solve this problem by doing this. Enter your Mac Login Password and Choose "Always Allow" One or More

Distribution certificate / private key not installed

自古美人都是妖i 提交于 2019-12-03 01:25:36
问题 Using Xcode 9.1, after building an iOS app, I want to archive it and upload it to the appStore for beta-testing. But I get the following issue after clicking the button Upload to the App Store... and choosing Automatically manage signing : "My Name" has one iOS Distribution certificate but its private key is not installed. I do not know why this "private key is not installed", but the Distribution certificate may have been created on a different computer or something. In any case: What is the

io: ios app development option greyed out

為{幸葍}努か 提交于 2019-12-03 00:58:40
I just signed and created a certificate with keychain access, then in the developer portal I click certificates->developer->+ and when I am prompted for What type of certificate do you need? under development ios app development is greyed out. Does any one know why this is? Do I need to revoke a certificate? Simon Epskamp You can only request one development certificate per user. Either log in as the user you want to request a certificate for, or remove the existing certificate(s) for the user you are logged in as. No need to delete everything. wwjdm Figured it out. Revoke all developer

Using keychain to store username and password in xcode 4

独自空忆成欢 提交于 2019-12-03 00:45:14
I don't want to use NSUserDefaults as I have been told it's not a good way to save a username and password. So I was going to use a Keychain, but I have never used them before. Can some one please just a give a quick example of one or point me in the direction of an example ? Thanks. I Use the open source SSKeychain wrapper around the the C api used by the keychain. It's convenient, easy to use, and works on Mac OS and iOS. Ankit Srivastava This is the best I have found till date... It five a very simple implementation of saving passwords and username to keychain. Please remember to include

How do I programmatically import a certificate into my iOS app's keychain and pass the identity to a server when needed?

夙愿已清 提交于 2019-12-02 23:00:22
I am working on an iOS5 application that will facilitate mobile payments between two users. As part of the payment process, the sender and the recipient need to communicate with a server. The server requires that both parties present their identities when an authentication challenge is initiated upon connection. Currently, I have hard-coded the certificate process by utilizing the following two methods in my code: NSURLConnection Delegate didReceiveAuthenticationChallenge (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge

Saving in KeyChainItemWrapper crashes for password

与世无争的帅哥 提交于 2019-12-02 20:50:11
Apple has provided KeyChainItemWrapper class in their GenericKeyChain sample code . There is an ARC'ed solution here on SO, which I am trying to follow: wrapper to store in the KeyChain on iOS. The usage of the wrapper is like this: KeychainItemWrapper *keychain = [[KeychainItemWrapper alloc] initWithIdentifier:@"F11-email-auth" accessGroup:nil]; [keychain setObject:[emailTextfield text] forKey:(__bridge id)(kSecMatchEmailAddressIfPresent)]; [keychain setObject:[passwordTextfield text] forKey:(__bridge id)(kSecClassGenericPassword)]; the line with email text field is accepted. But the second

Remove private key from Mac OS X keychain using Terminal

[亡魂溺海] 提交于 2019-12-02 20:21:06
I've imported a developer identity (certificate + private key) for iOS development to a keychain using the "security" Terminal application with the command security import identity.p12 -k <keychain> -P <passphrase> This imports both items included in the p12 file, certificate and private key, into the given keychain. I forgot to specify -T /usr/bin/codesign , however, which adds the codesign application to the access list of the private key. I've tried to add the codesign app to the access list to no avail: I've tried to re-import the identity with the added parameter but that does not seem to

How do I add authorizations to code sign an app from new keychain without any human interaction

爷,独闯天下 提交于 2019-12-02 19:33:53
I'm trying to automate the process of building iphone apps with a particular certificate. So imagine if different users uploaded their cert into the system and it was immediately available to code sign against. I want to do this without any interaction. I also don't want to clutter up the system or logon keychain with different user certificates. To this end I have: turned off the requirement in XCODE to require code signing for a a build. developed a ruby script to build an application via the xcodebuild command line tool created a script to automatically create a new keychain for a user of

Why does Xcode auto-install a (duplicate and expired) certificate in the keychain? [duplicate]

你说的曾经没有我的故事 提交于 2019-12-02 18:57:50
Possible Duplicate: xCode 4 -reinstalls keychain certs that I delete The question says it all in a nutshell. When building a project in Xcode, I receive the error message from the Check dependencies step: CodeSign error: Certificate identity 'iPhone Developer: xxxxx' appears more than once in the keychain. The codesign tool requires there only be one. Problem is, this certificate identity is reinstalled whenever Xcode is launched. It is an expired certificate too, that causes extra confusion. So I delete it in keychain, and build the project and everything works. Quit Xcode, restart, watching

How to see the keychain for iphone simulator

*爱你&永不变心* 提交于 2019-12-02 18:50:18
I have developed an iPhone application in which I am encrypting and decrypting data using public and private key. I want to see this keys in the Keychain. I got the keychain entry for mac applications under Applications/utilities, but what is the location for iPhone simulator Keychain and Keychain for iPhone OS itself on device. The iPhone simulator keychain is stored in ~/Library/Application Support/iPhone Simulator/<Version Number>/Library/Keychains/ and is in sqlite3 DB format. The location of the file on the device itself is unimportant, as you can only access it through the keychain API