diff options
author | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-10-18 15:55:52 +0300 |
---|---|---|
committer | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-11-06 09:03:47 +0100 |
commit | b1e24664de424a626f78b9fe002bf4d47c8907d5 (patch) | |
tree | 603dc8bb48b546fe4d9fb445e8ba6bc7836ec466 /include/sal/log-areas.dox | |
parent | 383f666bcad27b2fbea6ac13a42cafd6f035fc5c (diff) |
tdf#157518: add password policy and strength meter to save with password dialog
Introduces new configuration options PasswordPolicy and
PasswordPolicyErrorMessage.
PasswordPolicy takes a regular expression. When set, it only
accepts passwords that match that regular expression.
PasswordPolicyErrorMessage is the label displayed when the
password does not meet the PasswordPolicy.
In the ideal case, it should contain an explainer of the
PasswordPolicy, so the user is aware of the requirements.
Save with password dialog had maximum password length enforcing
bits depending on the requirements of the saved file format.
These are still applicable in combination with the password
policy.
Also introduces a visual password meter under the password
entries. If the password policy isn't satisfied the password
strength meter is capped at 70%.
The entropy bits to password quality is taken as a linear range.
Where the range of [0, 112] entropy bits is mapped to percentage
[0, 100]. Entropy bits ≥ 112 are mapped to 100% since, according
to KeePass' info page, ≥ 112 entropy bits correspond to a strong
password: <https://keepass.info/help/kb/pw_quality_est.html>
Change-Id: I2e70adacf271916661219f702dfc217292a1b59f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158453
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir.extern@allotropia.de>
Diffstat (limited to 'include/sal/log-areas.dox')
-rw-r--r-- | include/sal/log-areas.dox | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index 23bbed1a916b..8e6d5d81f1ae 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -128,6 +128,7 @@ certain functionality. @li @c cui.factory @li @c cui.options @li @c cui.tabpages +@li @c cui.util @section drawinglayer |