Skip to content

✨ Add createEDCH support #381

@Apollon77

Description

@Apollon77

What feature or enhancement are you suggesting?

We currently trying to get https://github.com/project-chip/matter.js running in react-native to allow developers to build Matter compatible devices or controllers as mobile applications.
Matter.js is a "pure JavaScript "implementation of the Matter iot standard, but it requores some platform specific functionalities like Crypto. For node.js we alraeyd have a package that uses the nodejs "crypto" module - https://github.com/project-chip/matter.js/blob/main/packages/matter-node.js/src/crypto/CryptoNode.ts

We now try to build the same for react native and use your implementation as "nodejs like drop in replacement" (see https://github.com/project-chip/matter.js/blob/main/packages/matter.js-react-native/src/crypto/CryptoReactNative.ts)

So we also need createEDCH ...

What Platforms whould this feature/enhancement affect?

iOS, Android

Alternatives/Workarounds

We are currently iterating in a development environment and use https://www.npmjs.com/package/create-ecdh with a patched brorand sub library (because we need to tweak the wy it initializes) and that seems to work, but would be cool if it would be integrated :-)

Additional information

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