-
Hi, I'm not sure if this is intended behavior or a bug: I have a PDF that I cannot sign with a strict syntax check. Adding
Is Pades LTA incompatible with non-strict syntax checking? Or is the Greetings |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Matthias, I think I found the reason. pyHanko/pyhanko/sign/signers/pdf_signer.py Line 2857 in 056e684 The same applies when calling Is it possible to add the Best, |
Beta Was this translation helpful? Give feedback.
Hi Matthias,
I think I found the reason.
In the method
PdfTBSDocument.async_finish_signing
callingpost_sign.post_signature_processing
a newIncrementalPdfFileWriter
is instantiated and there is no possibility to passstrict=False
in this case.pyHanko/pyhanko/sign/signers/pdf_signer.py
Line 2857 in 056e684
The same applies when calling
PdfTBSDocument.async_sign_pdf
.Is it possible to add the
strict
option to these methods?@MatthiasValvekens Should I make a PR?
Best,
Edi