aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_dsa.py
Commit message (Collapse)AuthorAgeFilesLines
* Inline calls to bit_length now that it's trivial (#3966)Alex Gaynor2017-10-121-2/+1
| | | | | | | | * Inline calls to bit_length now that it's trivial * unused imports * An comment
* deprecate signer/verifier on asymmetric keys (#3663)Paul Kehrer2017-06-031-2/+5
| | | | | | * deprecate signer/verifier on asymmetric keys * review feedback, switch deprecated_call to work around a bug
* make signature and verification contexts error better re: prehashed (#3658)Paul Kehrer2017-06-021-0/+12
| | | | | | * make signature and verification contexts error better re: prehashed * code review feedback
* support prehashed sign/verify in DSA (#3266)Paul Kehrer2016-11-201-1/+46
|
* One shot sign/verify DSA (#3003)Aviv Palivoda2016-06-301-0/+20
| | | | | | | | * Add sign and verify methods to DSA * Documented DSA sign/verify methods * Added CHANGELOG entry
* added a repr to the dsa numbers classes (#2961)Alex Gaynor2016-06-031-0/+15
| | | | | | | | * added a repr to the dsa numbers classes * fix * another test
* SSH serialization for public keys (#2957)Alex Gaynor2016-06-031-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SSH serialization for public keys * name errors ahoy! * id, ego, superego * dsa support * EC support * Don't keyerror * Documentation OpenSSH * flake8 * fix * bytes bytes bytes * skip curve unsupported * bytes! * Move a function * reorganize code for coverage
* Un-double the test doublesAlex Gaynor2016-03-051-14/+2
|
* Write some tests for skip conditions in tests.Alex Gaynor2016-01-101-16/+31
| | | | Without this these branches aren't excersised without 0.9.8, but conceptually they are needed.
* Merge pull request #2262 from viraptor/non-bytes-signaturesPaul Kehrer2015-08-121-0/+5
|\ | | | | Ensure early exeption on non-bytes signature
| * Enforce signature type in ECDSA and add testsStanisław Pitucha2015-08-121-0/+5
| | | | | | | | | | Ensure that ECDSA signatures are bytes to match RSA/DSA and add tests for all three.
* | resolve incorrect docs/naming around DSA (r, s) tuple encode/decodePaul Kehrer2015-08-101-2/+2
|/
* require serialization in asym testsPaul Kehrer2015-06-271-52/+23
|
* DER serialization of DSA private keysPaul Kehrer2015-03-141-24/+86
|
* Merge pull request #1741 from reaperhulk/serialize-der-public-keysAlex Gaynor2015-03-101-6/+23
|\ | | | | support DER serialization of public keys
| * support DER serialization of public keysPaul Kehrer2015-03-101-6/+23
| |
* | Fixed the deprecation warnings being triggered by the testsAlex Gaynor2015-03-101-2/+2
|/
* DSA public key serializationPaul Kehrer2015-03-081-1/+44
|
* serialize DSA private keysPaul Kehrer2015-03-021-2/+169
|
* Updated RSA and DSA tests for moved classesAlex Gaynor2015-02-241-4/+4
|
* add NotImplemented handlingPaul Kehrer2014-12-101-0/+3
|
* add __ne__ and __eq__ methods to RSA, DSA, and EC numbers classesPaul Kehrer2014-12-101-0/+61
| | | | fixes #1449
* add encode_rfc6979_signature and refactor tests to use itPaul Kehrer2014-11-271-3/+6
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-13/+3
| | | | Fixes #1209
* Change how we represented that a test requires a backend.Alex Gaynor2014-10-231-3/+4
| | | | This way is more extensible and requires less maintaince
* Fixed #1392 -- allow more combinations of p and q's bit lengthsAlex Gaynor2014-10-131-99/+0
|
* remove deprecated DSA classes/methods and update testsPaul Kehrer2014-09-301-517/+449
|
* deprecate concrete DSA classes and update DSA docsPaul Kehrer2014-06-271-3/+11
|
* add generate_private_key to DSAParameters + add a new function to dsaPaul Kehrer2014-06-271-2/+11
| | | | | | | dsa.generate_private_key(key_size, backend) will allow you to generate a new DSA key and implicitly generate new parameters. This streamlines the common case and will be an avenue to support future backends that don't allow independent generation of DSAParameters (e.g. CommonCrypto)
* DSA opaque OpenSSLPaul Kehrer2014-06-251-22/+50
|
* modify test_dsa to use DSA*Numbers and split fixtures outPaul Kehrer2014-06-231-276/+177
|
* remove parameter_numbers from DSAPrivateNumbers since it's on publicPaul Kehrer2014-06-231-20/+3
|
* DSA*Numbers classesPaul Kehrer2014-06-221-0/+77
|
* add test to cover missed linePaul Kehrer2014-05-011-0/+9
|
* DSA signing support (this is mostly skeuomorf's work, credit to him)Paul Kehrer2014-05-011-0/+54
|
* add check to ensure only invalid ASN1 gives InvalidSignature in DSAPaul Kehrer2014-05-011-0/+9
|
* updates for review feedbackPaul Kehrer2014-05-011-2/+5
|
* move use after finalize to its own testPaul Kehrer2014-05-011-4/+13
|
* remove hash check in verifier as this isn't a proper restrictionPaul Kehrer2014-04-301-25/+0
|
* restructure some tests, add skip, use der_encode_dsa_signaturePaul Kehrer2014-04-301-51/+45
|
* fix pep8 violationPaul Kehrer2014-04-301-8/+4
|
* Add verification testsMohammed Attia2014-04-301-5/+99
|
* Fix pep8 errors for latest import linterAlex Stapleton2014-04-201-1/+1
|
* Add DSABackendMohammed Attia2014-04-041-13/+22
|
* Add tests for DSA parameters and key generationMohammed Attia2014-04-031-0/+41
|
* Add DSA private key api, docs and testsMohammed Attia2014-03-301-2/+290
|
* Add DSA public key api, docs and testsMohammed Attia2014-03-301-0/+146
|
* Add DSA parameters api, docs and testsMohammed Attia2014-03-301-0/+247