Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add createEDCH support #381

Open
2 tasks done
Apollon77 opened this issue Jul 20, 2024 · 0 comments
Open
2 tasks done

✨ Add createEDCH support #381

Apollon77 opened this issue Jul 20, 2024 · 0 comments

Comments

@Apollon77
Copy link

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

@boorad boorad changed the title ✨ Add cresteEDCH support ✨ Add createEDCH support Jul 21, 2024
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

No branches or pull requests

1 participant