Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrolGenhald <AndrolGenhald@users.noreply.github.com>2019-06-20 03:40:41 +0300
committerJonathan White <support@dmapps.us>2019-06-20 03:40:41 +0300
commite40f10657d4e59f60cd1cb7d2b8d7d4a67905b01 (patch)
tree34ec9b3cfc404efda71c372b9a653b109dbb73d6 /src/core/PasswordGenerator.cpp
parent7ceca8ff3c0ce971a3cfa38719b45330c73e55ad (diff)
Fix keepassxc-browser password entropy display (#3107)
* Pass correct entropy amount to keepassxc-browser instead of amount of bits for both password and passphrase. * Rename json key from "login" to "entropy" (keeping "login" key for backwards compatibility). * Also make some changes to entropy calculation methods: - Rename PassphraseGenerator::calculateEntropy to estimateEntropy - Rename PasswordGenerator::calculateEntropy to estimateEntropy
Diffstat (limited to 'src/core/PasswordGenerator.cpp')
-rw-r--r--src/core/PasswordGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/PasswordGenerator.cpp b/src/core/PasswordGenerator.cpp
index 1132582d6..e203af672 100644
--- a/src/core/PasswordGenerator.cpp
+++ b/src/core/PasswordGenerator.cpp
@@ -31,7 +31,7 @@ PasswordGenerator::PasswordGenerator()
{
}
-double PasswordGenerator::calculateEntropy(const QString& password)
+double PasswordGenerator::estimateEntropy(const QString& password)
{
return ZxcvbnMatch(password.toLatin1(), nullptr, nullptr);
}