python-validity icon indicating copy to clipboard operation
python-validity copied to clipboard

AttributeError: 'Tls' object has no attribute 'ecdh_q'

Open hetvos opened this issue 2 years ago • 1 comments
trafficstars

The issue is occurring on an Arch Linux install when using both the python-validity and python-validity-git AUR packages logs from systemctl status python3-validity

Apr 10 10:27:02 blue dbus-service[76719]:     open_common()
Apr 10 10:27:02 blue dbus-service[76719]:   File "/usr/lib/python3.10/site-packages/validitysensor/init.py", line 32, in open_common
Apr 10 10:27:02 blue dbus-service[76719]:     tls.open()
Apr 10 10:27:02 blue dbus-service[76719]:   File "/usr/lib/python3.10/site-packages/validitysensor/tls.py", line 137, in open
Apr 10 10:27:02 blue dbus-service[76719]:     self.make_keys()
Apr 10 10:27:02 blue dbus-service[76719]:   File "/usr/lib/python3.10/site-packages/validitysensor/tls.py", line 160, in make_keys
Apr 10 10:27:02 blue dbus-service[76719]:     pre_master_secret = skey.exchange(ec.ECDH(), self.ecdh_q)
Apr 10 10:27:02 blue dbus-service[76719]: AttributeError: 'Tls' object has no attribute 'ecdh_q'
Apr 10 10:27:02 blue systemd[1]: python3-validity.service: Main process exited, code=exited, status=1/FAILURE
Apr 10 10:27:02 blue systemd[1]: python3-validity.service: Failed with result 'exit-code'.

hetvos avatar Apr 10 '23 08:04 hetvos

Try: sudo validity-sensors-tools.factory-reset

lcorbasson avatar Oct 26 '23 07:10 lcorbasson