Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-06-29 | utils.int_to_bytes: guard against zero-length (#11173) | David Buchanan | 1 | -0/+7 | |
* utils: guard against zero-length int_to_bytes * add tests for HBKDF with llen=0 * kbkdf: guard against llen==0 * test that kbkdf rejects llen==0 at __init__ * add standalone test for zero-length int_to_bytes * Update src/cryptography/hazmat/primitives/kdf/kbkdf.py typo Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> --------- Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> | |||||
2024-05-05 | Apply ruff/flake8-implicit-str-concat rule ISC001 (#10932) | Dimitri Papadopoulos Orfanos | 1 | -4/+4 | |
ISC001 Implicitly concatenated string literals on one line This rule is currently disabled because it conflicts with the formatter: https://github.com/astral-sh/ruff/issues/8272 | |||||
2022-12-21 | Switch from flake8 to ruff (#7920) | Alex Gaynor | 1 | -3/+1 | |
It's more than 60x faster. | |||||
2022-07-30 | Resolve new flake8 errors (#7462) | Alex Gaynor | 1 | -18/+42 | |
2022-01-30 | Remove explicit subclassing of object now that all classes are new-style (#6830) | Alex Gaynor | 1 | -1/+1 | |
As someone who first with Python in 2.4 or so, this habit is going to be hard to break. | |||||
2021-11-25 | Finally remove deprecated int_from_bytes (#6652) | Alex Gaynor | 1 | -8/+16 | |
2021-09-13 | _ModuleWithDeprecations should inherit from types.ModuleType (#6267) (#6268) | Sándor Jenei | 1 | -0/+12 | |
* _ModuleWithDeprecations should inherit from types.ModuleType (#6267) Update utils.py * fix typos reported by black * flake8 fix * Test should fail when int_from_bytes will be removed. Because this test would become pointless then. | |||||
2020-12-09 | Remove __future__ import from our code (#5610) | Alex Gaynor | 1 | -1/+0 | |
2020-08-26 | new black, actually slightly different than the old black (#5429) | Paul Kehrer | 1 | -1/+2 | |
2020-07-20 | Paint it Black by the Rolling Stones (#5324) | Alex Gaynor | 1 | -1343/+1999 | |
2018-12-31 | HTTPS a bunch of links in random places (#4666) | Alex Gaynor | 1 | -4/+4 | |
* HTTPS a bunch of links in random places * What the heck happened here? | |||||
2018-09-06 | update pytest config (#4463) | Paul Kehrer | 1 | -2/+4 | |
* update pytest config pytest 3.8.0 was just released and officially deprecates some of the way we do pytest marks. They introduced a new way to do this in 3.6 so this PR switches to that mechanism and updates our minimum pytest requirement * update the stubs * also update wycheproof test config to remove deprecated paths * don't need this any more | |||||
2018-03-18 | Allow DSA q=224 (#4147) | Paul Kehrer | 1 | -47/+0 | |
* load Q=224 vectors * DSA parameters should support 224 for q length * oxford comma | |||||
2017-06-21 | implement CCM vector parser (#3699) | Paul Kehrer | 1 | -3/+187 | |
2017-06-20 | ed25519 vector loader (#3707) | Paul Kehrer | 1 | -1/+93 | |
* ed25519 vector loader * refactor to use unpacking | |||||
2017-06-03 | call check_backend_support directly from backend fixture (#3666) | Alex Gaynor | 1 | -16/+4 | |
2017-06-03 | Switched our backend to be a normal fixture in tests (#3665) | Alex Gaynor | 1 | -12/+1 | |
2017-05-20 | Delete some code (#3563) | Alex Gaynor | 1 | -44/+1 | |
* Delete some code * removed import * delete more code | |||||
2016-04-13 | Adding CAVP vector parsing for NIST SP 800-108 KDF vectors. (#2865) | Jared | 1 | -3/+96 | |
2015-10-13 | Fix load_kasvs_ecdh_vectors() COUNT sourcing | Simo Sorce | 1 | -2/+2 | |
COUNT is a decimal number in test files, but was erroneously read and converted as if the source was a hexadecimal number. Fix the loader and test the fix. Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
2015-09-24 | Some cleanups | Alex Gaynor | 1 | -10/+10 | |
2015-09-24 | Add vector loader for X9.63 vectors | Simo Sorce | 1 | -0/+81 | |
Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
2015-08-01 | add test to cover partial branch in load_kasvs_ecdh_vectors | Paul Kehrer | 1 | -0/+4 | |
The loop to find supported parameter sets is partially covered otherwise | |||||
2015-08-01 | add a line for the ecdh vector loader to cover a missed branch | Paul Kehrer | 1 | -0/+1 | |
2015-07-02 | fixed tests | Alex Gaynor | 1 | -2/+2 | |
2015-05-06 | Modify ECDH Test vector loader for KDF vectors | Simo Sorce | 1 | -0/+69 | |
Also add tests for the new vectors Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
2015-05-01 | Add loader for ECDH test vectors | Simo Sorce | 1 | -1/+293 | |
Also fix test vector files, they had a truncated line for the EE set in both init and resp files. Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
2014-11-27 | add encode_rfc6979_signature and refactor tests to use it | Paul Kehrer | 1 | -21/+1 | |
2014-11-16 | Update the license header for every source file, as well as the documentation. | Alex Gaynor | 1 | -12/+3 | |
Fixes #1209 | |||||
2014-10-25 | move skip_if_empty to separate function for test coverage | Paul Kehrer | 1 | -1/+8 | |
2014-10-23 | Change how we represented that a test requires a backend. | Alex Gaynor | 1 | -19/+6 | |
This way is more extensible and requires less maintaince | |||||
2014-08-10 | KASVS vector loader | Alex Stapleton | 1 | -3/+456 | |
2014-04-30 | negative test | Paul Kehrer | 1 | -0/+3 | |
2014-04-30 | rename dss_sig_value -> der_encode_dsa_signature | Paul Kehrer | 1 | -6/+8 | |
2014-04-30 | use pyasn1 for creating the dss-sig-value structure | Paul Kehrer | 1 | -11/+0 | |
2014-04-30 | dss_sig_value: Pure python conversion of (r, s) to byte stream | Paul Kehrer | 1 | -5/+31 | |
2014-04-25 | Fix some typos. | Alex Gaynor | 1 | -1/+1 | |
Found with https://github.com/intgr/topy/ | |||||
2014-04-22 | fix a coverage miss in the dsa sig vector loader | Paul Kehrer | 1 | -0/+11 | |
2014-04-22 | Modify DSA SigVer loader to be able to load SigGen vectors | Mohammed Attia | 1 | -2/+234 | |
2014-04-22 | Add DSA SigVer vectors loader | Mohammed Attia | 1 | -39/+296 | |
2014-04-19 | SigVer.rsp loading | Alex Stapleton | 1 | -4/+7 | |
2014-04-16 | Missed an unhexlify | Alex Stapleton | 1 | -1/+1 | |
2014-04-15 | Use binascii.hexlify instead of just hexlify | Alex Stapleton | 1 | -4/+4 | |
2014-04-13 | ECDSA SigGen.{txt,rsp} vector loader | Alex Stapleton | 1 | -2/+161 | |
2014-04-12 | ECDSA vector loader | Alex Stapleton | 1 | -2/+124 | |
2014-03-29 | expand pkcs1 loader to support OAEP as well | Paul Kehrer | 1 | -0/+214 | |
2014-03-27 | Pain the bikeshed a different colour | Alex Stapleton | 1 | -1/+1 | |
2014-03-27 | Fixes to @alex's comments | Alex Stapleton | 1 | -17/+20 | |
2014-03-27 | Update tests | Alex Stapleton | 1 | -11/+16 | |
2014-03-27 | Address most of my own comments | Alex Stapleton | 1 | -1/+32 | |