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

[BUG] Panic when validating a signed PDF #174

Closed
gunnsth opened this issue Sep 25, 2019 · 0 comments
Closed

[BUG] Panic when validating a signed PDF #174

gunnsth opened this issue Sep 25, 2019 · 0 comments
Assignees
Labels
bug Something isn't working priority

Comments

@gunnsth
Copy link
Contributor

gunnsth commented Sep 25, 2019

Description

An issue was received from a customer via email.

The problem is when validating a signature in a password protected PDF file.

We need to validate signatures on pdf. I referred to unipdf examples to
implement validation and I am getting a go panic.

Expected Behavior

The signature is expected to be valid.

Actual Behavior

Using a sample program to validate signature
https://github.com/unidoc/unipdf-examples/blob/master/signatures/pdf_sign_validate.go

The program panics (stack trace was not provided).

Attachments

A private PDF file was attached in the email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority
Projects
None yet
Development

No branches or pull requests

2 participants