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
Test Case '-[Peacemakr_iOS_Tests.SDKIntegrationTests testEncryptDecrypt]' started.
Test Org API Key: Btc+XtUWde6/fWhJPFTN3nch+8+B5ADhi88HN4BTCcA= nil
Test Case '-[Peacemakr_iOS_Tests.SDKIntegrationTests testEncryptDecrypt]' passed (170.804 seconds).
Test Case '-[Peacemakr_iOS_Tests.SDKIntegrationTests testRegister]' started.
Test Org API Key: Btc+XtUWde6/fWhJPFTN3nch+8+B5ADhi88HN4BTCcA= nil
no error
Test Case '-[Peacemakr_iOS_Tests.SDKIntegrationTests testRegister]' passed (0.711 seconds).
Test Case '-[Peacemakr_iOS_Tests.SDKIntegrationTests testSync]' started.
Test Org API Key: Btc+XtUWde6/fWhJPFTN3nch+8+B5ADhi88HN4BTCcA= nil
no error
symmetric_decrypt: 197 - error:00000000:lib(0):func(0):reason(0)
When running this blob:
// If ECDH then do the keygen
var decryptKey: PeacemakrKey
if myPrivKey.getConfig().asymmCipher.rawValue >= AsymmetricCipher.ECDH_P256.rawValue {
guard let ecdhKey = PeacemakrKey(symmCipher: deserializedCfg.1.symmCipher, myKey: myPrivKey, peerKey: pKey!) else {
Logger.error("Unable to perform ECDH Keygen")
completion(NSError(domain: "Unable to perform ECDH Keygen", code: -12, userInfo: nil))
return
}
decryptKey = ecdhKey
} else {
decryptKey = myPrivKey
}
And then the key failed to decrypt the downloaded ciphertext of the delivered keys for a sync. Or maybe no client key updates work.
Happens only after loading Simulator with one set of keys, and switching the client config from RSA -> ECDH.
The text was updated successfully, but these errors were encountered:
To repro:
Switch test org to use ECDH 256,
Then run sync test,
Note that this error happens:
When running this blob:
And then the key failed to decrypt the downloaded ciphertext of the delivered keys for a sync. Or maybe no client key updates work.
Happens only after loading Simulator with one set of keys, and switching the client config from RSA -> ECDH.
The text was updated successfully, but these errors were encountered: