Closed MatthiasValvekens closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
f8b2c25
) 98.14% compared to head (7c2ae26
) 98.14%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Description of the changes
This algorithm choice isn't widely supported in the field in viewers, and the public-key security handler for file encryption in PDF is not widely used in general either, but this change was straightforward to implement, so I added it.
Caveats
This is in a grey area of the PDF spec (=> it's silent on this topic), and Acrobat only supports PKCS#1 v1.5 padding. It does support other algorithms that are not explicitly in the spec, though (in particular using ECDHE to do non-interactive key agreement for file encryption).
Checklist
Please go over this checklist to increase the chances of your PR being worked on in a timely manner. Deviations are allowed with proper justification (see previous section).
For new features (delete if not applicable)