| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
| |
They aren't required now that we no longer use the OpenBSD library
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
* Drop six dependency
* Resolve formatting error
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* WIP: add type hints to top level functions
TODO:
- see if mypy picks up types when installing in new project
- setup mypy in CI
fixes https://github.com/pyca/bcrypt/issues/215
* add mypy to ci & move py.typed to correct folder?
* try and get mypy to run in CI
* run mypy in travis?
* use mypy defaults for python_version and platform
https://mypy.readthedocs.io/en/stable/config_file.html#platform-configuration
* update change log with changes
|
| | |
|
| |
|
|
|
|
| |
Use an application relative import when importing _bcrypt. This allows
the package to work even in odd locations, such as
`pip install --target . bcrypt` (rather than in the site-packages or
user packages directory).
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| | |
|
| |
|
|
|
| |
Previously it would silently accept extra data, and overread a buffer on truncated data.
Reported by Matthew Russell
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
* add bcrypt_pbkdf support
* bytes!
* some docs
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| | |
|
|
|
* 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.
|