Package: mitmproxy
Version: 11.0.0-0kali2

When starting mitmproxy in this way:
$ mitmproxy I get the following error:

****
(trapped) error reading bcrypt version
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/passlib/handlers/bcrypt.py",
line 619, in _load_backend_mixin
    version = _bcrypt.__about__.__version__
              ^^^^^^^^^^^^^^^^^
AttributeError: module 'bcrypt' has no attribute '__about__'

****


- All I did to reproduce this problem is type in the terminal
mitmproxy, then the program lunches, I type Q for quitting, and see
the error message above
- I expected this error to not be shown
-Suggested fix:
Someone told me in a kali forum
that all that has to be done is to edit line 619, from:version =
_bcrypt.__about__.__version__
to: version = _bcrypt.__version__

I tested it my kali linux machine, and it did solved the error,
however, I didn't test how and if it influences the program further

dependencies:dpkg 1.22.11+kali2
fonts-font-awesome 5.0.10+really4.7.0~dfsg-4.1
python3-aioquic 1.2.0-1
python3-h2 4.1.0-4
python3-hyperframe 6.0.0-1
python3-mitmproxy-rs 0.9.2-0kali2
python3-mitmproxy-wireguard 0.1.23-0kali1
python3-pkg-resources 74.1.2-2
python3-urwid 2.6.15-1
python3-asgiref 3.8.1-1
python3-brotli 1.1.0-2+b4
python3-certifi 2024.8.30+dfsg-1
python3-cryptography 43.0.0-1
python3-cryptography 43.0.0-1
python3-flask 3.0.3-1
python3-flask 3.0.3-1
python3-h11 0.14.0-1
python3-kaitaistruct 0.10-1
python3-ldap3 2.9.1-2
python3-msgpack 1.0.3-3+b2
python3-openssl 24.2.1-1
python3-passlib 1.7.4-4
python3-protobuf 3.21.12-10
python3-publicsuffix2 2.20191221-3
python3-pyparsing 3.1.2-1
python3-pyperclip 1.8.2-2
python3-ruamel.yaml 0.18.6+ds-3
python3-sortedcontainers 2.4.0-2
python3-tornado 6.4.1-3
python3-typing-extensions 4.12.2-2
python3-wsproto 1.2.0-1
python3-zstandard 0.23.0-2

kernel version:Linux kali 6.11.2-amd64 #1 SMP PREEMPT_DYNAMIC Kali
6.11.2-1kali1 (2024-10-15) x86_64 GNU/Linux

shared c library informationPackage: libc6
Version: 2.40-3


if any more details required, please tell me
by the way, I will appreciate if you won't write my email address in
the bug report, thank you

Reply via email to