Sign inSign up

yajo/pdftk-encrypt

By yajo

•Updated over 8 years ago

PDF simple encrypter based on PDFtk

Image
2

1.4K

yajo/pdftk-encrypt repository overview

⁠PDFtk⁠ Password Encrypter

Ever wanted to encrypt a PDF file and protect it with a password? Welcome to the easiest CLI method ever!

⁠How to use this image

This image uses 2 environment variables:

- `$OWNER_PW` (default: `owner`). Password for the file owner. Use it to
  decrypt with full permissions.
- `$USER_PW` (default: `user`). Password for the file users. Use it to
  decrypt with limited permissions.

Read the docs to know how to override variables⁠ at runtime.

Run this command to encrypt with the default passwords:

docker run --rm -i yajo/pdftk-encrypt < filetoencrypt.pdf > encryptedfile.pdf

Tag summary

Content type

Image

Digest

Size

91.7 MB

Last updated

over 8 years ago

docker pull yajo/pdftk-encrypt