Cryptomator: Feature: Actively encourage "safe passwords" in interface.

Created on 3 Oct 2019  路  4Comments  路  Source: cryptomator/cryptomator

Please consider impleneting a GUI feature, that encourages using strong passwords.

More specifically, while the indicator is useful to warn about particularly weak passwords, it won't help users who have bad ideas about password safety. Notably, it will claim that "H3llo123" is a better password than the random-word sequence backed derrick buckling mountains glove client procedures desire destination sword hidden ram escalation rounding meaning strain owe thus aspect indicate matter. (For the record, I haven't used that one ;) )

Background

When I noticed, that they keyfile is being stored in the cloud, I started hunting down information about practices to mitigate the risk of brute-force attacks. Despite relatively good knowledge on applying encryption from over a decade of reading tech articles ehem, I found myself stuck with the idea of using a rememberable password for fear of losing access.

After cross-linking the information of "Why is the master key stored in the cloud", "Password Advice" and "Security Architecture", I finally figured, that I'll best use a long random password stored in a password manager, for which the keyfile is not cloud-accessible.

Knowing, that most of my friends still won't remove themselves from the idea that "H3llo123" is a secure password, I'm going to assume that many users will gravitate towards bad practices for their passwords.

It might be worth considering to include the recommedation for using a sufficiently long randomly generated password and a password manager into the "Change password" and "Create New Vault" GUIs, possibly with a random-alphanumeric-string generator. (How many characters would be considered secure actually?)

blocked feature-request upstream-bug

Most helpful comment

I just debugged zxcvbn (that algorithm to rate password strength) and found out that while backed derrick buckling mountains glove client procedures desire destination sword hidden ram escal is perfectly strong, backed derrick buckling mountains glove client procedures desire destination sword hidden ram escala is _too_ strong:

It leads to an overflow in the strength calculation. 馃槀


Regarding the "recommendation": We plan to include links to the documentation in several places of the UI. Tips for a good password choice are certainly a relevant information that we should include.

A password generator is not currently planned, I see some problems here with people just blindly generating a password and forgetting it the next day. Therefore they should rather use the password generator included in their password manager or (while not recommended in most cases) a password they came up with themselves.

All 4 comments

I just debugged zxcvbn (that algorithm to rate password strength) and found out that while backed derrick buckling mountains glove client procedures desire destination sword hidden ram escal is perfectly strong, backed derrick buckling mountains glove client procedures desire destination sword hidden ram escala is _too_ strong:

It leads to an overflow in the strength calculation. 馃槀


Regarding the "recommendation": We plan to include links to the documentation in several places of the UI. Tips for a good password choice are certainly a relevant information that we should include.

A password generator is not currently planned, I see some problems here with people just blindly generating a password and forgetting it the next day. Therefore they should rather use the password generator included in their password manager or (while not recommended in most cases) a password they came up with themselves.

@overheadhunter
A small question:
are we discussing entropy bit here or a special quality estimation algorithm like that in KeePass

The latter. See zxcvbn.

We plan to include links to the documentation in several places of the UI.

This will be added in 1.5.x. The minimum password length (mainly driven by GDPR requirements) is implemented in #1018 and the strength overflow is something that needs to be fixed upstream.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaorueta picture jaorueta  路  4Comments

overheadhunter picture overheadhunter  路  4Comments

tobihagemann picture tobihagemann  路  4Comments

errotu picture errotu  路  3Comments

gwarah picture gwarah  路  5Comments