Missing private key in keychain access

Hi I need to export my private key for push notification. So i followed all steps from https://www.appcoda.com/firebase-push-notifications/ But after creating AppId I am not able to see private key (drop down arrow) in my key chain access. I have rea...
more »

2017-09-19 16:09 (0) Answers

Keychain sharing in Mac apps doesn't work

I try to use Keychain Sharing to save password from one app and read it in another, but Keychain still asks for permission, like without Keychain Sharing. Writer code: var keychainParams : [String : Any] = [ kSecAttrAccessible as String...
more »

2017-09-01 23:09 (0) Answers

Get Keychain store data from application on store?

Is it possible to get keychain data stored in application from the application which is currently on appstore. i want to update my application version but required some of my data stored in keychain to get from previous application like username and ...
more »

2017-08-22 12:08 (0) Answers

Cannot save Security Item to Keychain

I am trying to save SecIdentity item into the keychain using Swift 3. After saving status of operation is alway 0 (Successful), but when I try to retrieve the saved one, status is -25300 (which means that object does not exist) What I'm doing wrong? ...
more »

2017-08-12 08:08 (0) Answers

Where does NSHTTPCookieStorage store the cookies

For security reasons, I am debating whether to let sharedHTTPCookieStorage handle my cookies or handle them myself by saving them in a known secure way. But I first need to know how NSHTTPCookieStorage stores the cookies. Its probably secure yes, but...
more »

2017-08-08 02:08 (0) Answers

Safe to to store data in the keychain?

I'm developing an application for iOS and macOS, and I needed to store a hash value in the keychain. I noticed from a couple of different places including Apple, that a user can reset a keychain or create a new one. If they reset this will it also re...
more »

2017-04-13 23:04 (1) Answers

Unclear logs flood at the console

I can see a lot of repeated logs at the console with the form: Subsystem: com.apple.securityd Category: dbsession DataGetNext(6080002782bb) and Subsystem: com.apple.securityd Category: dbsession FreeUniqueRecord: 6080002782bb I have a suspec...
more »

2017-03-12 16:03 (1) Answers

ios unique identifier across installs

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 unin...
more »

2017-03-08 14:03 (2) Answers

Intercept Certificate Validation on MacOS

All of the research I have done has not turned up anything useful. I am trying to "intercept" or "detect" the validation of a certificate signers using Keychain on MacOS. For instance, when Safari or Chrome (not firefox since it brings its own ke...
more »

2017-02-14 04:02 (0) Answers

Copy client identity to private keychain on Mac OS

Background I'm working on big mutiplatform library where client identity is used. Requirement is that application maintains client identity privately and it is possible to import client identity from system store (in case of Mac OS default keychain)...
more »

2017-02-13 14:02 (0) Answers

Swift Reset password stored in keychain only?

I am about to write the login part of my app (users save health data so they need to lock the app if they are so inclined to access it). I will just use keychain for the password/username. I cannot figure out what happens if the user forgets their pa...
more »

2017-02-03 18:02 (0) Answers

Game Data Persistence Across Devices

I'm still in the very early stages of a game, and I am saving information using a KeyChain wrapper class someone made. I wanted to ask for some advice early on, since I have time to change my approach. My game has the potential to persist a fair amo...
more »

2016-12-17 04:12 (2) Answers

Deleting Keychain when uninstalling iOS app

I have been reading several posts regarding this issue, for example Delete keychain items when an app is uninstalled and iOS autodelete Keychain items after uninstall?. They say that, when you uninstall an app, its Keychain is not deleted, but the po...
more »

2016-12-12 12:12 (2) Answers