Skip to content

[Seal][Story] Replace compression library

Current: In the current Seal implementation we are using Zlib(https://www.npmjs.com/package/zlibjs) with Inflate algorithm for compressing seal and attachments. This resulted in enormous CPU and RAM usages, for all implementators of the seal library.

Changes: The Zlib library is deprecated, instead of it we are using flatte (https://github.com/101arrowz/fflate) and Gzip instead of Inflate. All new seals we go with Gzip, Inflate will stay for backward compatibility.

Scope:

  1. Seal product

    Signing library

    Seal

    Web verification app

    Iframe

  2. VPO

    Seal-registry service

QA Notes: Backwards compatibility with old emails with or without attachments in or not ipfs needs to be tested. Additional fix is added for large files in IPFS. /Request body larger than maxBodyLength limit fix/

Release Process: The order of merging is the same as in the scope.

Edited by Zdravko Iliev