Skip to content

Support password-protected input PDFs #33

Description

@kevbite

The library cannot open PDFs that are protected with a password. Any operation against an encrypted PDF fails because there is no way to supply the input password.

Example CLI command

pdftk secured.pdf input_pw foopass output unsecured.pdf

Other examples

# Provide the password for a named input handle
pdftk A=secured.pdf input_pw A=foopass cat output out.pdf

# Fill a form on a password-protected PDF
pdftk secured.pdf input_pw foopass fill_form data.fdf output out.pdf

Reference

PDFtk man page

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions