Error during signature verification. Signature contains incorrect, unrecogniz.. (Byte range invalid)
- December 15, 2025
- 返信数 1.
- 326 ビュー
Hi everyone,
I am trying to make an electroninc signing solution for flutter (as there are not many options available and I want to avoid API with third parties), that sign documents in PAdES LTA quality.
While the DSS validator (https://ec.europa.eu/digital-building-blocks/DSS/webapp-demo/validation) and others say my documents signatures are valid (appart of the fact my certificate is DEMO), Adobe Reader keeps complaining about Byte range being invalid. (It also asks me if I want to save changes to the document when I am closing even without me making any changes at all - just checking it - and then errors out with 26 when I press yes).
I have checked the offsets and they seem to correctly point at the < and >+1 of the objects contents and the hashes seem to match.
That makes me think maybe Acrobat Reader is correcting some mistake I have made in the pdf and then revalidating with a new byte range?
Could someone point me in the right direction please?
Many thanks