aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| |
* | sanitize the testsAlex Gaynor2014-10-283-17/+11
| |
* | Merge branch 'master' into verify-interfacesAlex Gaynor2014-10-287-21/+16
|\| | | | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/backends/test_commoncrypto.py tests/hazmat/backends/test_openssl.py tests/hazmat/primitives/test_block.py tests/hazmat/primitives/test_hashes.py tests/hazmat/primitives/test_hmac.py tests/hazmat/primitives/test_pbkdf2hmac.py
| * Added attributes that are part of hte interface to several test fakesAlex Gaynor2014-10-277-1/+12
| |
| * fix coverage for backend parametrizationPaul Kehrer2014-10-251-10/+5
| | | | | | | | | | Any test that takes a backend is required to provide the requires_backend_interface decorator.
* | satisfy the cmac tests as wellAlex Gaynor2014-10-251-9/+5
| |
* | make this test happyAlex Gaynor2014-10-251-8/+4
| |
* | make things happyAlex Gaynor2014-10-251-10/+0
| |
* | Merge branch 'master' into verify-interfacesAlex Gaynor2014-10-253-16/+37
|\|
| * Merge pull request #1437 from reaperhulk/conftest-changesAlex Gaynor2014-10-253-16/+37
| |\ | | | | | | filter backends during initial generation to elide tests entirely
| | * move skip_if_empty to separate function for test coveragePaul Kehrer2014-10-253-12/+23
| | |
| | * add comment explaining some weirdnessPaul Kehrer2014-10-241-0/+2
| | |
| | * reorganize try block for test generationPaul Kehrer2014-10-241-3/+4
| | |
| | * filter backends during initial generation to elide tests entirelyPaul Kehrer2014-10-242-14/+21
| | |
* | | Merge branch 'master' into verify-interfacesAlex Gaynor2014-10-252-4/+7
|\| |
| * | Merge pull request #1438 from alex/multifernet-testsPaul Kehrer2014-10-251-1/+4
| |\ \ | | | | | | | | Fixed #1436 -- mark the multifernet tests as requiring the backends they need
| | * | Fixed #1436 -- mark the multifernet tests as requiring the backends they needAlex Gaynor2014-10-241-1/+4
| | |/
| * / Update test for new APIAlex Gaynor2014-10-241-3/+3
| |/
* | Merge branch 'master' into verify-interfacesAlex Gaynor2014-10-2428-143/+139
|\| | | | | | | | | Conflicts: cryptography/hazmat/primitives/hmac.py