Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Prefixed encoding Parameter #19

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Conversation

MatrixEditor
Copy link
Owner

According to #18, the encoding parameter seemed to be ignored on Prefixed instances.

Fixes in this pull request:

  • Prefixed class now correctly applies the encoding parameter
  • Added missing HMAC import from digest.py

@MatrixEditor MatrixEditor self-assigned this Jan 15, 2025
@MatrixEditor MatrixEditor merged commit 27cc04e into master Jan 16, 2025
6 checks passed
@MatrixEditor MatrixEditor deleted the fix/prefixed-encoding branch January 16, 2025 20:29
Niluge-KiWi pushed a commit to Niluge-KiWi/android-alcodroid-backup-parser that referenced this pull request Jan 19, 2025
- 2.4.0 was broken, cf
  MatrixEditor/caterpillar#18
  but it was fixed in 2.4.1, cf
  MatrixEditor/caterpillar#19
- pin to 2.4.1 tag to avoid future breakages
- still from git as they still don't publish (too close to cpython
  exact version it seems)
- fix breaking changes
  - documented: FormatField -> PyStructFormattedField
  - undocumented: Prefixed(uint16, 'utf8') -> Prefixed(uint16, encoding='utf8')
    (cf MatrixEditor/caterpillar#18)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant