Skip to content

Conversation

@larabr
Copy link
Collaborator

@larabr larabr commented Sep 2, 2025

Regression introduced in #1826 (v6.2.0) .
Due to internal fflate lib changes , part of the compressed data ended up being discarded, leading to a corrupted compressed payload for the encrypted/signed message, which cannot be decompressed.

Compression is disabled by default in openpgpjs.
Hence, the issue affects only users who enabled zlib compression via e.g. config.preferredCompressionAlgorithm = openpgp.enums.compression.zlib and encrypted or signed data larger than 65KB.

Regression introduced in openpgpjs#1826
(v6.2.0) .
Due to internal fflate lib changes, part of the compressed data ended up being discarded,
leading to a corrupted compressed payload for the encrypted/signed message,
which cannot be decompressed.

Compression is disabled by default in openpgpjs.
Hence, the issue affects only users who enabled zlib compression via e.g.
`config.preferredCompressionAlgorithm = openpgp.enums.compression.zlib`
and encrypted or signed data larger than 65KB.
@larabr larabr force-pushed the fix/fflate-v8-zlib-corruption branch from cb3a8b7 to 0ab548c Compare September 2, 2025 12:30
@larabr larabr merged commit 93d9df7 into openpgpjs:main Sep 2, 2025
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants