Commit Graph

20 Commits

Author SHA1 Message Date
Alex Gaynor
765a3851de
Switch to nox (#954) 2025-01-17 12:50:58 -08:00
Alex Gaynor
7939bef883
Everything is Rust (#670) 2023-11-23 20:06:59 -06:00
Paul Kehrer
bffa10fce7
CI updates (#341)
* CI updates

add caching, pin rs toolchain hash

* fix syntax

* add missing env var

also forgot to do caching on the distros job

* oops

* manifest fixes
2022-05-27 21:25:19 -04:00
Alex Gaynor
2d20a7e24b
Switch to a Rust implementation of cryptographic primitives (#294) 2022-05-01 10:59:05 -06:00
Alex Gaynor
742723a99e
Move most setup.py configuration into setup.cfg (#293) 2022-02-21 05:12:28 +08:00
Paul Kehrer
871e21914d
circleci support for linux arm64 (#284) 2022-01-05 16:18:14 -05:00
Steve Dignam
f9066e2be5
add: type hints to top level functions (#218)
* 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
2020-08-13 21:09:30 -05:00
Alex Gaynor
2e6287ce23
Remove reference to azure pipelines from manifest.in (#203) 2020-04-19 12:26:06 -05:00
Alex Gaynor
cb29250759 Update release automation for CI updates (#178)
* Update release automation for CI updates

* flake8

* Fixed Manifest

* empty commit

* oops
2019-05-26 23:34:30 -04:00
Paul Kehrer
61e833684f add azure pipelines wheel builder for bcrypt (#177)
* add azure pipelines wheel builder for bcrypt

* fix manifest, remove jenkins
2019-05-26 18:38:37 -04:00
Paul Kehrer
6659f215bf Azure (#174)
* switch to azure pipelines

no more jenkins, do mac builds on azure

* add status badge

* fix manifest issue

* full path to tox on windows

* quotes

* indentation

* i don't understand.

* remove unneeded vars

* test on more pythons
2019-05-26 11:28:59 -04:00
Alex Gaynor
b8c466aac0 Added a pyproject.toml (#153) 2018-07-23 18:35:55 -04:00
Paul Kehrer
9261402d6c Jenkins wheel builder (#112)
* jenkinsfile for bcrypt wheel builder

* remove unneeded wheel scripts

* build for py26 as well

* manifest!!!

* don't assert when we can bcrypt.checkpw(password, hashed)
2017-06-25 18:14:35 -04:00
Paul Kehrer
2c36d3a096 Switch to Jenkinsfile for jenkins job configuration (#108)
* Switch to Jenkinsfile for jenkins job configuration

* exclude Jenkinsfile from the package

* add freebsd and separate scm checkout stage

* try to add some color

* prettier ansicolor wrapper + a build timeout

* try a thing

* what is going on

* this should be dumb and wrong

* how 'bout this

* this should work
2017-04-28 12:34:27 -04:00
Paul Kehrer
044605b687 add build scripts for creating manylinux1 wheels (#89)
* add build scripts for creating manylinux1 wheels

* update manifest to make check-manifest happy

* quote some things

* more review feedback
2016-12-17 14:24:23 -05:00
Donald Stufft
dcbfcccb7e Fix packaging (#87)
* Ensure that all files are packaged or excluded

* Add a test to ensure our packaging stays correct
2016-06-30 12:05:21 -05:00
Paul Kehrer
394882d070 Convert bcrypt to use OpenBSD code (#68)
* 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
2016-06-27 11:53:42 -05:00
Donald Stufft
51ebadb34d Migrate to using CFFI 1.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.
2015-06-11 09:23:01 -04:00
Donald Stufft
d495b3617a Upgrade crypt_blowfish to 1.3 2014-12-05 23:31:10 -05:00
Donald Stufft
f260ee6a90 Package the bcrypt library 2013-05-10 23:10:18 -04:00