mirror of
https://github.com/kccleoc/seedpgp-web.git
synced 2026-03-07 09:57:50 +08:00
Implements zlib decompression for encrypted Krux QR codes, resolving the final decryption failure. - Adds `pako` as a dependency to handle zlib (deflate/inflate) operations in JavaScript. - Overhauls `krux.ts` to be a more complete port of the `kef.py` logic. - `VERSIONS` constant is updated to include `compress` flags. - `KruxCipher.decrypt` now checks the KEF version and uses `pako.inflate` to decompress the plaintext after decryption, matching the behavior of the official Krux implementation. - This fixes the bug where correctly identified and decoded Krux payloads still failed to produce a valid mnemonic.
49 KiB
49 KiB