Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Ignore if '/Perms' verify failed #1157

Merged
merged 3 commits into from Jul 24, 2022
Merged

BUG: Ignore if '/Perms' verify failed #1157

merged 3 commits into from Jul 24, 2022

Conversation

exiledkingcc
Copy link
Contributor

@exiledkingcc exiledkingcc commented Jul 24, 2022

@codecov
Copy link

codecov bot commented Jul 24, 2022

Codecov Report

Merging #1157 (72c3356) into main (27702c2) will increase coverage by 0.15%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main    #1157      +/-   ##
==========================================
+ Coverage   92.11%   92.26%   +0.15%     
==========================================
  Files          24       24              
  Lines        4791     4795       +4     
  Branches      990      990              
==========================================
+ Hits         4413     4424      +11     
  Misses        230      230              
+ Partials      148      141       -7     
Impacted Files Coverage Δ
PyPDF2/_encryption.py 85.39% <50.00%> (+0.04%) ⬆️
PyPDF2/generic.py 91.57% <0.00%> (ø)
PyPDF2/_utils.py 98.78% <0.00%> (+0.02%) ⬆️
PyPDF2/_page.py 92.55% <0.00%> (+0.20%) ⬆️
PyPDF2/_reader.py 90.62% <0.00%> (+0.26%) ⬆️
PyPDF2/filters.py 95.32% <0.00%> (+1.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27702c2...72c3356. Read the comment docs.

PyPDF2/_encryption.py Outdated Show resolved Hide resolved
PyPDF2/_encryption.py Outdated Show resolved Hide resolved
PyPDF2/_encryption.py Outdated Show resolved Hide resolved
PyPDF2/_encryption.py Outdated Show resolved Hide resolved
@MartinThoma MartinThoma changed the title ignore '/Perms' verify failed BUG: Ignore if '/Perms' verify failed Jul 24, 2022
@MartinThoma MartinThoma added the is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF label Jul 24, 2022
@MartinThoma MartinThoma merged commit 2bf40f4 into py-pdf:main Jul 24, 2022
MartinThoma added a commit that referenced this pull request Jul 24, 2022
New Features (ENH):
-  Add writer.add_annotation, page.annotations, and generic.AnnotationBuilder (#1120)

Bug Fixes (BUG):
-  Set /AS for /Btn form fields in writer (#1161)
-  Ignore if /Perms verify failed (#1157)

Robustness (ROB):
-  Cope with utf16 character for space calculation (#1155)
-  Cope with null params for FitH / FitV destination (#1152)
-  Handle outlines without valid destination (#1076)

Developer Experience (DEV):
-  Introduce _utils.logger_warning (#1148)

Maintenance (MAINT):
-  Break up parse_to_unicode (#1162)
-  Add diagnostic output to exception in read_from_stream (#1159)
-  Reduce PdfReader.read complexity (#1151)

Testing (TST):
-  Add workflow tests found by arc testing (#1154)
-  Decrypt file which is not encrypted (#1149)
-  Test CryptRC4 encryption class; test image extraction filters (#1147)

Full Changelog: 2.7.0...2.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PyPDF2 can't decrypt PDF files with Acrobat 6.0 or higher password security compatibility
2 participants