mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-25 23:52:30 +00:00

This is a breaking change, as NIST curves identifiers and values in `enums.curves` have been renamed: - the identifiers `enums.curve.p256`, `.p384`, `.p521` are now marked as `@deprecated` - the new identifiers are, respectively: `enums.curve.nistP256`, `.nistP384`, `.nistP521`. - the corresponding values have been changed from `'p256'`,`'p384'`,`'p521'` to `'nistP256'`, `'nistP384'`, `'nistP521'`. Affected high-level API functions: - in `generateKey`, the `options.curve` argument will expect the updated string values - `Key.getAlgorithmInfo()` will return the updated `curve` values