Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | update docs, hoist b64decode up and re-add test for it | Paul Kehrer | 2014-12-17 | 1 | -1/+7 |
| | |||||
* | add OpenSSH DSS public key loading | Paul Kehrer | 2014-12-16 | 1 | -24/+120 |
| | | | | fixes #1531 | ||||
* | Added two more tests to get coverage back up | Alex Gaynor | 2014-12-15 | 1 | -1/+17 |
| | |||||
* | A handful of tiny fixes | Alex Gaynor | 2014-12-15 | 1 | -32/+37 |
| | |||||
* | Added better parsing for RFC 4251 string and mpint values. | Mark Adams | 2014-12-14 | 1 | -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 Adams | 2014-12-13 | 1 | -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 Adams | 2014-12-13 | 1 | -16/+16 |
| | |||||
* | Privatized the load_ssh_rsa_public_key function and fixed some coverage ↵ | Mark Adams | 2014-12-13 | 1 | -43/+39 |
| | | | | issues on test_serialization. | ||||
* | Added load_ssh_rsa_public_key to hazmat.primitives.serialization to allow ↵ | Mark Adams | 2014-12-13 | 1 | -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 handling | Paul Kehrer | 2014-12-10 | 3 | -0/+7 |
| | |||||
* | add __ne__ and __eq__ methods to RSA, DSA, and EC numbers classes | Paul Kehrer | 2014-12-10 | 3 | -1/+146 |
| | | | | fixes #1449 | ||||
* | Stupid mistake number one billion. | Paul Kehrer | 2014-12-07 | 1 | -0/+8 |
| | |||||
* | directly test r, s for integer-ness | Paul Kehrer | 2014-12-07 | 1 | -0/+1 |
| | |||||
* | catch PyAsn1Error for encoding signature as well | Paul Kehrer | 2014-12-07 | 1 | -0/+8 |
| | |||||
* | add comment describing how the ASN.1 sequence in a test is invalid | Paul Kehrer | 2014-12-07 | 1 | -0/+2 |
| | |||||
* | catch PyAsn1Error when decoding rfc6979 signature | Paul Kehrer | 2014-12-06 | 1 | -0/+5 |
| | |||||
* | error if signature has trailing bytes | Paul Kehrer | 2014-11-30 | 1 | -0/+7 |
| | |||||
* | add encode_rfc6979_signature and refactor tests to use it | Paul Kehrer | 2014-11-27 | 3 | -14/+47 |
| | |||||
* | add X509Backend support to multibackend | Paul Kehrer | 2014-11-26 | 1 | -1/+22 |
| | |||||
* | Update the license header for every source file, as well as the documentation. | Alex Gaynor | 2014-11-16 | 40 | -486/+120 |
| | | | | Fixes #1209 | ||||
* | Monkeypatch the CFFI Verifier to prevent the implicit compile | Donald Stufft | 2014-11-14 | 1 | -0/+14 |
| | |||||
* | We can test this, we have the power! Fixes #874 | Alex Gaynor | 2014-11-07 | 1 | -1/+5 |
| | |||||
* | added a test for verify-after-finalize | Alex Gaynor | 2014-10-30 | 1 | -0/+3 |
| | |||||
* | Don't mark this test class as implementing the interface. | Alex Gaynor | 2014-10-30 | 1 | -1/+0 |
| | | | | It doesn't correctly implement it, that's sort of the point of this test. | ||||
* | Make sure algorithm classes fully implement their interface | Alex Gaynor | 2014-10-30 | 2 | -4/+3 |
| | |||||
* | When using a test double for backends, always use one which really ↵ | Alex Gaynor | 2014-10-28 | 3 | -30/+16 |
| | | | | implements the interface | ||||
* | Added attributes that are part of hte interface to several test fakes | Alex Gaynor | 2014-10-27 | 7 | -1/+12 |
| | |||||
* | Update test for new API | Alex Gaynor | 2014-10-24 | 1 | -3/+3 |
| | |||||
* | Merge pull request #1434 from alex/requires-backend-interface | Paul Kehrer | 2014-10-24 | 24 | -93/+118 |
|\ | | | | | Change how we represented that a test requires a backend. | ||||
| * | Change how we represented that a test requires a backend. | Alex Gaynor | 2014-10-23 | 24 | -93/+118 |
| | | | | | | | | This way is more extensible and requires less maintaince | ||||
* | | Changed methods on interface providers to have argument names match the ↵ | Alex Gaynor | 2014-10-23 | 1 | -7/+7 |
|/ | | | | | | interface. This is important because it means passing things as keyword arguments will work consistently | ||||
* | fix overindent | Paul Kehrer | 2014-10-22 | 1 | -1/+1 |
| | |||||
* | add load_dsa_parameter_numbers on multibackend | Paul Kehrer | 2014-10-21 | 1 | -0/+9 |
| | |||||
* | Fixes #1416 -- replaced assertions with error checking in EC key from numbers. | Alex Gaynor | 2014-10-19 | 1 | -0/+22 |
| | | | | Includes tests. | ||||
* | if EC_KEY_check_key fails consume errors off stack (+ add test) | Paul Kehrer | 2014-10-14 | 1 | -0/+14 |
| | |||||
* | Fixed #1392 -- allow more combinations of p and q's bit lengths | Alex Gaynor | 2014-10-13 | 1 | -99/+0 |
| | |||||
* | Merge pull request #1381 from alex/stop-generating-keys | Paul Kehrer | 2014-10-01 | 1 | -21/+6 |
|\ | | | | | Replace key generation with fixture usage in some tests | ||||
| * | Replace key generation with fixture usage in some tests | Alex Gaynor | 2014-10-01 | 1 | -21/+6 |
| | | |||||
* | | update multibackend to remove deprecated methods | Paul Kehrer | 2014-10-01 | 1 | -75/+0 |
|/ | |||||
* | remove deprecated DSA classes/methods and update tests | Paul Kehrer | 2014-09-30 | 2 | -545/+457 |
| | |||||
* | fix a coverage miss | Paul Kehrer | 2014-09-30 | 1 | -1/+1 |
| | |||||
* | Remove deprecated RSA methods from backends, update tests | Paul Kehrer | 2014-09-29 | 2 | -451/+78 |
| | |||||
* | Wrap lines appropriately | Alex Gaynor | 2014-09-29 | 1 | -2/+1 |
| | |||||
* | Move _ec_key_curve_sn to openssl/ec.py | Alex Stapleton | 2014-09-28 | 1 | -1/+2 |
| | |||||
* | Merge pull request #1345 from reaperhulk/ec-withnumbers | Alex Gaynor | 2014-09-27 | 1 | -0/+36 |
|\ | | | | | Elliptic Curve WithNumbers Support | ||||
| * | fix invalid dict reference in test | Paul Kehrer | 2014-09-27 | 1 | -1/+1 |
| | | |||||
| * | Support EC WithNumbers on OpenSSL backend + tests | Paul Kehrer | 2014-09-27 | 1 | -0/+36 |
| | | |||||
* | | EC public/private key loader functions try deprecated as fallback | Paul Kehrer | 2014-09-27 | 1 | -0/+21 |
| | | |||||
* | | remove duplicate _skip_curve_unsupported | Paul Kehrer | 2014-09-27 | 1 | -9/+1 |
| | | |||||
* | | fix test coverage on multibackend deprecated methods | Paul Kehrer | 2014-09-27 | 1 | -2/+31 |
| | |