Post

Replies

Boosts

Views

Activity

SecKeyCreateWithData returns nil in iOS 17
When I'm trying to create SecKey using SecKeyCreateWithData it returns nil in iOS 17 with following error: Optional(Swift.Unmanaged<__C.CFErrorRef>(_value: Error Domain=NSOSStatusErrorDomain Code=-50 "EC private key creation from data failed" UserInfo={numberOfErrorsDeep=0, NSDescription=EC private key creation from data failed})) guard let secKey = SecKeyCreateWithData(privateKey as CFData, attributes as CFDictionary, &error) else { print(error.debugDescription) throw EosioError(.keyManagementError, reason: error.debugDescription) } It still working fine on iOS 16.4
4
0
926
Sep ’23