Skip to content

"Error: Input document to PDFDocument.load is encrypted" after upgrading to v4 #88

Description

@jerry-flam

Thank you for the great library!

After upgrading to v4 I am receiving the following pdf-lib error:

Error: Input document to PDFDocument.load is encrypted. You can use PDFDocument.load(..., { ignoreEncryption: true }) if you wish to load the document anyways.

I am also receiving empty pdf files.

In v3 it was working fine. My node version is 16.15.1

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions