cloudflare / opaque-ts

A TypeScript library for OPAQUE Asymmetric Password-Authenticated Key Exchange Protocol
BSD 3-Clause "New" or "Revised" License
82 stars 9 forks source link

Consider using noble-curves for keygen #8

Open paulmillr opened 1 year ago

paulmillr commented 1 year ago

curves recently got out. This could be an opportunity to:

  1. Make API synchronous
  2. Improve compatibility with environments where EC is not available in native webcrypto
  3. Add support for additional curves, such as secp256k1, or any other curve, including custom ones.

As a side note, you're using hash-to-curve which is also implemented in curves.

We will probably publish an audit of the library some time soon.

armfazh commented 1 year ago

@paulmillr thanks for reaching, nice work with noble packages. We will consider the package. I will left open this ticket, if some is interested in helps us with the migration.