summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* document sigencoding and sigdecoding functionsHubert Kario2023-03-021-18/+104
|
* add test coverage for canonicalizing signature encodersHubert Kario2023-03-021-2/+80
|
* test_malformed_sigs: no branches in strategy generatorsHubert Kario2023-03-021-1/+1
|
* test_pyecdsa: remove unused variableHubert Kario2023-02-281-2/+0
|
* _rwlock: remove dead codeHubert Kario2023-02-282-266/+0
|
* explain why literal `!=` is used in assertsHubert Kario2023-02-281-0/+4
|
* don't mix import styles for imports from moduleHubert Kario2023-02-281-46/+56
|
* don't use lambdas as simple wrappersHubert Kario2023-02-282-6/+4
|
* test_malformed_sigs: make sure variable is initialisedHubert Kario2023-02-281-0/+1
|
* test_pyecdsa: make coverage realisticHubert Kario2023-02-241-2/+2
| | | | we want to test both with and without openssl command present
* test_numbertheory: make test coverage realisticHubert Kario2023-02-241-2/+2
|
* test_jacobi: make coverage realisticHubert Kario2023-02-241-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 raisedHubert Kario2023-02-241-18/+12
|
* skip tests breaking coverage on pypyHubert Kario2023-02-241-4/+10
|
* Drop support for python 3.3 and python 3.4Hubert Kario2023-02-241-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 parametersHubert Kario2022-10-243-13/+13
|
* fixup formatting in keys moduleHubert Kario2022-07-081-1/+1
|
* add description of low level elliptic curve operationsHubert Kario2022-07-081-1/+4
|
* better cross-module linking in ecdsa.keysHubert Kario2022-07-081-25/+34
|
* move all glossary items to single fileHubert Kario2022-07-081-68/+0
|
* document find_curve()Hubert Kario2022-06-101-0/+10
|
* add support for finding Curves by nameHubert Kario2022-06-102-1/+63
|
* Merge pull request #256 from tlsfuzzer/eddsaHubert Kario2022-04-223-0/+130
|\ | | | | EdDSA support
| * skip legacy hashes as they brake python compiled against openssl 3.0Hubert Kario2022-04-021-0/+8
| |
| * interoperability tests for EdDSA with opensslHubert Kario2022-04-022-0/+122
| |
* | fix sphinx warnings in doc stingsHubert Kario2022-04-026-88/+110
|/
* better handling for malformed curve parametersHubert Kario2022-04-013-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 pkeyHubert Kario2022-03-291-1/+1
| | | | | Provide control over how the generator point is encoded when explitic curve parameters are used
* fix doc for curve_parameters_encodingHubert Kario2022-03-291-2/+2
| | | | named_curve was listed twice, it should be either it or explicit
* use new version of blackHubert Kario2022-03-2919-85/+108
|
* workaround py3.3 bug with empty strings and memoryviewHubert Kario2022-01-052-4/+19
|
* add testing on Python 3.11Hubert Kario2022-01-042-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)Myse1f2022-01-042-4/+20
| | | * try to support pkcs8 v2 format pem file
* add note to not use low level interfacesHubert Kario2021-12-061-0/+3
|
* Fix typos (#266)Kian Meng Ang2021-11-063-16/+15
| | | | | * Fix typos * Fix pylint e501
* eddsa: add support for point precomputationHubert Kario2021-10-114-11/+121
|
* docs: Fix a few typosTim Gates2021-09-053-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 keysHubert Kario2021-07-293-5/+299
|
* add EdDSA support to SigningKey and VerifyingKeyHubert Kario2021-07-2910-24/+329
|
* add low level EdDSA methodsHubert Kario2021-07-264-6/+665
|
* Encoding and decoding byte byte representations of Edwards pointsHubert Kario2021-07-262-2/+205
|
* Add Twisted Edwards curve point arithmeticHubert Kario2021-07-263-20/+764
|
* add SHAKE-256 implementationHubert Kario2021-07-203-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 parametersHubert Kario2021-05-212-13/+83
|
* support reading keys with explicitly encoded curve parametersHubert Kario2021-05-212-26/+133
|
* support for limiting acceptable curve encodingsHubert Kario2021-05-212-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 parametersHubert Kario2021-05-212-0/+76
|
* add support for reading and writing curve parameters in DERHubert Kario2021-05-215-56/+436
|
* move parsing of points from VerifyingKey to parent class of pointsHubert Kario2021-05-214-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 forbiddenUmar2021-04-291-1/+1
|