We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
{ "elapsed": 0.003019, "exception": "Traceback (most recent call last):\n\n File \"/strelka/strelka.py\", line 769, in scan_wrapper\n self.scan(data, file, options, expire_at)\n\n File \"/strelka/scanners/scan_rar.py\", line 79, in scan\n data = rar_obj.open(\n\nTypeError: RarFile.open() got an unexpected keyword argument 'psw'\n", "flags": [ "password_protected", "uncaught_exception" ], "host_os": "RAR_OS_WIN32", "total": { "extracted": 0, "files": 1 } }
Environment details
Steps to reproduce Steps to reproduce the behavior:
Expected behavior
ScanRar should note that the archive is password protected and gracefully catch the exception
Release
The text was updated successfully, but these errors were encountered:
Root of this problem was that the password parameter name Strelka was using for python rarfile did not match the parameter name in the module.
strelka/src/python/strelka/scanners/scan_rar.py
Lines 79 to 83 in 227f7b6
https://python-unrar.readthedocs.io/en/v0.3/rarfile.html#rarfile.RarFile.open
This was a result of a breaking change introduced in rarfile 4 (2020-07-31)
rarfile
Sorry, something went wrong.
6381b67
ryanohoro
No branches or pull requests
Describe the bug
Environment details
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
ScanRar should note that the archive is password protected and gracefully catch the exception
Release
The text was updated successfully, but these errors were encountered: