aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into openssh-elliptic-curveAlex Gaynor2014-12-241-19/+0
|\
| * Removed some deprecated codeAlex Gaynor2014-12-241-19/+0
| |
* | this test requires a specific curveAlex Gaynor2014-12-241-0/+2
| |
* | Fixes #1533 -- Initial work at parsing ECDSA public keys in OpenSSH formatAlex Gaynor2014-12-241-1/+26
|/
* add both types of EC key formats to parametrized testPaul Kehrer2014-12-231-6/+7
|
* final cleanup for PEM serializationPaul Kehrer2014-12-231-60/+11
|
* Combined duplicated serialization testsAlex Gaynor2014-12-231-23/+5
|
* Merge pull request #1567 from reaperhulk/consolidate-moreAlex Stapleton2014-12-222-25/+26
|\ | | | | consolidate dsa serialization loading tests and improve verifier
| * consolidate dsa serialization loading tests and improve verifierPaul Kehrer2014-12-222-25/+26
| |
* | parametrize some more serialization testsPaul Kehrer2014-12-221-57/+31
|/
* Reduce duplication in the serialization tests -- refs #1564Alex Gaynor2014-12-211-35/+22
|
* modify serialization tests to not use deprecated functionsPaul Kehrer2014-12-181-35/+32
|
* remove fully deprecated items from 0.6 deprecation cyclePaul Kehrer2014-12-182-129/+3
|
* update docs, hoist b64decode up and re-add test for itPaul Kehrer2014-12-171-1/+7
|
* add OpenSSH DSS public key loadingPaul Kehrer2014-12-161-24/+120
| | | | fixes #1531
* Added two more tests to get coverage back upAlex Gaynor2014-12-151-1/+17
|
* A handful of tiny fixesAlex Gaynor2014-12-151-32/+37
|
* Added better parsing for RFC 4251 string and mpint values.Mark Adams2014-12-141-0/+45
| | | | | Also moved several of the SSH key splitting and validation checks up into the load_ssh_public_key method since they will apply to more than just RSA. Added additional checks to make sure the key doesn't contain extraneous data
* Removed redundant tests for _load_ssh_rsa_public_key since it is now a ↵Mark Adams2014-12-131-67/+24
| | | | non-public part of the API and made a number of minor changes to tests and documentation
* Standardized the assignment statement for str_key in TestSSHSerialization.Mark Adams2014-12-131-16/+16
|
* Privatized the load_ssh_rsa_public_key function and fixed some coverage ↵Mark Adams2014-12-131-43/+39
| | | | issues on test_serialization.
* Added load_ssh_rsa_public_key to hazmat.primitives.serialization to allow ↵Mark Adams2014-12-131-3/+100
| | | | | | for loading of OpenSSH RSA public keys Also added load_ssh_public_key as a generic method that can be later extended to support more public key algorithms.
* add NotImplemented handlingPaul Kehrer2014-12-103-0/+7
|
* add __ne__ and __eq__ methods to RSA, DSA, and EC numbers classesPaul Kehrer2014-12-103-1/+146
| | | | fixes #1449
* Stupid mistake number one billion.Paul Kehrer2014-12-071-0/+8
|
* directly test r, s for integer-nessPaul Kehrer2014-12-071-0/+1
|
* catch PyAsn1Error for encoding signature as wellPaul Kehrer2014-12-071-0/+8
|
* add comment describing how the ASN.1 sequence in a test is invalidPaul Kehrer2014-12-071-0/+2
|
* catch PyAsn1Error when decoding rfc6979 signaturePaul Kehrer2014-12-061-0/+5
|
* error if signature has trailing bytesPaul Kehrer2014-11-301-0/+7
|
* add encode_rfc6979_signature and refactor tests to use itPaul Kehrer2014-11-273-14/+47
|
* add X509Backend support to multibackendPaul Kehrer2014-11-261-1/+22
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-1640-486/+120
| | | | Fixes #1209
* Monkeypatch the CFFI Verifier to prevent the implicit compileDonald Stufft2014-11-141-0/+14
|
* We can test this, we have the power! Fixes #874Alex Gaynor2014-11-071-1/+5
|
* added a test for verify-after-finalizeAlex Gaynor2014-10-301-0/+3
|
* Don't mark this test class as implementing the interface.Alex Gaynor2014-10-301-1/+0
| | | | It doesn't correctly implement it, that's sort of the point of this test.
* Make sure algorithm classes fully implement their interfaceAlex Gaynor2014-10-302-4/+3
|
* When using a test double for backends, always use one which really ↵Alex Gaynor2014-10-283-30/+16
| | | | implements the interface
* Added attributes that are part of hte interface to several test fakesAlex Gaynor2014-10-277-1/+12
|
* Update test for new APIAlex Gaynor2014-10-241-3/+3
|
* Merge pull request #1434 from alex/requires-backend-interfacePaul Kehrer2014-10-2424-93/+118
|\ | | | | Change how we represented that a test requires a backend.
| * Change how we represented that a test requires a backend.Alex Gaynor2014-10-2324-93/+118
| | | | | | | | This way is more extensible and requires less maintaince
* | Changed methods on interface providers to have argument names match the ↵Alex Gaynor2014-10-231-7/+7
|/ | | | | | interface. This is important because it means passing things as keyword arguments will work consistently
* fix overindentPaul Kehrer2014-10-221-1/+1
|
* add load_dsa_parameter_numbers on multibackendPaul Kehrer2014-10-211-0/+9
|
* Fixes #1416 -- replaced assertions with error checking in EC key from numbers.Alex Gaynor2014-10-191-0/+22
| | | | Includes tests.
* if EC_KEY_check_key fails consume errors off stack (+ add test)Paul Kehrer2014-10-141-0/+14
|
* Fixed #1392 -- allow more combinations of p and q's bit lengthsAlex Gaynor2014-10-131-99/+0
|
* Merge pull request #1381 from alex/stop-generating-keysPaul Kehrer2014-10-011-21/+6
|\ | | | | Replace key generation with fixture usage in some tests