Using the bundle identifier for keys stored in the iOS keychain prevents sharing keys between the app and an extension (e.g. for DCAPI) because the two callers do not share the same bundle identifier. Even using https://developer.apple.com/documentation/security/sharing-access-to-keychain-items-among-a-collection-of-apps doesn't help then.
|
val bundleId = NSBundle.mainBundle.bundleIdentifier |
Using the bundle identifier for keys stored in the iOS keychain prevents sharing keys between the app and an extension (e.g. for DCAPI) because the two callers do not share the same bundle identifier. Even using https://developer.apple.com/documentation/security/sharing-access-to-keychain-items-among-a-collection-of-apps doesn't help then.
signum/supreme/src/iosMain/kotlin/at/asitplus/signum/supreme/os/IosKeychainProvider.kt
Line 47 in 7580829