keychain

iOS codesigning specs [closed]

拈花ヽ惹草 提交于 2019-12-31 08:58:15
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I want to create a tool for codesigning iOS apps on a linux server remotely. I know codesign is oss but relies heavily on the keychain and is not as portable. I know Adobe has a codesign utility for win and mac within flash that takes the provisioning profile, .p12, and .cer and

Keychain Query Always Returns errSecItemNotFound After Upgrading to iOS 13

五迷三道 提交于 2019-12-31 08:57:38
问题 I am storing passwords into the iOS keychain and later retrieving them to implement a "remember me" (auto-login) feature on my app. I implemented my own wrapper around the Security.framework functions ( SecItemCopyMatching() , etc.), and it was working like a charm up until iOS 12. Now I am testing that my app doesn't break with the upcoming iOS 13, and lo and behold: SecItemCopyMatching() always returns .errSecItemNotFound ...even though I have previously stored the data I am querying. My

Apple Certificate for iOS Developer and Mac Developer is expired “The certificate has an invalid issuer” [duplicate]

喜欢而已 提交于 2019-12-30 11:21:09
问题 This question already has answers here : This certificate has an invalid issuer Apple Push Services (11 answers) Code Signing error,iOS9 [duplicate] (1 answer) Closed 3 years ago . The certificate has an invalid issuer Apple Certificate for IOS and Mac is not working all show they are expired but they not expired. 回答1: For first you need clean you keychain. Remove "Apple Worldwide Developer Relations Certification Authority" from all places. from System and Login tab Download from apple.com

How to sync keychain over iCloud

元气小坏坏 提交于 2019-12-30 06:17:47
问题 I wan't to store sensitive data for my app in the keychain. I'd also like this to sync over devices, using iCloud. According to Apple this is possible: Does iCloud Keychain work with third-party apps? Yes. Developers can update their apps to work with iCloud Keychain. Passwords saved by those apps are kept up to date on all devices that use the app and are using iOS 7.0.3 or later or OS X Mavericks v10.9 or later. However, I can't find any documentation about what is needed by the app. Will

Save data in Keychain only accessible with Touch ID in Swift 3

北城余情 提交于 2019-12-29 16:26:36
问题 I'm working on a peace of code that should do the following: Store some data in Keychain. Get the data only if a user authenticates with Touch ID or Pass Code. I watched the Keychain and Authentication with Touch ID presentation and understood the following: If you set the right parameter while adding a new value in to Keychain, next time you'll try to get it out, the system will automatically show the Touch ID popup. I wrote some code, and my assumption doesn't work. This is what I have

Save data in Keychain only accessible with Touch ID in Swift 3

只愿长相守 提交于 2019-12-29 16:26:16
问题 I'm working on a peace of code that should do the following: Store some data in Keychain. Get the data only if a user authenticates with Touch ID or Pass Code. I watched the Keychain and Authentication with Touch ID presentation and understood the following: If you set the right parameter while adding a new value in to Keychain, next time you'll try to get it out, the system will automatically show the Touch ID popup. I wrote some code, and my assumption doesn't work. This is what I have

iOS SFHFKeychainUtils failing *sometimes* with error -25308 errSecInteractionNotAllowed

ⅰ亾dé卋堺 提交于 2019-12-29 10:16:08
问题 I have this code getting back a password from the keychain for a given username NSString: NSError *error = nil; NSString *appName = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString*)kCFBundleNameKey]; NSString *pw = [SFHFKeychainUtils getPasswordForUsername:username andServiceName:appName error:&error]; if(error != nil) // log the error Most of the time for most users this all works fine - but for some specific users this call seems to fail (and carry on failing) where it

iPhone-like Keychain in Android?

强颜欢笑 提交于 2019-12-29 05:05:40
问题 I'm looking for something like the keychain on the iPhone, but for Android development. Something that gives me the possibility to save small key-value pairs, that are persistent and unchanged even if the user reinstalls the application. Is there something like that? Can I use the standard preferences that way? I would like to achieve a behavior in a way it works with games on a PC writing the save games to another folder so that after delete and later reinstall they are not lost. Edit The

Adding private key into iOS Keychain

早过忘川 提交于 2019-12-28 09:18:09
问题 I am trying to add a private key into the iOS keychain. The certificate (public key) works fine but the private key refuses... I am totally confused why the following code does not work. First I am checking if the current key (=key in case of that the Keychain is a key/value store) is 'free' in the Keychain. Then I am going to add the private key. CFStringRef labelstring = CFStringCreateWithCString(NULL, [key cStringUsingEncoding:NSUTF8StringEncoding], kCFStringEncodingUTF8); NSArray* keys =

Getting “A valid signing identity matching this profile could not be found in your keychain” warning

跟風遠走 提交于 2019-12-28 03:18:13
问题 I hope to test my app on iPod Touch I created development provisioning profile. I dragged downloaded .mobileprovision file to Organizer There is a yellow triangle warned that "A valid signing identity matching this profile could not be found in your keychain" The others distribution provisioning profiles have no any problem. I checked my connected iPod Touch. Organizer also said that: OS Installed on "interdev"'s iPod 3.1.3 (7E18) Xcode Supported iPhone OS Versions 3.1.1 (7C146) 3.1.1 (7C145)