Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use from __future__ import annotations everywhere (#8643) | Alex Gaynor | 2023-03-31 | 1 | -0/+1 |
| | |||||
* | Remove explicit subclassing of object now that all classes are new-style (#6830) | Alex Gaynor | 2022-01-30 | 1 | -2/+2 |
| | | | As someone who first with Python in 2.4 or so, this habit is going to be hard to break. | ||||
* | type pkcs7 padder/unpadder return type (#6718) | Paul Kehrer | 2021-12-22 | 1 | -2/+2 |
| | |||||
* | Convert unpadding code to Rust (#5668) | Alex Gaynor | 2021-02-21 | 1 | -5/+8 |
| | |||||
* | Added typing for a bunch of methods (#5737) | Alex Gaynor | 2021-02-01 | 1 | -4/+4 |
| | |||||
* | add typing to padding and constant time modules (#5714) | Paul Kehrer | 2021-01-30 | 1 | -33/+50 |
| | |||||
* | Complete removal of py2 (#5533) | Alex Gaynor | 2020-12-09 | 1 | -7/+4 |
| | | | | | * Drop Python 2 * Black everything | ||||
* | Remove __future__ import from our code (#5610) | Alex Gaynor | 2020-12-09 | 1 | -1/+0 |
| | |||||
* | Remove Python2 from CI and code that branched on it (#5607) | Alex Gaynor | 2020-12-08 | 1 | -8/+2 |
| | | | | | | | | | | | | | * Remove Python2 from CI and code that branched on it * Update setup.py Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * remove * review feedback Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | padding: Tip-toe around bytes subclasses. (#5548) | Benjamin Peterson | 2020-11-04 | 1 | -2/+8 |
| | | | | | This change allows future's newbytes class to be padded again. Fixes https://github.com/pyca/cryptography/issues/5547. | ||||
* | allow bytes-like for padding (#5462) | Paul Kehrer | 2020-09-13 | 1 | -4/+4 |
| | | | | this doesn't improve efficiency in any way (copies galore!), but it does make it consistent between a cipher context and a padding context | ||||
* | Paint it Black by the Rolling Stones (#5324) | Alex Gaynor | 2020-07-20 | 1 | -14/+22 |
| | |||||
* | centralize our bytes check (#4622) | Paul Kehrer | 2018-12-02 | 1 | -4/+2 |
| | | | this will make life a bit easier when we support bytearrays | ||||
* | Raise padding block_size limit to what is allowed by the specs. (#3108) | Terry Chia | 2016-11-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | * Raize padding block_size limit to what is allowed by the specs. * Add tests for raising padding limits. * Amend C code for padding check to use uint16_t instead of uint8_t. * Fix test to work in Python 3. * Fix typo. * Fix another typo. * Fix return type of the padding checks. * Change hypothesis test on padding. * Update comment. | ||||
* | Don't use subclass | Cédric Krier | 2016-03-14 | 1 | -88/+112 |
| | |||||
* | Make _padding and _check_padding abstractmethod | Cédric Krier | 2016-02-27 | 1 | -2/+10 |
| | |||||
* | Add padding check for ANSI X.923 | Cédric Krier | 2016-02-27 | 1 | -1/+3 |
| | | | | All padding bytes must be 0. | ||||
* | Factorize out common byte padding | Cédric Krier | 2016-02-27 | 1 | -18/+33 |
| | |||||
* | Added support for padding ANSI X.923 | Cédric Krier | 2016-02-27 | 1 | -4/+33 |
| | |||||
* | convert to cffi 1.0 precompile system | Paul Kehrer | 2015-06-07 | 1 | -15/+2 |
| | |||||
* | Move padding code into .c and .h files. | Terry Chia | 2015-03-03 | 1 | -41/+7 |
| | |||||
* | move padding | Paul Kehrer | 2015-02-13 | 1 | -3/+19 |
| | |||||
* | Update the license header for every source file, as well as the documentation. | Alex Gaynor | 2014-11-16 | 1 | -12/+3 |
| | | | | Fixes #1209 | ||||
* | Move the cryptography package into a src/ subdirectory | Donald Stufft | 2014-11-13 | 1 | -0/+164 |
Due to differences in how py.test determines which module to ``import`` the test suite actually runs against the cryptography which is in the *current* directory instead of the cryptography which is installed. The problem essentially boils down to when there is a tests/__init__.py then py.test adds the current directory to the front of the sys.path, causing it to take precedence over the installed location. This means that running the tests relies on the implicit compile that CFFI does instead of testing against what people will actually be runnning, which is the module compiled by setup.py. |