aboutsummaryrefslogtreecommitdiffstats
path: root/tests
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
|
* Merge pull request #1552 from reaperhulk/deprecation-danceAlex Gaynor2014-12-183-164/+35
|\ | | | | remove fully deprecated items from 0.6 deprecation cycle
| * 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
| |
* | Hoist this logic out of the loop, since it's used after the end of the loopAlex Gaynor2014-12-181-4/+4
|/
* Merge pull request #1499 from reaperhulk/x509-ossl-implAlex Gaynor2014-12-171-0/+250
|\ | | | | X509Backend support in OpenSSL backend
| * add parsed_version attribute to InvalidVersionPaul Kehrer2014-12-151-1/+3
| |
| * rename X509 classes to remove X509 and improve some testsPaul Kehrer2014-12-151-10/+67
| |
| * update test with proper filenamePaul Kehrer2014-12-151-1/+1
| |
| * raise error on unnamed EC curve certificates when calling public_keyPaul Kehrer2014-12-151-0/+10
| | | | | | | | ...for now
| * reorganize a bunch of things related to the x509certificate interfacePaul Kehrer2014-12-151-2/+2
| |
| * change it to not_valid_* why notPaul Kehrer2014-12-151-14/+18
| |
| * refactor a test function to avoid string typingPaul Kehrer2014-12-151-18/+13
| |
| * learn to bytesPaul Kehrer2014-12-151-1/+1
| |
| * test x509 fingerprintPaul Kehrer2014-12-151-1/+4
| |
| * py3 fixesPaul Kehrer2014-12-151-48/+61
| |
| * address review feedbackPaul Kehrer2014-12-151-4/+3
| |
| * clean up x509 tests & add DSA/ECDSA testsPaul Kehrer2014-12-151-15/+57
| |
| * improve tests, remove some outdated commentsPaul Kehrer2014-12-151-7/+19
| |
| * improve x509 load error handlingPaul Kehrer2014-12-151-0/+8
| |
| * add x509v1 testPaul Kehrer2014-12-151-0/+9
| |
| * update docs, test invalid x509 versionPaul Kehrer2014-12-151-1/+12
| |
| * move x509 to top level, add more docsPaul Kehrer2014-12-151-0/+85
| |
* | 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
|