diff --git a/Windows/lazagne/config/DPAPI/masterkey.py b/Windows/lazagne/config/DPAPI/masterkey.py index fd280d3b..a57dbe18 100755 --- a/Windows/lazagne/config/DPAPI/masterkey.py +++ b/Windows/lazagne/config/DPAPI/masterkey.py @@ -75,7 +75,7 @@ def decrypt_with_key(self, pwdhash): This function also extracts the HMAC part of the decrypted stuff and compare it with the computed one. Note that, once successfully decrypted, the masterkey will not be decrypted anymore; this function will simply return. """ - if self.decrypted: + if self.decrypted or not pwdhash: return # Compute encryption key