yob / pdf-reader

The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.
MIT License
1.81k stars 271 forks source link

Implement decryption for files using revision 6 of the encryption spec #419

Closed yob closed 2 years ago

yob commented 2 years ago

The PDF 2.0 spec adds a new way of calculating the encryption key for AES encrypted files, identified as 'revision 6'.

We've had pending specs for years with revision 6 encrypted PDFs, and this finally adds support for reading them