it-tools
it-tools copied to clipboard
[BUG] PDF signature checker fails to validate eIDAS signatures/stamps
trafficstars
Which tool is impacted? PDF signature checker
To Reproduce Upload a PDF signed with Qualified electronic signature the PDF part of UI will crash with.
index-d4d1dfb2.js:1 TypeError: Cannot read properties of undefined (reading 'length')
at Proxy.<anonymous> (pdf-signature-checke…ee1b79.js:3049:3460)
at Sp (index-d4d1dfb2.js:1:17725)
at Tg.we [as fn] (index-d4d1dfb2.js:1:41586)
at Tg.run (index-d4d1dfb2.js:1:5553)
at Y.L.update (index-d4d1dfb2.js:1:42353)
at Zi (index-d4d1dfb2.js:1:14513)
at o2 (index-d4d1dfb2.js:1:16145)
and the UI will disappear.
Expected behavior
Validation if it validated ideally listing the date of signing and or some details like authority providing the validation.
Here is what adobe displays:
Screenshots If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):
- Device: PC
- OS: Windows
- Browser Chrome
- Version Version 122.0.6261.112
Additional context About signature Sample doc for testing It it e 'stamp' not a signature but uses same protocol so it will work for this.
Hi @CorentinTh and @PovilasID, fixed in #967