summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Bump go deps in tests/reference/ (#504)Alex Gaynor2023-02-182-3/+30
| | | This is to fix a warning about a vulnerable dep
* fixes #416 -- correctly handle invalid salts (#417)Alex Gaynor2022-09-161-0/+5
|
* allow null bytes in inputs (#328)Shivaram Lingamneni2022-07-235-7/+71
|
* Switch to a Rust implementation of cryptographic primitives (#294)Alex Gaynor2022-05-011-5/+0
|
* Update our python versions to be consistent (#241)Alex Gaynor2020-12-191-2/+2
|
* Drop six dependency (#225)Eugene2020-08-171-18/+6
| | | | | * Drop six dependency * Resolve formatting error
* Paint it Black by the Rolling Stones (#208)Alex Gaynor2020-07-231-133/+162
|
* Don't emit warnings here, there's no point (#137)Alex Gaynor2017-12-041-1/+3
| | | | | | * Don't emit warnings here, there's no point * whoops here
* Warn upon too few bcrypt.kdf() rounds (#104)Luc Gommans2017-01-211-0/+13
| | | | | | | | | | | | * Warn upon too few bcrypt.kdf() rounds * Use warings library instead of sys.stderr * Add test for changes * Test new kdf parameter for coverage * Formatting & py26 compatibility
* Correctly handle invalid hashed passwords in bcrypt.checkpw. (#95)Alex Gaynor2016-10-021-0/+9
| | | | | Previously it would silently accept extra data, and overread a buffer on truncated data. Reported by Matthew Russell
* Inputing a 2y salt should output a 2y hash (#84)Donald Stufft2016-06-301-2/+2
|
* Restore compatibility with 2.0.0's fix for wraparound bug (#81)Paul Kehrer2016-06-301-0/+6
|
* Add checkpw (#76)Paul Kehrer2016-06-291-0/+55
|
* Refactor tests to stop duplicating vectors (#78)Paul Kehrer2016-06-281-142/+72
|
* Add bcrypt pbkdf support (#70)Paul Kehrer2016-06-271-0/+124
| | | | | | | | * add bcrypt_pbkdf support * bytes! * some docs
* Convert bcrypt to use OpenBSD code (#68)Paul Kehrer2016-06-271-4/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * swap to using openbsd bcrypt * we should probably call this 3.0 * update tests to handle slight change in behavior, test better * strip out code we're not using * define this for linux * py3 fix * add a changelog to the readme * maybe work with windows * portable endian header, replace swaps, other windows fixes * handle older windows compilers properly, handle glibc < 2.9, retab * remove a todo, that's definitely the limit * make these definitions conditional since some BSDs may already have them * add $2a$ tests from crypt_blowfish-1.3 * update readme to note supported prefixes * almost pointless commit * add support for $2y$ test vectors from openwall crypt-blowfish1.3
* Add tests for gensalt(prefix) functionalityjazzyb2015-06-121-0/+10
|
* Add prefix option to gensalt() - default to "2b"jazzyb2015-06-121-84/+84
|
* Migrate to using CFFI 1.0Donald Stufft2015-06-111-5/+0
| | | | | | | * Move everything under src/ to ensure we test against the installed library. * Create a build_bcrypt.py script which will build _bcrypt.so. * Refactor to utilize the new _bcrypt.so instead of implicit compile.
* flake8Alex Gaynor2015-03-131-0/+1
|
* Error out on NUL bytes.Alex Gaynor2015-03-131-0/+4
|
* Merge pull request #31 from alex/no-more-mockDonald Stufft2014-12-061-8/+3
|\ | | | | Removed usage of mock which wasn't really doing anything
| * Removed usage of mock which wasn't really doing anythingAlex Gaynor2014-12-061-8/+3
| |
* | Simplify, very slightly, how the parameterize decorator is usedAlex Gaynor2014-12-061-1/+1
|/
* Disable the ability to implicitly compile the CFFI moduleDonald Stufft2014-12-051-0/+5
|
* Enable flake8 style checksDonald Stufft2014-12-051-42/+190
|
* Switch to using sixDonald Stufft2014-12-051-2/+3
|
* Fix tests for unicode characters on Python 3.2Donald Stufft2013-05-111-2/+2
|
* Give a better error message when passing a text type to hashpwDonald Stufft2013-05-111-0/+10
|
* Add tests to ensure behaviorDonald Stufft2013-05-101-0/+107