You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
On line 54 from papermerge/core/ocr/document.py, where the function ocrmypdf.ocr() is declared, the invalidate-digital-signature flag is missing.
Right now, digitally signed PDF's (even if they have already the text embedded into them) won't be searchable because they cannot go through the OCR function.
This won't interfere with the non-repudiation property of the signed PDF file itself as Papermerge stores two versions of the PDF: the uploaded one and the OCRed one.
Description
On line 54 from papermerge/core/ocr/document.py, where the function ocrmypdf.ocr() is declared, the
invalidate-digital-signature
flag is missing.Right now, digitally signed PDF's (even if they have already the text embedded into them) won't be searchable because they cannot go through the OCR function.
This won't interfere with the non-repudiation property of the signed PDF file itself as Papermerge stores two versions of the PDF: the uploaded one and the OCRed one.
Sources
https://ocrmypdf.readthedocs.io/en/latest/api.html
https://ocrmypdf.readthedocs.io/en/latest/pdfsecurity.html#digital-signatures
Info:
The text was updated successfully, but these errors were encountered: