keychain

Can't setup VPN connection using Network Extension Framework iOS 8 in Swift

扶醉桌前 提交于 2019-12-05 00:55:30
问题 So I've been trying to use the iOS 8 Network Extension Framework to setup a VPN connection when the users presses a UIButton. I've used the following tutorial: http://ramezanpour.net/post/2014/08/03/configure-and-manage-vpn-connections-programmatically-in-ios-8/ But for some reason it keeps asking for the vpn password and shared secret. Even though I set the passwordReference and sharedSecretReference. And if I enter these details when installing the profile it will still not work. It just

ios unique identifier across installs

ε祈祈猫儿з 提交于 2019-12-05 00:55: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. Do you mean AdIdentifier as adverting identifier, aka IDFA? https://developer.apple.com/reference/adsupport/asidentifiermanager/1614151-advertisingidentifier This value can be

Add a keychain to search list?

て烟熏妆下的殇ゞ 提交于 2019-12-05 00:30:10
I need to add a .keychain file to my keychains search list for some automated build tools. Currently I'm using security list-keychains command: list-keychains [-h] [-d user|system|common|dynamic] [-s [keychain...]] Display or manipulate the keychain search list. This command let's you set the entire keychain search list, but it does not provide a way to simply add another keychain. So adding a keychain becomes a 2 step process. Run list-keychains and parse the output Then do something like list-keychains -s ${existing_chains} ${new_keychain} While this works, it seems overly complicated and

How to link Touch ID with login credentials?

我只是一个虾纸丫 提交于 2019-12-04 18:56:51
问题 I'm able to validate a user Touch ID successfully. However, what's the safest way to retrieve the user login and password to perform login once the touch ID authentication is successful. For iTunes connect app, once the touch ID login is successful, seems like it will retrieve the password locally and fill it in the password UITextField. I'm guessing it's using keychain. However is it safe to store user credentials on the iPhone itself? Are there any other methods? 回答1: You want to store the

Multiple codesigning identities (i.e. certificate and private key pairs) matching were found

本小妞迷上赌 提交于 2019-12-04 18:16:29
问题 Code Sign error: Multiple matching codesigning identities found: Multiple codesigning identities (i.e. certificate and private key pairs) matching “iPhone Developer: Coders (4B4R89J5KK43GU33E64I4347VZ)” were found CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8.0' I am unable to test the app on the device. I also imported the .developerprofile file from my teammate, and was able to upload the app to app store, but cannot test app on device. In

Keychain Services Secure Notes

拜拜、爱过 提交于 2019-12-04 14:09:56
问题 The documentation for the Keychain Services API leaves a bit to be desired. One thing that I can't seem to locate are details on accessing the Secure Notes that the Keychain Access app lets you add and edit. Any insight would be much appreciated. Thanks. 回答1: I figured out that you can pull the data using the security command line tool. Secure notes are stored as generic passwords with the following characteristics: class: "genp" - this is the same as a generic password type<uint32>="note" -

Keychain + adhoc distribution

送分小仙女□ 提交于 2019-12-04 12:52:01
问题 To begin, some details : we are developing an iOS application currently using Swift/Xcode 6.1 GM 2 for development. We are having some confusing problems with keychain access when distributing applications ad hoc and have issues with tracking down what's the reason. All the provisioning profiles are matching the bundle name of our app. We use TestFlight for distribution although I don't think it's the problem. We have only managed to get it to work on iOS 7 devices that didn't have the app

How to implement client certificates and server authentication for iOS

限于喜欢 提交于 2019-12-04 12:03:54
问题 I have recently gone through an extremely arduous process to build something that should be very simple yet appears to be essentially un-findable in any one place. I’d like to try to put everything here to ask if I’m doing anything wrong and, if not, to help anyone who needs this information. Background: The product/service for which I was trying to provide security is built around WCF services on a Windows server that are accessible only though custom client apps on a PC or an iPad. One

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

前提是你 提交于 2019-12-04 11:44:35
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 also access the same token, I'm trying to set up Keychain sharing. In Apple's Developer Portal, I've

when should i store and re-store to keychain on ios swift?

假如想象 提交于 2019-12-04 10:49:13
I see in the appDelegate few methods and I'm not sure if storing and re-storing user state in just some of them covers all scenarios? func applicationWillResignActive(application: UIApplication) { // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this