Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | document sigencoding and sigdecoding functions | Hubert Kario | 2023-03-02 | 1 | -18/+104 |
| | |||||
* | add test coverage for canonicalizing signature encoders | Hubert Kario | 2023-03-02 | 1 | -2/+80 |
| | |||||
* | test_malformed_sigs: no branches in strategy generators | Hubert Kario | 2023-03-02 | 1 | -1/+1 |
| | |||||
* | test_pyecdsa: remove unused variable | Hubert Kario | 2023-02-28 | 1 | -2/+0 |
| | |||||
* | _rwlock: remove dead code | Hubert Kario | 2023-02-28 | 2 | -266/+0 |
| | |||||
* | explain why literal `!=` is used in asserts | Hubert Kario | 2023-02-28 | 1 | -0/+4 |
| | |||||
* | don't mix import styles for imports from module | Hubert Kario | 2023-02-28 | 1 | -46/+56 |
| | |||||
* | don't use lambdas as simple wrappers | Hubert Kario | 2023-02-28 | 2 | -6/+4 |
| | |||||
* | test_malformed_sigs: make sure variable is initialised | Hubert Kario | 2023-02-28 | 1 | -0/+1 |
| | |||||
* | test_pyecdsa: make coverage realistic | Hubert Kario | 2023-02-24 | 1 | -2/+2 |
| | | | | we want to test both with and without openssl command present | ||||
* | test_numbertheory: make test coverage realistic | Hubert Kario | 2023-02-24 | 1 | -2/+2 |
| | |||||
* | test_jacobi: make coverage realistic | Hubert Kario | 2023-02-24 | 1 | -1/+1 |
| | | | | | Since it's a test case, only one course of action is actually expected so there is no branch at this point, even if the with: never returns | ||||
* | use recommended convention for testing that no warnings were raised | Hubert Kario | 2023-02-24 | 1 | -18/+12 |
| | |||||
* | skip tests breaking coverage on pypy | Hubert Kario | 2023-02-24 | 1 | -4/+10 |
| | |||||
* | Drop support for python 3.3 and python 3.4 | Hubert Kario | 2023-02-24 | 1 | -20/+5 |
| | | | | | | | | | As Github actions is dropping support for Ubuntu-18.04 images and those are the only ones that support easy execution of python 3.3 and python 3.4 environments, support for py3.3 and 3.4 would be hard to ensure. For old systems python 2.6 and 2.7 support will remain. | ||||
* | tighter bounds for hypothesis parameters | Hubert Kario | 2022-10-24 | 3 | -13/+13 |
| | |||||
* | fixup formatting in keys module | Hubert Kario | 2022-07-08 | 1 | -1/+1 |
| | |||||
* | add description of low level elliptic curve operations | Hubert Kario | 2022-07-08 | 1 | -1/+4 |
| | |||||
* | better cross-module linking in ecdsa.keys | Hubert Kario | 2022-07-08 | 1 | -25/+34 |
| | |||||
* | move all glossary items to single file | Hubert Kario | 2022-07-08 | 1 | -68/+0 |
| | |||||
* | document find_curve() | Hubert Kario | 2022-06-10 | 1 | -0/+10 |
| | |||||
* | add support for finding Curves by name | Hubert Kario | 2022-06-10 | 2 | -1/+63 |
| | |||||
* | Merge pull request #256 from tlsfuzzer/eddsa | Hubert Kario | 2022-04-22 | 3 | -0/+130 |
|\ | | | | | EdDSA support | ||||
| * | skip legacy hashes as they brake python compiled against openssl 3.0 | Hubert Kario | 2022-04-02 | 1 | -0/+8 |
| | | |||||
| * | interoperability tests for EdDSA with openssl | Hubert Kario | 2022-04-02 | 2 | -0/+122 |
| | | |||||
* | | fix sphinx warnings in doc stings | Hubert Kario | 2022-04-02 | 6 | -88/+110 |
|/ | |||||
* | better handling for malformed curve parameters | Hubert Kario | 2022-04-01 | 3 | -8/+39 |
| | | | | | | Since explicit curve parameters may not use prime numbers as the field (see CVE-2022-0778), make sure that our square_root_mod_prime() handles non-prime p gracefully | ||||
* | VerifyingKey: explicit use the same point encoding for generator as pkey | Hubert Kario | 2022-03-29 | 1 | -1/+1 |
| | | | | | Provide control over how the generator point is encoded when explitic curve parameters are used | ||||
* | fix doc for curve_parameters_encoding | Hubert Kario | 2022-03-29 | 1 | -2/+2 |
| | | | | named_curve was listed twice, it should be either it or explicit | ||||
* | use new version of black | Hubert Kario | 2022-03-29 | 19 | -85/+108 |
| | |||||
* | workaround py3.3 bug with empty strings and memoryview | Hubert Kario | 2022-01-05 | 2 | -4/+19 |
| | |||||
* | add testing on Python 3.11 | Hubert Kario | 2022-01-04 | 2 | -58/+185 |
| | | | | | Also update versioneer to 0.21 (with modifications to make it work with 2.6) | ||||
* | try to support pkcs8 v2 format pem file for EdDSA (#281) | Myse1f | 2022-01-04 | 2 | -4/+20 |
| | | | * try to support pkcs8 v2 format pem file | ||||
* | add note to not use low level interfaces | Hubert Kario | 2021-12-06 | 1 | -0/+3 |
| | |||||
* | Fix typos (#266) | Kian Meng Ang | 2021-11-06 | 3 | -16/+15 |
| | | | | | * Fix typos * Fix pylint e501 | ||||
* | eddsa: add support for point precomputation | Hubert Kario | 2021-10-11 | 4 | -11/+121 |
| | |||||
* | docs: Fix a few typos | Tim Gates | 2021-09-05 | 3 | -3/+3 |
| | | | | | | | | | | | | | | There are small typos in: - src/ecdsa/ellipticcurve.py - src/ecdsa/numbertheory.py - src/ecdsa/test_malformed_sigs.py - versioneer.py Fixes: - Should read `support` rather than `suport`. - Should read `languages` rather than `langauges`. - Should read `internally` rather than `interanlly`. - Should read `arbitrarily` rather than `arbitrarly`. | ||||
* | Support for DER and PEM serialisation of EdDSA keys | Hubert Kario | 2021-07-29 | 3 | -5/+299 |
| | |||||
* | add EdDSA support to SigningKey and VerifyingKey | Hubert Kario | 2021-07-29 | 10 | -24/+329 |
| | |||||
* | add low level EdDSA methods | Hubert Kario | 2021-07-26 | 4 | -6/+665 |
| | |||||
* | Encoding and decoding byte byte representations of Edwards points | Hubert Kario | 2021-07-26 | 2 | -2/+205 |
| | |||||
* | Add Twisted Edwards curve point arithmetic | Hubert Kario | 2021-07-26 | 3 | -20/+764 |
| | |||||
* | add SHAKE-256 implementation | Hubert Kario | 2021-07-20 | 3 | -5/+367 |
| | | | | | On earlier pythons we don't have the ability to set the size of SHAKE-256 output, so we need to use our own implementation. | ||||
* | add support for writing keys with explicit curve parameters | Hubert Kario | 2021-05-21 | 2 | -13/+83 |
| | |||||
* | support reading keys with explicitly encoded curve parameters | Hubert Kario | 2021-05-21 | 2 | -26/+133 |
| | |||||
* | support for limiting acceptable curve encodings | Hubert Kario | 2021-05-21 | 2 | -5/+62 |
| | | | | | | as some standards, like PKIX in X.509 certificates, don't allow for explicit curve paramters, provide an API that limits the supported formats | ||||
* | support for PEM format for EC parameters | Hubert Kario | 2021-05-21 | 2 | -0/+76 |
| | |||||
* | add support for reading and writing curve parameters in DER | Hubert Kario | 2021-05-21 | 5 | -56/+436 |
| | |||||
* | move parsing of points from VerifyingKey to parent class of points | Hubert Kario | 2021-05-21 | 4 | -107/+273 |
| | | | | | | | | | | | For decoding points it's not necessary to have all the data useful for decoding public keys. This will also make it possible to decode explicit EC parameters, as decoding of a public key requires knowledge of the curve's base point and the base point is in defined in the parameters, creating a chicken and an egg problem with using the VerifyingKey.from_string() to parse the base point. | ||||
* | [FIX] changed forbidding to forbidden | Umar | 2021-04-29 | 1 | -1/+1 |
| |