keychain

Running iOS apps causes runtime error for frameworks “code signature invalid”

末鹿安然 提交于 2020-02-11 07:59:07
问题 Every time I try to run this app it builds OK, and installs but as soon as it runs the app breaks and prints this error message. XCode 11 and iOS 13. dyld: Library not loaded: @rpath/StandardCyborgFusion.framework/StandardCyborgFusion Referenced from: /private/var/containers/Bundle/Application/2292CCF2-800F-4E28-AF10-A1B98081DD0A/StandardCyborgExample.app/StandardCyborgExample Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/2292CCF2-800F-4E28-AF10

Swift - Locksmith loadDataForUserAccount fails sometimes?

佐手、 提交于 2020-02-06 23:59:09
问题 I have a strange bug that is occurring only on few user iPhones, details below - The app consumes a universal framework (developed by ourself) to save accessToken and refreshToken after successful login to the Keychain. We are using Locksmith to achieve the functionality - Save, load data and delete when the user is logged out. Everytime when the app is killed and launched or applicationWillEnterForeground , the tokens are refreshed with the help of a service call and are saved to keychain

Cannot create developer certificate on Mac

橙三吉。 提交于 2020-01-24 12:43:16
问题 This happened overnight. Yesterday I was able to work on my .NET Core we application. Now every time I try to do a dotnet run I get the following error in my cmd line: As you can see, I tried running the suggested commands to create a developer certificate which are dotnet dev-certs https and then dotnet dev-certs https --trust . Running both of them, I get There was an error saving the HTTPS developer certificate to the current user personal certificate store. Before I ran those commands, I

OS X Keychain access using C/C++

£可爱£侵袭症+ 提交于 2020-01-16 08:43:29
问题 I am trying to write a simple test application to access OS X keychain. Add/Update/Delete an entry using C/C++. I am just testing whether I can use this in a larger C/C++ code base that we have, where we need a secure secret storage, hence the language requirements. I looked up the API that Apple has on this but that is mostly in Objective-C. Are there any solutions anyone is aware of? The only thing I could find was Apple's Security tool which seems old and am not sure if the APIs are still

SecItemAdd() Succeeds with kSecAttrAccessibleWhenUnlocked But Fails with kSecAttrAccessibleWhenUnlockedThisDeviceOnly

不问归期 提交于 2020-01-15 09:24:34
问题 The Story So Far Four months ago, I posted this question because the upgrade to iOS 13 was breaking my keychain-related code. My code stores the user's password in the keychain using class kSecClassGenericPassword and access attribute kSecAttrAccessibleWhenUnlocked . As explained in my own answer to that question, I finally got my code to work also on iOS 13 by cleaning up the query dictionaries a bit. The Current Problem A few weeks ago, I was asked to disable backing up of the password data

Can't access saved in a Xamarin.iOS keychain value

僤鯓⒐⒋嵵緔 提交于 2020-01-15 06:12:22
问题 In my app I have two methods which help me save and get values from keychain public static void StoreKeysInKeychain(string key, string value) { DeleteKeyFromKeychain(key); var s = new SecRecord(SecKind.GenericPassword) { ValueData = NSData.FromString(value), Generic = NSData.FromString(key) }; SecKeyChain.Add(s); Console.WriteLine(GetRecordsFromKeychain(key)); } public static string GetRecordsFromKeychain(string key) { SecStatusCode res; var rec = new SecRecord(SecKind.GenericPassword) {

XCode 9.3 can only remember one account and shows unknown team name

自古美人都是妖i 提交于 2020-01-14 15:32:29
问题 My Xcode has upgraded to Version 9.3, I have more than one Apple account, it works well when I add one more account to Xcode, but only one account is left when reopening Xcode, and the Team field shows "Unknown Name XXX". This may be caused by Keychain, and I have deleted the corresponding certificates, but the issue is still the same. 来源: https://stackoverflow.com/questions/49871277/xcode-9-3-can-only-remember-one-account-and-shows-unknown-team-name

XCode 9.3 can only remember one account and shows unknown team name

时光怂恿深爱的人放手 提交于 2020-01-14 15:28:49
问题 My Xcode has upgraded to Version 9.3, I have more than one Apple account, it works well when I add one more account to Xcode, but only one account is left when reopening Xcode, and the Team field shows "Unknown Name XXX". This may be caused by Keychain, and I have deleted the corresponding certificates, but the issue is still the same. 来源: https://stackoverflow.com/questions/49871277/xcode-9-3-can-only-remember-one-account-and-shows-unknown-team-name

XCode 9.3 can only remember one account and shows unknown team name

馋奶兔 提交于 2020-01-14 15:28:32
问题 My Xcode has upgraded to Version 9.3, I have more than one Apple account, it works well when I add one more account to Xcode, but only one account is left when reopening Xcode, and the Team field shows "Unknown Name XXX". This may be caused by Keychain, and I have deleted the corresponding certificates, but the issue is still the same. 来源: https://stackoverflow.com/questions/49871277/xcode-9-3-can-only-remember-one-account-and-shows-unknown-team-name

Open Local Items Keychain?

亡梦爱人 提交于 2020-01-13 09:27:27
问题 Does anyone know how to open the Local Items keychain (new in Mavericks) with SecKeychainOpen ? There are certain entries in that keychain that I'd like to be able to ask the user permission to access using SecKeychainFindInternetPassword . e.g. for the System keychain you call SecKeychainOpen ("/Library/Keychains/System.keychain",&keychainRef) . 来源: https://stackoverflow.com/questions/21257625/open-local-items-keychain