Skip to content

Feature Request: Extension for key exchange #1

Description

@patmuk

Exposing the underlaying API for key exchange would increase the usability of this package tremendously!

With a key exchange two parties can use the Secure Enclave to create a symmetric key independently (ECDH). This is a very safe way to do so, to exchange encrypted data.

You can leverage these API endpoints:

Android: android.security.keystore.KeyAgreement with the PrivateKey obtained from the AndroidKeyStore.

iOS: SecKeyCopyKeyExchangeResult from Security.framework using the SecKeyRef for the specified alias.

Thanks for considering!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions