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

decrypt_with_key (see traceback) #292

Merged
merged 1 commit into from Sep 28, 2018
Merged

decrypt_with_key (see traceback) #292

merged 1 commit into from Sep 28, 2018

Conversation

ghost
Copy link

@ghost ghost commented Sep 28, 2018

  File "\lazagne\config\dpapi_structure.py", line 164, in __init__
  File "\lazagne\config\DPAPI\masterkey.py", line 432, in try_system_credential
  File "\lazagne\config\DPAPI\masterkey.py", line 83, in decrypt_with_key
  File "\lazagne\config\DPAPI\crypto.py", line 333, in dataDecrypt
  File "\lazagne\config\DPAPI\crypto.py", line 313, in pbkdf2
  File "\hmac.py", line 136, in new
  File "\hmac.py", line 71, in __init__
TypeError: object of type 'NoneType' has no len()

Sometimes unchecked parameter "pwdhash" goes to "hmac.new(passphrase" as None ans causes this exception.

  File "libs\lazagne\config\dpapi_structure.py", line 164, in __init__
  File "libs\lazagne\config\DPAPI\masterkey.py", line 432, in try_system_credential
  File "libs\lazagne\config\DPAPI\masterkey.py", line 83, in decrypt_with_key
  File "libs\lazagne\config\DPAPI\crypto.py", line 333, in dataDecrypt
  File "libs\lazagne\config\DPAPI\crypto.py", line 313, in pbkdf2
  File "libs\hmac.py", line 136, in new
  File "libs\hmac.py", line 71, in __init__
TypeError: object of type 'NoneType' has no len()
@AlessandroZ AlessandroZ merged commit 22197ed into AlessandroZ:master Sep 28, 2018
@AlessandroZ
Copy link
Owner

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant