Skip to content

pdfsharp 6.2.0 samples; V4 missing top-level /Length - #50

Open
alex-barth wants to merge 1 commit into
openwall:mainfrom
alex-barth:main
Open

alex-barth wants to merge 1 commit into
openwall:mainfrom
alex-barth:main

Conversation

@alex-barth

Copy link
Copy Markdown

Add PDFsharp 6.2.0 encryption samples (V1–V5, including missing top-level /Length on V4)

Adds PDF samples generated with PDFsharp 6.2.0 covering the standard security handler's /V//R combinations (V1/R2 through V5/R6, RC4 40–128-bit and AES-128/256).

Two files (sample-V4-R2-RC4-128.pdf, sample-V4-R4-AES-128.pdf) omit the top-level /Length entry, since PDFsharp 6.2.0–6.2.3 don't write it for V4/V5 crypt-filter encryption. These are the files that exposed openwall/john#6033, where pdf2john.py defaulted to 40-bit instead of reading the crypt filter's /Length. Useful for regression testing against that class of file.

All passwords: user user123, owner owner123.
README.md included with the full breakdown.

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.

1 participant