Skip to content

Migrate to digitorus/pdf v0.2.0 - #2

Merged
mitresthen merged 4 commits into
mainfrom
pdf-0.2.0
Jul 21, 2026
Merged

Migrate to digitorus/pdf v0.2.0#2
mitresthen merged 4 commits into
mainfrom
pdf-0.2.0

Conversation

@mitresthen

Copy link
Copy Markdown
Owner

pdf v0.2.0's refactor (digitorus/pdf#1) unexported Reader.Resolve, breaking the verify xref scan. Migrate to the new GetObject API — which also adds bounds and free-entry checks the old path lacked, so free xref entries are skipped explicitly instead of falling through to the Filter check.

Also merges upstream main (x/crypto 0.49.0).

Full test suite passes against v0.2.0: sign roundtrips, verify, cli.

Consumed by plugport/plug-insight#310, which pins this branch's commit via its replace directive.

🤖 Generated with Claude Code

https://claude.ai/code/session_012wapN8F6TQnv8iA9QyGDLh

dependabot Bot and others added 4 commits March 16, 2026 19:12
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.46.0 to 0.49.0.
- [Commits](golang/crypto@v0.46.0...v0.49.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.49.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…/golang.org/x/crypto-0.49.0

Bump golang.org/x/crypto from 0.46.0 to 0.49.0
pdf v0.2.0 unexported Reader.Resolve; use the new GetObject API in the
verify xref scan, which adds bounds and free-entry checks the old path
lacked. Also merges upstream main (x/crypto 0.49.0).

Full test suite passes against v0.2.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012wapN8F6TQnv8iA9QyGDLh
@mitresthen
mitresthen merged commit 474582b into main Jul 21, 2026
@mitresthen
mitresthen deleted the pdf-0.2.0 branch July 21, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants