mirror of
https://github.com/kccleoc/seedpgp-web.git
synced 2026-03-07 01:47:52 +08:00
Overhauls the `krux.ts` library to correctly decrypt QR codes from Krux devices that use Base43 encoding and zlib compression. - Replaces the previously buggy `krux.ts` with a clean implementation. - `KruxCipher.decrypt` now correctly uses `pako.inflate` to decompress the payload for compressed KEF versions (e.g., v21), which was the final missing step. - The `decryptFromKrux` function robustly handles both hex and Base43 encoded inputs. - This resolves the 'decryption failed' error for valid Krux QR codes.