mirror of https://github.com/zulip/zulip.git
a116303604
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.) |
||
---|---|---|
.. | ||
settings | ||
.gitignore | ||
actions_popover_content.handlebars | ||
admin_default_streams_list.handlebars | ||
admin_emoji_list.handlebars | ||
admin_filter_list.handlebars | ||
admin_streams_list.handlebars | ||
admin_tab.handlebars | ||
admin_user_list.handlebars | ||
alert_word_settings_item.handlebars | ||
announce_stream_docs.handlebars | ||
bankruptcy_modal.handlebars | ||
bookend.handlebars | ||
bot_avatar_row.handlebars | ||
bot_owner_select.handlebars | ||
compose-invite-users.handlebars | ||
compose_all_everyone.handlebars | ||
compose_notification.handlebars | ||
default_language_modal.handlebars | ||
draft.handlebars | ||
draft_table_body.handlebars | ||
email_address_hint.handlebars | ||
emoji_popover.handlebars | ||
emoji_popover_content.handlebars | ||
emoji_popover_emoji.handlebars | ||
emoji_popover_search_results.handlebars | ||
emoji_showcase.handlebars | ||
group_pms.handlebars | ||
hotspot_overlay.handlebars | ||
invite_subscription.handlebars | ||
loader.handlebars | ||
message_edit_form.handlebars | ||
message_edit_history.handlebars | ||
message_group.handlebars | ||
message_reaction.handlebars | ||
message_reactions.handlebars | ||
more_topics.handlebars | ||
muted_topic_ui_row.handlebars | ||
new_stream_users.handlebars | ||
notification.handlebars | ||
propagate_notification_change.handlebars | ||
recipient_row.handlebars | ||
settings_tab.handlebars | ||
sidebar_private_message_list.handlebars | ||
single_message.handlebars | ||
stream_member_list_entry.handlebars | ||
stream_privacy.handlebars | ||
stream_sidebar_actions.handlebars | ||
stream_sidebar_row.handlebars | ||
subscription.handlebars | ||
subscription_creation_form.handlebars | ||
subscription_invites_warning_modal.handlebars | ||
subscription_setting_icon.handlebars | ||
subscription_settings.handlebars | ||
subscription_stream_privacy_modal.handlebars | ||
subscription_table_body.handlebars | ||
subscription_type.handlebars | ||
tab_bar.handlebars | ||
topic_edit_form.handlebars | ||
topic_list_item.handlebars | ||
topic_sidebar_actions.handlebars | ||
typeahead_list_item.handlebars | ||
typing_notification.handlebars | ||
typing_notifications.handlebars | ||
uploaded_files_list.handlebars | ||
user_info_popover.handlebars | ||
user_info_popover_content.handlebars | ||
user_info_popover_title.handlebars | ||
user_presence_row.handlebars | ||
user_presence_rows.handlebars |