mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-02-26 13:07:25 +00:00
Keep supporting the old names as well though in `openpgp.generateKey` and `getAlgorithmInfo`, but not in `openpgp.key.generate` (as it is recommended that developers use `openpgp.generateKey` instead, and it now throws when using `numBits` instead of `rsaBits`, so there's no risk of silent key security downgrade). The old names are now deprecated, and might be removed in v5.