But when signing orig.podofo.pdf a second time to
orig.podofo.podofo.pdf, then Adobe reports the first signature as
invalid (see attached screenshot and documents).

Hi,
depending on the content of PDF (especially whether it contains any
forms/annotations) it can be due to this:

https://sourceforge.net/p/podofo/code/HEAD/tree/podofo/trunk/tools/podofosign/podofosign.cpp#l928

Hi, thank you for the hint.

I just tested, but that code does not get triggered, ie `pAcroForm->GetNeedAppearances()` returns `false`.

The documents has no forms, just a single image, and is linearized, which makes unfortunately the analysis more difficult.

Notice that the fact that the document is linearized should not be a problem, since I'm able to sign more than once linearized documents and Adobe Reader does not warn about broken signatures.

Patches welcome.

If only I would know where the problem lies, I would gladly patch it :-)

Bye,
zyx

Federico

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to