This is a prerelease of v5.0.0. The full changelog since OpenPGP.js v4 can be found here. The changelog since v5.0.0-0 is:
- Fix unhandled promise rejection when stream-decrypting non-MDC messages (#1260)
- Rename
config.ignoreMdcError
toconfig.allowUnauthenticatedMessages
(#1261) - Do not support creating symmetrically encrypted message packets without integrity protection
- Use
config.aeadProtect
to determine private key encryption mode - Check critical notations during signature verification instead of during parsing (#1259)
- Remove KeyRing class (keyring handling and storage should be handled in the application, as localStorage may not meet the durability requirements of the application, for example)
- Move WKD client to openpgpjs/wkd-client
- Move HKP client to openpgpjs/hkp-client
- Switch packages installed from git to
@openpgp
npm scope - Update web-stream-tools
- Default to empty filename when creating messages
- Update documentation
- Update TypeScript definitions