Pyimg4

Latest version: v0.8.6

Safety actively analyzes 687767 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.8.6

Major Changes
- Fix a bug where some LZFSE-compressed IM4Ps wouldn't be correctly recognized as compressed

**Full Changelog**: https://github.com/m1stadev/PyIMG4/compare/v0.8.5...v0.8.6

0.8.5

Major Changes
- Add `PYIMG4_FORCE_LZFSE` environment variable
- This environment variable forces the `lzfse` library to be used over `apple-compress` for *OS systems
- I don't recommend this to be used, but offering it for the sake of having a different option.

**Full Changelog**: https://github.com/m1stadev/PyIMG4/compare/v0.8.4...v0.8.5

0.8.4

Major Changes
- The compression libraries are now no longer an optional dependency.
- Fix a bug where incorrect Image4 payloads would be generated if any `extra` data was set (mostly A7-A9 kernelcaches)

**Full Changelog**: https://github.com/m1stadev/PyIMG4/compare/v0.8.3...v0.8.4

0.8.3

This is a small release to fix `pyimg4.IM4PData` not returning the correct compression type in some cases.

**Full Changelog**: https://github.com/m1stadev/PyIMG4/compare/v0.8.2...v0.8.3

0.8.2

**Major Changes**
- CLI: `pyimg4 img4 create` can now create an Image4 from raw data.
- CLI: `pyimg4 img4 extract` can now extract raw data from an Image4.
- CLI: `pyimg4 im4p info` now displays exact sizes when the verbose flag is passed,
- CLI: `pyimg4 im4p info` now prints the compression name correctly.
- Simplify ASN1-related code.
- Optimize compression-related code to prevent unnecessary (de)compressions from being done.

**API Changes**
- `pyimg4.IM4PData`
- `len(IM4PData)` now returns the size of `IM4PData.data`
- `IM4PData.compression` is now cached, and is set internally by `IM4PData._detect_compression()`


**Full Changelog**: https://github.com/m1stadev/PyIMG4/compare/v0.8.1...v0.8.2

0.8.1

**Major Changes**
- Add [`apple-compress`](https://github.com/m1stadev/apple-compress) dependency for proper LZFSE compression on Darwin systems. (#36)
- If you already have the `compression` dependencies installed, you will still need to manually install `apple-compress` if you don't already have it installed:
- `python3 -m pip install apple-compress`
- CLI: Add `pyimg4 im4m extract` command.
- This command extracts an Image4 manifest from an SHSH blob, with support for also extracting update/no-nonce blobs.
- Miscellaneous bug fixes.

**API Changes**
- `pyimg4.IM4PData`
- Can now take `extra` as an argument.
- Can now take `size` as an argument.
- This is meant to be the *uncompressed* size of the data. If you do not know the uncompressed size, you can choose to omit the argument, and it will be set to 0 by default (or the size of the data if uncompressed & unencrypted)
- Remove `get_lzfse_payload_size()`/`set_lzfse_payload_size()`


**Full Changelog**: https://github.com/m1stadev/PyIMG4/compare/v0.8...v0.8.1

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.