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

DependencyError: PyCryptodome is required for AES algorithm #144

Closed
sentry-io bot opened this issue Jul 27, 2022 · 0 comments · Fixed by #145
Closed

DependencyError: PyCryptodome is required for AES algorithm #144

sentry-io bot opened this issue Jul 27, 2022 · 0 comments · Fixed by #145
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 27, 2022

Sentry Issue: DOCTOR-D

DependencyError: PyCryptodome is required for AES algorithm
(8 additional frame(s) were not displayed)
...
  File "PyPDF2/_reader.py", line 1146, in get_object
    retval = self._encryption.decrypt_object(
  File "PyPDF2/_encryption.py", line 741, in decrypt_object
    return cf.decrypt_object(obj)
  File "PyPDF2/_encryption.py", line 182, in decrypt_object
    obj[dictkey] = self.decrypt_object(value)
  File "PyPDF2/_encryption.py", line 176, in decrypt_object
    data = self.strCrypt.decrypt(obj.original_bytes)
  File "PyPDF2/_encryption.py", line 141, in decrypt
    raise DependencyError("PyCryptodome is required for AES algorithm")
@mlissner mlissner linked a pull request Jul 27, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant