fix: support compressed archives and advanced character encoding

Signed-off-by: The one with the braid <info@braid.business>
This commit is contained in:
The one with the braid 2024-07-11 11:52:22 +02:00
parent 6e34b5220c
commit 0863580b23
4 changed files with 70 additions and 33 deletions

View file

@ -61,6 +61,8 @@ The following dependencies are used to correctly parse the PkPass file into a re
bytes.
- [`pub:barcode`](https://pub.dev/packages/barcode): Used to provide high-level access to barcode generation with the
proper encoding supported.
- [`pub:charset`](https://pub.dev/packages/charset): Used to gather the character encoding of files in the PkPass
archives.
- [`pub:crypto`](https://pub.dev/packages/crypto): Used for SHA1 signature verification as defined in the PkPass spec.
- [`pub:intl`](https://pub.dev/packages/intl): Used for localization lookup of localizable resources like Strings or
assets.
@ -102,4 +104,4 @@ Future<int> main(List<String> args) async {
Like this project? [Buy me a Coffee](https://www.buymeacoffee.com/braid).
License : EUPL-1.2
License : [EUPL-1.2](LICENSE)