ocrmypdf / OCRmyPDF

OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
http://ocrmypdf.readthedocs.io/
Mozilla Public License 2.0
13.46k stars 985 forks source link

[Bug]: files signed with a-trust are not recognised as digitally signed and hence processed #1352

Closed ferdiga closed 1 month ago

ferdiga commented 1 month ago

Describe the bug

digital signed are processed by ocrmypdf, hence the signature becomes invalid.

on AMZON ubuntu pro Linux 6.5.0-1022-aws x86_64

Steps to reproduce

1. signed  files with https://www.a-trust.at/de/
2. used misc/ocr_batch.py sample file
3. files are processed - but shouldn't be according to ocrmypdf manual. 

signed scanned example files below

Files

test-scan-signed-private.pdf test-scan-signed-public.pdf

How did you download and install the software?

Linux package manager (apt, dnf, etc.)

OCRmyPDF version

13.4.0+dfsg

Relevant log output

No response

jbarlow83 commented 1 month ago

That version is too old to support. The current version refuses to process these files as expected.