pdfminer.six/pdfminer
Recursing 0b1741b9bf Pack the /P (ermissions) entry from the /Encrypt dictionionary in the file trailer, as unsigned long (#352)
Fixes #186 

* Tread the permissions (the /P entry) as unsigned long, fix #186

* handle negative values for p

* Extract function for resolving an twos-complement

* Add test for issue #352

* Add line to CHANGELOG.md

* Only ints can be converted to a uint using two's-complement method

* Standardize import style; multiple imports from same module on one line

Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
2020-01-07 21:59:13 +01:00
..
cmap Include compiled cmap resources to simplify installation for CJK languages 2015-12-27 13:32:29 +09:00
Makefile apply more patches 2010-02-13 15:00:43 +00:00
__init__.py Bump version 2020-01-04 18:15:15 +01:00
arcfour.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
ascii85.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
ccitt.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
cmapdb.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
converter.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
encodingdb.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
fontmetrics.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
glyphlist.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
high_level.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
image.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
jbig2.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
latin_enc.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
layout.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
lzw.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfcolor.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfdevice.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfdocument.py Pack the /P (ermissions) entry from the /Encrypt dictionionary in the file trailer, as unsigned long (#352) 2020-01-07 21:59:13 +01:00
pdffont.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfinterp.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfpage.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfparser.py Enforce pep8 coding-style (#345) 2019-12-29 21:20:20 +01:00
pdftypes.py Pack the /P (ermissions) entry from the /Encrypt dictionionary in the file trailer, as unsigned long (#352) 2020-01-07 21:59:13 +01:00
psparser.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
rijndael.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
runlength.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
settings.py Remove webapp and other (un)helpful application references: django, cgi, and pyinstaller. (#320) 2019-10-26 19:16:37 +02:00
utils.py Pack the /P (ermissions) entry from the /Encrypt dictionionary in the file trailer, as unsigned long (#352) 2020-01-07 21:59:13 +01:00