Skip to content

Conversation

@alessioemireni
Copy link
Contributor

@alessioemireni alessioemireni commented Jul 6, 2023

The purpose of this PR is to modify the actual flow that sets the client cert in the Keystore/Keychain.
Previously we pass a PEM containing the string representation of the private key, now we pass the key that gets the private key from the Keystore/Keychain (it's not possible to encode the private key --> https://stackoverflow.com/a/35822695/6324764).

If you want to test please use this PR --> https://github.com/bcmi-labs/iot-cloud-remote-ios/pull/348

@alessioemireni alessioemireni marked this pull request as draft July 6, 2023 15:49
@alessioemireni alessioemireni requested review from Splact and rformato July 7, 2023 13:31
@alessioemireni alessioemireni requested a review from balsick July 7, 2023 13:32
@alessioemireni alessioemireni self-assigned this Jul 7, 2023
@alessioemireni alessioemireni marked this pull request as ready for review July 7, 2023 13:32

let status = SecItemCopyMatching(query as CFDictionary, &result)

if status == errSecSuccess {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we have an error here, do we manage to reject the parent promise?

@alessioemireni alessioemireni deleted the branch feat/APP-481-mqtt-csrwithec-android July 12, 2023 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants