Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unimplemented annotation type (Widget signature) #4202

Closed
JasnaPaka opened this issue Jan 27, 2014 · 7 comments
Closed

Unimplemented annotation type (Widget signature) #4202

JasnaPaka opened this issue Jan 27, 2014 · 7 comments

Comments

@JasnaPaka
Copy link

When I try to show this almost empty document I see info message that this pdf document can be showed in a wrong way. I use latest Firefox Nightly on Windows.

Document for test:
http://www.jasnapaka.com/bugs/pdf-js-pdf-test.pdf

Console output:
"PDF e7bebed68f057fccbb46e62786e65d2 [1.4 iText 2.1.7 by 1T3XT / -](PDF.js: 0.8.759)" viewer.js:2601
"Warning: AcroForm/XFA is not supported" viewer.js:2616
"Warning: TODO: unimplemented annotation type: Widget signature" pdf.js:198
"Warning: TODO: unimplemented annotation type: Widget"

@yurydelendik
Copy link
Contributor

This document appear to be empty in the Preview for Max OSX.

Signature annotations are blocked by #1076 -- we shall not show those annotations until the document digital signature is verified.

@yurydelendik
Copy link
Contributor

It's empty for Adobe Reader too:

sign

Probably some proprietary data or plugin installation is required

@yurydelendik
Copy link
Contributor

related #1076

@staromeste
Copy link

Actually the document is correctly signed, but the signature field is invisible.

schermata 2014-08-25 alle 23 08 10

Can you tell me why you decided not to show the signature field unless it's verified? Even Adobe does not seem to care about that. Take this document for example: https://www.dropbox.com/s/c1x1fe6fud0j4as/SampleSignedPDFDocument.pdf?dl=0
I've tampered with it and Adobe still shows the signature field: https://www.dropbox.com/s/6nvjlcilua5qaz4/SampleInvalidSignaturePDFDocument.pdf?dl=0
schermata 2014-08-25 alle 23 31 10

Maybe we just need a way to alert the user that the PDF is signed but we are unable to verify it.

The signature verification process is heavy and complex so a library like forge.js may be very useful. I'm trying to do just that, do you think it's worth doing?

@luozt
Copy link

luozt commented Sep 7, 2016

I also encountered this problem... I added the signature by wacom device and it produced a pdf with signature. However the pdf viewer of Mozilla Firefox did not show the signature when opening the pdf. And the chrome supports pdf with signature.

@rmhrisk
Copy link

rmhrisk commented Nov 29, 2017

We have implemented a digital signature solution based on PKIjs and PDFjs that is capable of verifying and creating digital signatures. You can see an example of it viewing the US Digital Signature law here.

image

The viewer currently trusts the CAs on the eIDAS Trust List as well the Mozilla trusted S/MIME issuers.

If you encounter any issues email me at ryan@peculiarventures.com with sample files if any.

@timvandermeij
Copy link
Contributor

Closing since this is a duplicate of #1076.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants