From 85f9fda9842eb7aa4ad44c8a309e0e45b25cb947 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Tue, 11 May 2021 22:15:52 +0200 Subject: [PATCH] fixed: in passwd winix function: clear password hash when using rsa encoding --- winixd/core/crypt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/winixd/core/crypt.cpp b/winixd/core/crypt.cpp index 6f05b55..b552e87 100644 --- a/winixd/core/crypt.cpp +++ b/winixd/core/crypt.cpp @@ -312,6 +312,7 @@ bool Crypt::PassCrypt(const std::wstring & path_to_rsa_private_key, User & user) if( RSA(true, path_to_rsa_private_key, passa, user.pass_encrypted) ) { + ClearString(user.password); result = true; } else