zulip/templates
Greg Price a116303604 passwords: Express the quality threshold as guesses required.
The original "quality score" was invented purely for populating
our password-strength progress bar, and isn't expressed in terms
that are particularly meaningful.  For configuration and the core
accept/reject logic, it's better to use units that are readily
understood.  Switch to those.

I considered using "bits of entropy", defined loosely as the log
of this number, but both the zxcvbn paper and the linked CACM
article (which I recommend!) are written in terms of the number
of guesses.  And reading (most of) those two papers made me
less happy about referring to "entropy" in our terminology.
I already knew that notion was a little fuzzy if looked at
too closely, and I gained a better appreciation of how it's
contributed to confusion in discussing password policies and
to adoption of perverse policies that favor "Password1!" over
"derived unusual ravioli raft".  So, "guesses" it is.

And although the log is handy for some analysis purposes
(certainly for a graph like those in the zxcvbn paper), it adds
a layer of abstraction, and I think makes it harder to think
clearly about attacks, especially in the online setting.  So
just use the actual number, and if someone wants to set a
gigantic value, they will have the pleasure of seeing just
how many digits are involved.

(Thanks to @YJDave for a prototype that the code changes in this
 commit are based on.)
2017-10-08 15:48:44 -07:00
..
analytics stats: Remove hourly data from messages sent over time. 2017-10-01 22:10:43 -07:00
confirmation portico: Style "confirm email change" page. 2017-09-27 17:41:45 -07:00
corporate Clean zephyr.html to use 4 space and consistent indentation. 2017-06-06 22:04:55 -07:00
tests jinja2: Use function interface for render_markdown_path. 2017-07-31 14:54:54 -07:00
zerver passwords: Express the quality threshold as guesses required. 2017-10-08 15:48:44 -07:00
zilencer Convert Zulip to use Jinja2 templates. 2016-05-09 09:55:18 -07:00
.gitignore Add a tool to draw the Django template inheritance graph 2012-10-16 01:33:15 -04:00
404.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00
500.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00