You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used KeychainAccess to store our encryption key in keychain. We encountered bug when upgrading our application Swift version from 4.2 to 5.0 the key dissapeared from keychain.
let keychain = Keychain(service: serviceId)
var key = Data(count: 64)
_ = key.withUnsafeMutableBytes { bytes in
SecRandomCopyBytes(kSecRandomDefault, 64, bytes)
}
try? keychain.set(key, key: keyId)
The text was updated successfully, but these errors were encountered:
Hi,
We used KeychainAccess to store our encryption key in keychain. We encountered bug when upgrading our application Swift version from 4.2 to 5.0 the key dissapeared from keychain.
The text was updated successfully, but these errors were encountered: