mkst / zte-config-utility

Scripts for decoding/encoding config.bin for ZTE routers
MIT License
235 stars 77 forks source link

Print better error when decrypting as the wrong type #23

Closed 811Alex closed 3 years ago

811Alex commented 3 years ago

Decrypting a type 4 payload (digimobil style, CBC instead of ECB), using a key instead of S/N, raises an exception. This prints a more user-friendly error, when that's the case. Closes https://github.com/mkst/zte-config-utility/issues/18