aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* add encode_rfc6979_signature and refactor tests to use itPaul Kehrer2014-11-275-52/+48
|
* alter vector file loader to support passing read modePaul Kehrer2014-11-272-3/+6
|
* 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-1646-558/+138
| | | | 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
|
* Merge branch 'master' into verify-interfacesAlex Gaynor2014-10-311-0/+3
|\
| * 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
* | fixAlex Gaynor2014-10-281-2/+1
| |
* | fixAlex Gaynor2014-10-281-2/+2
| |
* | Fix testsAlex Gaynor2014-10-281-6/+1
| |