Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

View encryption parameters of PDF file using QPDF

📅 2012-Nov-25 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

QPDF can be used to check if a PDF file is encrypted or not. If the file is encrypted, QPDF also prints out all the encryption information about the file.

To view encryption information of a file:

$ qpdf --show-encryption foo.pdf

Tried with: QPDF 3.0.2