IOS Keychain Communication between devices

I have a group of applications that use the same key group to exchange sensitive data. It works great when testing applications on one device, they can access and edit common data. I wonder if it is possible to exchange data between iDevices, my iPad (iOS 7) and iPhone (iOS 6) seem to store them separately (is it local?), I thought it was stored securely on Apple servers, as it is called iCloud Keychain .

I use the KeychainWrapper class from the RayWenderlich tutorial with a slight modification to have a unique keychain access group.

+ (NSMutableDictionary *)setupSearchDirectoryForIdentifier:(NSString *)identifier {
    ...
    //Added this line 
    [searchDictionary setObject:KEYCHAINGROUP forKey:(__bridge id)kSecAttrAccessGroup];
    ...
    return searchDictionary;
}

Is it possible to share data between devices and applications using Keychain? If so, how do I implement it?

+4
source share
1 answer

The key fob stores data on the local device. If you need to exchange sensitive data between devices, you can encrypt data and save it in iCloud.

0
source

Source: https://habr.com/ru/post/1537965/


All Articles