Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

feature request: signing #2

Open
ramajd opened this issue May 20, 2020 · 1 comment
Open

feature request: signing #2

ramajd opened this issue May 20, 2020 · 1 comment

Comments

@ramajd
Copy link

ramajd commented May 20, 2020

in order to use hardware-backed ECEncryption for signing purpose, we need to:

  1. send the public key to other parties in some way
  2. sign the data using private key

is it feasible to add this functionality? if yes, it would be great to have that in this library.

@hanwencheng
Copy link
Contributor

hanwencheng commented May 22, 2020

Leave some comments as I see they are not easy to fix features, I would to check further after finish my priorities, but PRs are welcome!

sign the data using private key

Maybe check react-native-ecc to see if it fits your use case. Since this lib is focus on our specific usage on adding extra security layer for secret data, and thus does not include the signing part. But it is totally doable.

send the public key to other parties in some way

Then the public key need to be export and import in another device in some form. On android need to check if KeysetHandler has the support, and on iOS I think it is possible since only private key store in the secure enclave, but how to import it need also some further learning.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants