Skip to content

v2.4.1: Prefixed encoding Parameter fix

Pre-release
Pre-release
Compare
Choose a tag to compare
@MatrixEditor MatrixEditor released this 16 Jan 20:40
· 3 commits to master since this release

What's Changed

Fixes

As #18 points out, the Prefixed class now uses a struct as its second parameter, breaking with previous versions of caterpillar. Even the encoding parameter wasn't applied correctly, which has been fixed too.

  • Fixed Prefixed class behavior and added some tests
  • Added a missing import of HMAC from caterpillar.fields.digest

Misc

  • Added an example of how to use a message digest (HMAC)
  • Following @Niluge-KiWi's suggestion, NIBKey in nibarchive.py has been modified to reflect the changes made to Prefixed

Full Changelog: v2.4.0...v2.4.1