Hi, so I've been getting this error with the last version of LaZ 2.4.5, both with compiled version and python...
Seems like a compatibility issue with hashlib and a laZ module, been trying for awhile but not sure how to fix it, any help's welcome! Thank you!
Tested on win10 and 11 fresh install
Python 3.11.5 on both
Compiled error:
Traceback (most recent call last):
File "hashlib.py", line 160, in __hash_new
_hashlib.UnsupportedDigestmodError: [digital envelope routines] unsupported
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "laZagne.py", line 233, in
File "laZagne.py", line 87, in runLaZagne
File "lazagne\config\run.py", line 197, in run_lazagne
File "lazagne\config\run.py", line 118, in run_category
File "lazagne\config\dpapi_structure.py", line 33, in are_masterkeys_retrieved
File "lazagne\config\dpapi_structure.py", line 92, in check_credentials
File "lazagne\config\DPAPI\masterkey.py", line 372, in try_credential
File "lazagne\config\DPAPI\masterkey.py", line 70, in decrypt_with_password
File "hashlib.py", line 166, in __hash_new
File "hashlib.py", line 123, in __get_builtin_constructor
ValueError: unsupported hash type md4
[2488] Failed to execute script 'laZagne' due to unhandled exception!
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\laZagne.py", line 233, in
for r in runLaZagne(category_selected=category, subcategories=subcategories, password=args.get('password', None)):
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\laZagne.py", line 87, in runLaZagne
for pwd_dic in run_lazagne(category_selected=category_selected, subcategories=subcategories, password=password):
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\run.py", line 197, in run_lazagne
for r in run_category(category_selected, subcategories):
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\run.py", line 118, in run_category
if are_masterkeys_retrieved():
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\dpapi_structure.py", line 33, in are_masterkeys_retrieved
constant.user_dpapi.check_credentials([constant.username] + constant.password_found)
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\dpapi_structure.py", line 92, in check_credentials
for ok, r in self.umkp.try_credential(sid=self.sid, password=password):
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\DPAPI\masterkey.py", line 372, in try_credential
mk.decrypt_with_password(sid, password)
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\DPAPI\masterkey.py", line 70, in decrypt_with_password
self.decrypt_with_hash(sid=sid, pwdhash=hashlib.new(algo, pwd).digest())
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\hashlib.py", line 166, in __hash_new
return get_builtin_constructor(name)(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\hashlib.py", line 123, in get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md4
Hi, so I've been getting this error with the last version of LaZ 2.4.5, both with compiled version and python... Seems like a compatibility issue with hashlib and a laZ module, been trying for awhile but not sure how to fix it, any help's welcome! Thank you! Tested on win10 and 11 fresh install Python 3.11.5 on both
Compiled error: Traceback (most recent call last): File "hashlib.py", line 160, in __hash_new _hashlib.UnsupportedDigestmodError: [digital envelope routines] unsupported
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "laZagne.py", line 233, in
File "laZagne.py", line 87, in runLaZagne
File "lazagne\config\run.py", line 197, in run_lazagne
File "lazagne\config\run.py", line 118, in run_category
File "lazagne\config\dpapi_structure.py", line 33, in are_masterkeys_retrieved
File "lazagne\config\dpapi_structure.py", line 92, in check_credentials
File "lazagne\config\DPAPI\masterkey.py", line 372, in try_credential
File "lazagne\config\DPAPI\masterkey.py", line 70, in decrypt_with_password
File "hashlib.py", line 166, in __hash_new
File "hashlib.py", line 123, in __get_builtin_constructor
ValueError: unsupported hash type md4
[2488] Failed to execute script 'laZagne' due to unhandled exception!
Python:
Traceback (most recent call last): File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\hashlib.py", line 160, in __hash_new return _hashlib.new(name, data, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _hashlib.UnsupportedDigestmodError: [digital envelope routines] unsupported
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\laZagne.py", line 233, in
for r in runLaZagne(category_selected=category, subcategories=subcategories, password=args.get('password', None)):
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\laZagne.py", line 87, in runLaZagne
for pwd_dic in run_lazagne(category_selected=category_selected, subcategories=subcategories, password=password):
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\run.py", line 197, in run_lazagne
for r in run_category(category_selected, subcategories):
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\run.py", line 118, in run_category
if are_masterkeys_retrieved():
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\dpapi_structure.py", line 33, in are_masterkeys_retrieved
constant.user_dpapi.check_credentials([constant.username] + constant.password_found)
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\dpapi_structure.py", line 92, in check_credentials
for ok, r in self.umkp.try_credential(sid=self.sid, password=password):
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\DPAPI\masterkey.py", line 372, in try_credential
mk.decrypt_with_password(sid, password)
File "C:\Users\User\Desktop\LaZagne-2.4.5\Windows\lazagne\config\DPAPI\masterkey.py", line 70, in decrypt_with_password
self.decrypt_with_hash(sid=sid, pwdhash=hashlib.new(algo, pwd).digest())
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\hashlib.py", line 166, in __hash_new
return get_builtin_constructor(name)(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\hashlib.py", line 123, in get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md4