keychain

Unable to create a new Certificate Signing Request

陌路散爱 提交于 2019-12-10 12:47:31
问题 I deleted all my certificates and private keys, because I want to do totally fresh install. Now I cannot create CSR because I get error The user name or passphrase entered is not correct Steps which I've done: Open Keychain Access . On the drop down menu clicked Keychain Access → Certificate assistant → Request a Certificate from a Certificate Authority Entered apple id email address and my name, checked Save to disk, checked "Save the CSR on desktop", clicked continue Then the error appears:

Apple keychain private/public key issue

試著忘記壹切 提交于 2019-12-10 02:46:48
问题 I accidentally deleted the private and public key pair of my certificate, but I can't find anything helpful to undo or add those to my certificate again. Actually the developement certificate has expired, so i redownloaded the new one. Than I wanted to add the private/public key to my new certificate. And there it happend, i deleted it. How can I get these and set them to my actual certificate again. 回答1: I had this issue two days ago. Open Keychain Access What you have to do is make backups

kSecAttrAccessibleAlways deprecated in ios 9

穿精又带淫゛_ 提交于 2019-12-09 21:26:23
问题 I use keychain to authenticate and then send location info to server in background. But since kSecAttrAccessibleAlways got depricated, I will have to use kSecAttrAccessibleAfterFirstUnlock . This allows use of keychain after first unlock after restarting phone. Problem is if user restarts phone, and location changes before first unlock, then Authenticate will fail, since we can't fetch from keychain . How can I solve this problem. How to find keychain cannot be accessed and stop

Mac OS X Keychain Access: “A default keychain could not be found” error

[亡魂溺海] 提交于 2019-12-09 16:28:18
问题 I am trying to sign an iPhone app for publishing, so I am following the instructions to do so. Anyhow, when creating my Certificate Signing Request I get this error from Keychain Access: "A default keychain could not be found" I found no help on Google concerning this issue - can anybody help? Thanks! 回答1: Sounds like you're missing your login.keychain. Either that, or you somehow un-set it as default. Look at your Keychains list in Keychain Access (View->Show Keychains). Do you have "login"?

iOS8 + Apple's KeychainItemWrapper results in a crash

。_饼干妹妹 提交于 2019-12-09 16:26:37
问题 I've been digging around Apple forums and SO for this issue to no avail. Using Apple's KeychainItemWrapper (ARCified), trying to set the kSecAttrAccessible attribute to anything except the default ( kSecAttrAccessibleWhenUnlocked ) results in an assertion failure from SecItemUpdate returning an error. KeychainItemWrapper *wrapper = [[KeyChainItemWrapper alloc] initWithIdentifier:kMyIdentifier accessGroup:nil]; [wrapper setObject:kMyServiceName forKey:(__bridge NSString*)kSecAttrService];

After set-key-partition-list codesign still prompts for key access

半腔热情 提交于 2019-12-09 12:58:19
问题 I'm importing a PEM file containing public and private keys for my code signing identity with the following command: security import "${PEM_FILE}" -k ~/Library/Keychains/login.keychain -T /usr/bin/codesign -T /usr/bin/security On OS X 10.11 El Capitan I could then codesign without a prompt: codesign --force --sign "${IDENTITY_HASH}" --timestamp=none `mktemp` However, as others have mentioned, OS X 10.12 Sierra now requires that you set-key-partition-list after import : security set-key

Xcode does not see my developer certificate in Code Signing Identity

瘦欲@ 提交于 2019-12-09 09:25:11
问题 I renewed my IOS Developer Certificate, i deleted old ones from keychains and clicked on my certificate. Everything looks normal in keychains, i have distribution,developer, WWDC certificates in there.Every profile look valid with green marks Under Teams and Provisioning Profiles section in Organizer but in Xcode under Code Signing Identity there is no profile currently match developer profile under Automatic Profile Selector(Recommended). What can i do about it? thanks in advance. 回答1: First

How can I get jenkins-cli.jar to use my ssh agent/keychain?

你离开我真会死。 提交于 2019-12-09 06:19:21
问题 I'm using the jenkins-cli.jar file from my jenkins server, and on every run it prompts me for my ssh key passphrase. I'd like it to use my ssh keychain so I don't have to enter it on every invocation. If it matters, I'm on OSX using the default keychain setup, I don't have a manual ssh-agent configured right now. 回答1: Jenkins CLI client does not support SSH agents for now. As a workaround, you can generate dedicated key without passphrase, associate it with your Jenkins account and instruct

Multiple Certificates/Provisioning Profiles in one Xcode organizer?

只谈情不闲聊 提交于 2019-12-08 22:42:08
问题 There are several similar questions here, but none could answer my basic question: Is it possible to have two separate developer certificates in the keychain and two corresponding distribution profiles in Organizer? I have my own (working) developer certificate and provisioning profile for my own iPhone apps. Now I finished a project for a client and would like to use his developer account/certificates/provisioning profiles to submit his app to the app store on his account. Is that even

Unable to store data in Keychain Xcode 8 GM (Swift 3)

落爺英雄遲暮 提交于 2019-12-08 19:36:29
In my project I need to save some data in Keychain, hence I'm using some open-source, but the data is not getting stored in keychain. I have tried many open source, in every open source the attempt to store data in keychain failed. Used Keychain open sources: KeyClip - https://github.com/s-aska/KeyClip Keychain - https://github.com/marketplacer/keychain-swift keychain access - https://github.com/kishikawakatsumi/KeychainAccess Enable KeyChain sharing in Capabilities which downloads an entitlement files.Clean and run the project now data gets stored in Keychain. If you are using xCode 8.0