camelot-py/tests
rbares 429640feea [MRG + 1] Add basic support for encrypted PDF files (#180)
* [MRG] Add basic support for encrypted PDF files

Update API and CLI to accept ASCII passwords to decrypt PDFs
encrypted by algorithm code 1 or 2 (limited by support from PyPDF2).
Update documentation and unit tests accordingly.

Example document health_protected.pdf generated as follows:
qpdf --encrypt userpass ownerpass 128 -- health.pdf health_protected.pdf

Issue #162

* Support encrypted PDF files in python3

Issue #162

* Address review comments

Explicitly check passwords for None rather than falsey.
Correct read_pdf documentation for Owner/User password.

Issue #162

* Correct API documentation changes for consistency

Issue #162

* Move error tests from test_common to test_errors

Issue #162

* Add qpdf example

* Remove password is not None check

* Fix merge conflict

* Fix pages example
2018-10-28 22:01:10 +05:30
..
files [MRG + 1] Add basic support for encrypted PDF files (#180) 2018-10-28 22:01:10 +05:30
__init__.py Add pytest-cov 2018-10-02 22:37:38 +05:30
data.py Renames the keyword `table_area` to `table_areas` (#171) 2018-10-24 23:06:53 +05:30
test_cli.py [MRG + 1] Add basic support for encrypted PDF files (#180) 2018-10-28 22:01:10 +05:30
test_common.py [MRG + 1] Add basic support for encrypted PDF files (#180) 2018-10-28 22:01:10 +05:30
test_errors.py [MRG + 1] Add basic support for encrypted PDF files (#180) 2018-10-28 22:01:10 +05:30