keychain

Unable to sign in to Google from the GooglePlusSample code using GooglePlusPlatform

萝らか妹 提交于 2020-01-13 07:39:13
问题 I am running the GooglePlusPlatform Sample Code provided by Google to learn about its SDk. However, when I run the application and click on the sign-in button it generates an error as: Error Domain=com.google.GooglePlusPlatform Code=-1 "keychain error" UserInfo=0x1100bdd0 {NSLocalizedDescription=keychain error} Same error also occurs in another application I have created which uses the GooglePlus Sign in. I Googled about it, but could not find anything useful. Please help! 回答1: Go to TARGETS

How to see the keychain for iphone simulator

六眼飞鱼酱① 提交于 2020-01-11 17:17:23
问题 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. 回答1: The iPhone simulator keychain is stored in ~/Library/Application Support/iPhone Simulator/<Version Number>/Library/Keychains/ and is in sqlite3 DB format. The

How to see the keychain for iphone simulator

萝らか妹 提交于 2020-01-11 17:16:49
问题 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. 回答1: The iPhone simulator keychain is stored in ~/Library/Application Support/iPhone Simulator/<Version Number>/Library/Keychains/ and is in sqlite3 DB format. The

Trust https://localhost:3000/ of MEAN stack in Chrome & Mac

故事扮演 提交于 2020-01-11 13:27:49
问题 I use Chrome in macOS Sierra 10.12.3. I guess I have already set up ssl for localhost long time ago. Now, both http://localhost/ and https://localhost/ in Chrome return the list of folders under localhost . I have created a nodejs app. So after typing npm start in a command line to run the server, we could open http://localhost:3000/#/home as frond-end in Chrome. Now, for some reason, I need to make https://localhost:3000/#/home work in Chrome. At the moment, it gives This site can't be

How to obtain Certificate Signing Request

╄→гoц情女王★ 提交于 2020-01-09 08:29:00
问题 How do I obtain a Certificate Signing Request? All I'm trying to do is get my app running on my ipod touch. This was easy as I could just go to the IOS development portal and just download one, no muss no fuss. But now they want me to create a CSR to create a provisioning profile and I don't know how. I've been derping around in Keychain Access and the online documents for the better part of two hours and I'm still completely lost. I'm not even sure why I need one now when I didn't before. I

How to obtain Certificate Signing Request

怎甘沉沦 提交于 2020-01-09 08:28:50
问题 How do I obtain a Certificate Signing Request? All I'm trying to do is get my app running on my ipod touch. This was easy as I could just go to the IOS development portal and just download one, no muss no fuss. But now they want me to create a CSR to create a provisioning profile and I don't know how. I've been derping around in Keychain Access and the online documents for the better part of two hours and I'm still completely lost. I'm not even sure why I need one now when I didn't before. I

Swift + Locksmith: Not getting stored Keychain Value

℡╲_俬逩灬. 提交于 2020-01-07 00:36:59
问题 So I seem to be having some issues getting this value from the Keychain. This is what I am using to save the password. This is called on the second view controller. do { try Locksmith.updateData(["password": "Boom123456"], forUserAccount: "KeychainDemo") } catch { print("Unable to set password") } When I go back to the first view controller that has the check for keychain item on: let dictionary = Locksmith.loadDataForUserAccount("KeychainDemo") if let passwordSaved = dictionary!["password"]?

iOS7: How to store a key / bool value in keychain

妖精的绣舞 提交于 2020-01-06 18:39:09
问题 I implement in-app purchases and all the products are non-consumable. My intention is to store bool values in the keychain for every product identifier, and later control the Core Data retrieves according to the stored bool values. My question is: How can I store key/bool values into the keychain? P.S: I use KeyChainItemWrapper. 回答1: Store it in form of NSNumber as it contains a special method + numberWithBool: to convert BOOL value to an object: [keychainItemWrapper setObject:[NSNumber

SecKeyRawSign osx with EC Cert

╄→гoц情女王★ 提交于 2020-01-06 03:49:13
问题 I am using Lion and Xcode 4.1. SecKeyRawSign is not documented for OSX still it can be called and successfully signed for RSA certificate but failed with EC Cert. SecKeyRawSign method returns -50 i.e. invalid parameters for ec cert-384. Can SecKeyRawSign be used for OSX and EC Cert? If yes what would be the padding parameter? Thanks in advance. 回答1: SecKeyRawSign is a private function in Mac OS 10.6 and 10.7, so you shouldn't use it. Its problem with ECC certificates may just be one of the

codesign: “Argument list too long”

怎甘沉沦 提交于 2020-01-05 07:25:38
问题 In the past, I had to codesign a .dmg file. The old certificate has since expired, and I have a new one to sign with. No problem, right? Do what I did last time? Yes. I exported the new certificate chain and private key as a .pfx file, in windows. It would seem I can import that directly into the OS X keychain tool, without converting to .p12 first. So I did. When it comes time to actually codesign, first try says it can't determine which certificate to use. So I put the old certificate chain