| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|\
| |
| | |
Bugfix kbd
|
| |
| |
| |
| |
| |
| | |
Selftests extracted (removed) from zxcvbn.c and test.c and placed
into test-internals.c
Makefile updated.
|
| |
| |
| |
| |
| | |
Test binaries perform additional selftests now.
This helps to detect errors in keyboard layout definitions early.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The previous test stopped when a (any) match for a given substring was
found. While this is slightly faster than an exhaustive search across
all registered keyboard layouts, it could result in a too optimistic
entropy estimation.
Example: The string jkl;'# yield the following entropies depending
whether the UK-keyboard layout had a chance to be tested or not:
Layout Code base Entropy
----------------------------------------------------------------------
US previous bits=17.080 log10=5.142 Multi-word extra bits=1.0
UK this bits=11.116 log10=3.346 Multi-word extra bits=0.0
----------------------------------------------------------------------
The time to perform these checks were identical (i.e. 0.07ms, here).
A new testcase for UK-layout was added.
All legacy tests pass. New test passes. valgrind-check: passed
|
|/
|
|
|
|
|
| |
Two layout fixes around the keys ',' and ';'.
Dvorak layout array size reduced to 47*7.
Test outcome was not affected.
|
|\
| |
| | |
Fix spelling, capitalization, URL
|
| | |
|
| | |
|
|/
|
| |
CoffeeScript & Dijkstra were standardized and capitalized according to their wishes. Also, the DropBox URL was updated.
|
|
|
|
|
|
| |
This has been done to clarify the licensing of past contributions.
There has not any response from rchatterjee regarding this so reverting his updates(see conversation for github pull request #12).
Other contributors have accepted the change (see github pull requests #11, #14 and github issue #15).
|
|\
| |
| | |
Fix match for decrementing sequences causing heap corruptions
|
| |
| |
| |
| |
| | |
This was causing heap corruptions (write past array boundary) in
ZxcvbnMatch for passwords ending with 09 for example
|
| |
| |
| |
| | |
to match.
|
|\ \
| | |
| | | |
Add license to project, changing to MIT copyright.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds the MIT copyright license to the project to make it easier
for other people to re-use. The other clones of the original zxcvbn
also seem to be doing the same thing.
This is the only identifying information I have on the author, not sure
if that's enough for you?:
tsyrogit https://github.com/tsyrogit
|
|\ \
| |/
|/| |
Update README.md
|
|/
|
| |
Cosmetic changes on the readme. And many thanks for porting `zxcvbn` to c/c++.
|
|
|
|
|
| |
for this by hannob in commit ad2ef761 works for the current dictionary, but would
fail if a dictionary is used with 49 or more possible characters for one of its nodes.
|
|\
| |
| | |
memory safety fixes (bugs discovered with address sanitizer)
|
| |
| |
| |
| |
| | |
The array PossChars, part of DictWork_t, needs to be one byte larger
to hold the trailing zero byte.
|
|/ |
|
|\
| |
| |
| | |
makefile
|
| |\
| | |
| | | |
Standardise makefile variables
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- use $(LDFLAGS) close to end of command to avoid build failures with
linker option --as-needed
- use $(CC), $(AR), $(CXX) to the user can choose their own compiler
- use $(CPPFLAGS), $(CFLAGS) and $(CXXFLAGS) are they are intended
- correct CPPFLAGS -> CXXFLAGS at top of file
|
| |\ \
| | |/
| |/| |
Add another missing file to clean target
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
some controlling #defines to beginning of zxcvbn.c
|
| | |
|
| | |
|
| |
| |
| |
| | |
Also allow for repeated sequences.
|
|/
|
|
| |
Also add printing password entropy as log10(guesses)
|
|\ |
|
|/| |
|
| | |
|
| | |
|
| |
| |
| |
| | |
To build as a shared/static library.
|
|\ \
| | |
| | | |
Fix clean target
|
| |/
| |
| |
| | |
Some build products are not cleaned.
|
|\ \
| | |
| | | |
Conditionally define CFLAGS and CPPFLAGS
|
| |/
| |
| |
| | |
This avoids wiping out distribution-defined flags.
|
|\ \
| |/
|/| |
Add missing cast for C++11
|
|/
|
|
|
|
| |
Fixes build with gcc 5+
Fixes #1
|