Skip to content

Conversation

gcmurphy
Copy link
Member

A first pass at solving #105 using zxcvbn. There are a number of things that can be configured in relation to this new feature including:

  • Whether the entropy of potential credentials be considered
  • Entropy threshold before a string is considered a credential
  • Entropy threshold per character
  • Length of string to calculate entropy on (performance tweak).

This will hopefully reduce the number of false positives when it comes
to hard coded credentials. The zxcvbn library is used to calculate the
entropy of the string. By default the first 16 characters are considered
as doing the entropy check for strings much longer than that introduces
a fairly significant performance hit.
@gcmurphy gcmurphy merged commit f6aeaa8 into master Jan 14, 2017
@gcmurphy gcmurphy deleted the feature branch July 19, 2017 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant