Skip to content

E-signature not showing up in pdf.js viewer #4743

@StevenHarlow

Description

@StevenHarlow

I have a document with an e-signature that is not showing up in the pdf.js viewer. The document used zipLogix Digital Ink as their e-signature provider. The document is uploaded into our application with the signature in place, but viewing the document in our app doesn't show the signature. Subsequently downloading the document again confirms the signature wasn't lost in the upload process.

*Note: I'm working on obtaining a document with the same characteristics that does not contain sensitive data.

Activity

timvandermeij

timvandermeij commented on May 6, 2014

@timvandermeij
Contributor

@StevenHarlow Thank you; we will definitely need an example PDF to look into the issue.

timvandermeij

timvandermeij commented on May 9, 2014

@timvandermeij
Contributor

I'm closing this issue for now and we will reopen this when we have an example PDF to test with.

ashrafulkarim

ashrafulkarim commented on Sep 9, 2014

@ashrafulkarim

I have the same issue. The signature is not show in the viewer. Is the problem solved?
Here is a signed pdf,
https://dl.dropboxusercontent.com/u/5681461/dev/test-signature.pdf

This signed is not verified. But even with a verified valid signature, the signature field is not shown in the pdf.js viewer.

Osukaru

Osukaru commented on Dec 11, 2015

@Osukaru

I have the same issue. In my case, the problem is only with invalid signatures. I have a pdf document with two signatures (one is valid and another one is invalid). In others pdf viewers I can see the two signatures impressed on the document, but in pdf.js I cannot. I'm sorry, I can't attach the sample document because it contains client confidential data.

EDITED: It seems that the problem is not only with invalid signatures, in my case the valid signature is a invisible sign.

Osukaru

Osukaru commented on Dec 11, 2015

@Osukaru

I think simply this functionality is not implemented:

https://github.com/mozilla/pdf.js/blob/master/src/core/annotation.js#L527

    // Hide unsupported Widget signatures.
    if (data.fieldType === 'Sig') {
      warn('unimplemented annotation type: Widget signature');
      this.setFlags(AnnotationFlag.HIDDEN);
    }

If I remove these lines I can see the signature impressed on my document. In the case of the issue attached pdf (https://dl.dropboxusercontent.com/u/5681461/dev/test-signature.pdf) I can see the signature but it appears inversed rotate:

test_pdf

THausherr

THausherr commented on Dec 11, 2015

@THausherr
Contributor

Visible Signature widgets usually have an appearance stream just like most other annotations, and this one has it. The flipping may be a duplicate of #5946.

THausherr

THausherr commented on Dec 28, 2015

@THausherr
Contributor

Flipping problem is solved now thatt #5946 is solved.

20 remaining items

hxlniada

hxlniada commented on Jul 26, 2019

@hxlniada

since three years ago... any progress?

hxlniada

hxlniada commented on Jul 26, 2019

@hxlniada

@yurydelendik pdf.js is just a viewer, Is not verifying digital signature too ambiguous? I can't understand why you do so much.

Vytek

Vytek commented on Jul 31, 2019

@Vytek

@hxlniada I think it is very important at least to show widget signature (Graphic Signature) also without verify signature.

robinblandford-d4h

robinblandford-d4h commented on Jul 31, 2019

@robinblandford-d4h

We would also just like to see it. To say "unverified" is fine.

zhengyuewen

zhengyuewen commented on Aug 19, 2019

@zhengyuewen

电子签章没显示是为什么?

rmhrisk

rmhrisk commented on Aug 19, 2019

@rmhrisk

因为PDF.js不支持数字签名。 查看https://verify.ink。 如果您要进行翻译,我们可以使用它来支持中文。

rmhrisk

rmhrisk commented on Aug 19, 2019

@rmhrisk

If you need digital signature support we created a web component and iframe wrapping our viewer that does support this. See https://verify.ink

timvandermeij

timvandermeij commented on Sep 6, 2020

@timvandermeij
Contributor

Closing since this is a duplicate of #1076.

rmhrisk

rmhrisk commented on Jan 27, 2021

@rmhrisk

因为PDF.js不支持数字签名。 查看https://verify.ink。 如果您要进行翻译,我们可以使用它来支持中文。

Thank you very much for the digital signature verification you provided, but our operating environment will be a LAN, so we cannot link to the path you gave for corresponding verification and display. Is there any plug-in that can be downloaded and used? We are looking forward to your reply.

Contact info@hancock.ink for more information

nullhan

nullhan commented on May 18, 2022

@nullhan

I have the same problem,After a couple of rounds, people just told me to comment the following code without telling me why,

// _this3.setFlags(_util.AnnotationFlag.HIDDEN);

invisibleved

invisibleved commented on Jun 13, 2024

@invisibleved

I have the same problem,After a couple of rounds, people just told me to comment the following code without telling me why,

// _this3.setFlags(_util.AnnotationFlag.HIDDEN);

Thank you, you saved my day

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @WilliamTambellini@ashrafulkarim@Osukaru@sreuter@rmhrisk

      Issue actions

        E-signature not showing up in pdf.js viewer · Issue #4743 · mozilla/pdf.js