keychain

Keychain unable to import p12 properly and system keychain looks messed up

非 Y 不嫁゛ 提交于 2019-12-24 01:58:09
问题 I have .p12 file of ios Development certificate, I want to import it into my login keychain. But when I double tap it goes inside certificates instead of MyCertificates and it doesn't have expand arrow. Because of this, I am not able to archive my iOS project. While codesigning I am getting an error saying "The specified item could not be found in keychain". keychain after importing p12 And I also cant see any private keys for my system keychain certificates(cant see the expand arrow). Please

MacOS X Keychain: Can't set an app as trustworthy

懵懂的女人 提交于 2019-12-24 01:55:46
问题 I would like to add an app (STS.app, the SpringSource ToolSuite) to the list of trusted apps for a given password entry within my keychain. The list already contains some apps (svn, Eclipse.app) but I can't add the given STS.app. After I choose that file from the file dialog, the list remains unchanged. I can delete/add other apps, e.g. the mentioned Eclipse.app but not the STS.app. Both files have equal permissions, but STS.app contains the com.apple.quarantine extended attribute. I can

Accessing OS X keychain item from trusted application

痞子三分冷 提交于 2019-12-23 21:53:17
问题 I'm creating a keychain and then I'm adding an item with predefined trusted aplication list to it: SecKeychainCreate([keychainPath UTF8String], (UInt32)strlen(keychainPass), keychainPass, FALSE, NULL, &someKeychain); OSStatus someStatus = SecKeychainItemCreateFromContent(kSecGenericPasswordItemClass, &list, len, encryptedPass, someKeychain, accessRef, &someKeychainItem); When I open the newly created keychain with Keychain Access application, I can see my application on the trusted app list:

How to safely pass user access token (sensitive data) to another iOS app when deep-linking

巧了我就是萌 提交于 2019-12-23 12:13:28
问题 I am working on an iOS app which will handle user login for other apps. When a login is successful the user will be redirected to user's selected app (if installed) with iOS deep linking using URL schemes. Upon redirect I would like to pass a user access token to the opening app. The receiving app should somehow be entitled to read the token. It is not an option to pass it in the url because of the following (from Apple docs https://developer.apple.com/library/content/documentation/iPhone

Can't run Xcode project on device due to certificate issues

℡╲_俬逩灬. 提交于 2019-12-23 05:04:43
问题 This is the first question I've ever posted. I am trying to run an Xcode 9.0.1 project on an iPhone 6 Plus and these three errors come up: Code Signing Error: The user name or passphrase you entered is not correct. Code Signing Error: No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "KP3X78QM3M" with a private key was found. Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.0' I suspect this is

.NET Core - C# - MacOS | Keychain API

痴心易碎 提交于 2019-12-23 03:14:09
问题 Trying to set/get some passwords into Keychain on MacOS, using C#. Managed to add Xamarin.iOS assembly, but can't seem to go further. This is what I have, using System; using Security; using Foundation; var query = new SecRecord(SecKind.InternetPassword) { Server = "bugzilla.novell.com", Account = "miguel" }; But get an exception, which isn't that useful. I am not sure what value is null. This above example is straight from Xamarin website, but doesn't work. New to this Keychain business, so

Successfully stored String value to keychain, but always failed to read it out

时光毁灭记忆、已成空白 提交于 2019-12-22 13:46:46
问题 I am developing an iOS project with XCode8 + Swift3. I have created the following two functions to store string to keychain and read it back from keychain: var query: [String: Any] = [ kSecClass as String: kSecClassGenericPassword, kSecAttrService as String: "my service", kSecAttrAccount as String: "my-key" ] func storeString(value: String) -> Bool { if let data = value.data(using: .utf8) { // delete data if exist SecItemDelete(query as CFDictionary) // add value to query query[kSecValueData

iOS app cannot be opened after update

﹥>﹥吖頭↗ 提交于 2019-12-22 11:37:11
问题 We have an app live in the app store for almost an year, and we've been receiving several bad reviews from customer which cannot open the app after updating it. Users have reported they are unable to launch the application following deleting and subsequently reinstalling the application. One user did indicate they could launch the application only following a factory reset of their iPhone. We believed the issue was related to the Keychain, since this seems to be persistent in the system. For

ios unique identifier across installs

雨燕双飞 提交于 2019-12-22 03:41:18
问题 We need to uniquely identify the device and it has to be same across installs (reinstall). We have been using identifier stored in keychain till now so it persists across installs. Now with 10.3 beta the key chain is auto deleted when the app is uninstalled. Ref: https://forums.developer.apple.com/thread/72271 Can we use AdIdentifier as unique identifier. We have ads served and we are at the moment using it for the same. 回答1: Do you mean AdIdentifier as adverting identifier, aka IDFA? https:/

Code signing issues and crashes after attempting to set up Keychain sharing

二次信任 提交于 2019-12-21 20:43:36
问题 I'm working on an app for Mac OS that consists of three binaries: The main app, to be installed in the Applications folder. A widget (for OS X Yosemite) A LoginItem that monitors some stuff in the background (daemon-like, always running) All three binaries connect to a certain web service with the same OAuth token. The token is retrieved by the main app (on first run, after the user signed in to the service) and stored in the system's Keychain. To make sure the other two parts of the app can