-
Notifications
You must be signed in to change notification settings - Fork 810
Comparing changes
Open a pull request
base repository: openpgpjs/openpgpjs
base: v6.0.1
head repository: openpgpjs/openpgpjs
compare: v6.1.0
- 14 commits
- 132 files changed
- 3 contributors
Commits on Nov 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for daeaf6b - Browse repository at this point
Copy the full SHA daeaf6bView commit details
Commits on Nov 22, 2024
-
TS: add
gcm
toenums.aead
, mark non-standardexperimentalGCM
as…… deprecated `experimentalGCM` should not be used anymore, as a different a different algorithm ID was standardized for GCM, and using the experimental value could give interoperability issues with e.g. SEIPDv2 and AEAD-encrypted keys.
Configuration menu - View commit details
-
Copy full SHA for bbdaad0 - Browse repository at this point
Copy the full SHA bbdaad0View commit details -
Fix decryption support for non-standard, legacy AEAD messages and key…
…s that used `experimentalGCM` This adds back support for decrypting password-protected messages which were encrypted in OpenPGP.js v5 with custom config settings `config.aeadProtect = true` together with `config.preferredAEADAlgorithm = openpgp.enums.aead.experimentalGCM`. Public-key-encrypted messages are affected if they were encrypted using the same config, while also providing `encryptionKeys` that declared `experimentalGCM` in their AEAD prefs. Such keys could be generated in OpenPGP.js v5 by setting the aforementioned config values.
Configuration menu - View commit details
-
Copy full SHA for 4d2d874 - Browse repository at this point
Copy the full SHA 4d2d874View commit details -
Throw on encryption using non-standard
experimentalGCM
AEAD algoThe `enums.aead.gcm` ID standardized by RFC9580 should be used instead.
Configuration menu - View commit details
-
Copy full SHA for 6c3b028 - Browse repository at this point
Copy the full SHA 6c3b028View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf85dee - Browse repository at this point
Copy the full SHA bf85deeView commit details -
Internal: improve tree-shaking for crypto modules
Every submodule under the 'crypto' directory was exported-imported even if a handful of functions where actually needed. We now only export entire modules behind default exports if it makes sense for readability and if the different submodules would be imported together anyway (e.g. `cipherMode` exports are all needed by the SEIPD class). We've also dropped exports that are not used outside of the crypto modules, e.g. pkcs5 helpers.
Configuration menu - View commit details
-
Copy full SHA for 2a8969b - Browse repository at this point
Copy the full SHA 2a8969bView commit details -
Lightweight build: lazy load md5 hashing module
Used by old, legacy messages only
Configuration menu - View commit details
-
Copy full SHA for abe750c - Browse repository at this point
Copy the full SHA abe750cView commit details -
The existing md5 module brought in the util module, which messed up the chunking structure in the lightweight build; inlining those functions is an option, but the noble-hashes code is also more modern and readable.
Configuration menu - View commit details
-
Copy full SHA for a16160f - Browse repository at this point
Copy the full SHA a16160fView commit details -
Internal: avoid importing
enums
in legacy_cipher chunkTo avoid issues with the lightweight build: for now it works fine, but it could mess up chunking in the future, and it already results in a circular import.
Configuration menu - View commit details
-
Copy full SHA for a5d894f - Browse repository at this point
Copy the full SHA a5d894fView commit details -
Internal: improve tree-shaking of web-stream-tools
Import single functions instead of entire lib.
Configuration menu - View commit details
-
Copy full SHA for 8e5da78 - Browse repository at this point
Copy the full SHA 8e5da78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db98f1 - Browse repository at this point
Copy the full SHA 6db98f1View commit details
Commits on Nov 25, 2024
-
Improve internal tree-shaking and lazy load md5
Configuration menu - View commit details
-
Copy full SHA for b2bd8a0 - Browse repository at this point
Copy the full SHA b2bd8a0View commit details
Commits on Jan 29, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 432856f - Browse repository at this point
Copy the full SHA 432856fView commit details
Commits on Jan 30, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 96b13a4 - Browse repository at this point
Copy the full SHA 96b13a4View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v6.0.1...v6.1.0