Implement ISO/TS 32003 and ISO/TS 32004, to support AES-GCM streams and
MAC authentication in encrypted PDF 2.0 documents, respectively.
MACs are turned on by default when creating documents with PDF 2.0-style
encryption.
.. _release-0.24.0:
Release date: 2024-04-27
Breaking changes
Setting & retrieving permission flags for encrypted files now
comes with an ergonomic API that is much less error-prone.
You no longer have to manually convert your permission bits
to their signed integer representation.
See :mod:pyhanko.pdf_utils.crypt.permissions.
Dependency changes
Upgraded xsdata (optional) to 24.4.
Bugs fixed
Several issues with copying objects from encrypted documents
(in particular, encrypted documents with signatures) have been fixed.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pyhanko from 0.20.1 to 0.25.0.
Release notes
Sourced from pyhanko's releases.
Changelog
Sourced from pyhanko's changelog.
... (truncated)
Commits
9350577
0.25.0 releasee462ee0
Merge pull request #425 from MatthiasValvekens/dependabot/github_actions/slsa...59a14db
Bump upload-artifact in SLSA job8aadd8e
Bump slsa-framework/slsa-github-generator from 1.10.0 to 2.0.032c060b
README updates39858fa
Add ISO/TS 32003 supportf11aff2
Correct definition of PdfMacIntegrityInfof69239c
Add mechanism to mass-save ISO 32004 test outputs52db0a2
Fix MAC-in-TST scenario7673b7d
Centralise crypto extension registrationDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show