Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed the deprecation warnings being triggered by the tests | Alex Gaynor | 2015-03-10 | 1 | -6/+6 |
| | |||||
* | support "PKCS1" RSA public keys | Paul Kehrer | 2015-03-05 | 1 | -1/+9 |
| | |||||
* | address review comments | Paul Kehrer | 2015-02-25 | 1 | -19/+4 |
| | |||||
* | Support for traditional OpenSSL and PKCS8 RSA private key serialization | Paul Kehrer | 2015-02-25 | 1 | -2/+27 |
| | |||||
* | Fixed the use of deprecated names in the serialization tests | Alex Gaynor | 2015-02-24 | 1 | -33/+28 |
| | |||||
* | remove unneeded parens | Paul Kehrer | 2015-02-22 | 1 | -2/+2 |
| | |||||
* | support DER public and private key loading in the openssl backend | Paul Kehrer | 2015-02-19 | 1 | -2/+267 |
| | |||||
* | Get us up to 100% coverage | Alex Gaynor | 2014-12-25 | 1 | -0/+10 |
| | |||||
* | Added test cases for NIST P-384 and 521. Fixed handling of key sizes which ↵ | Alex Gaynor | 2014-12-25 | 1 | -0/+49 |
| | | | | aren't divisibly by 8 | ||||
* | Write some tests for failure cases | Alex Gaynor | 2014-12-25 | 1 | -0/+29 |
| | |||||
* | this test requires a specific curve | Alex Gaynor | 2014-12-24 | 1 | -0/+2 |
| | |||||
* | Fixes #1533 -- Initial work at parsing ECDSA public keys in OpenSSH format | Alex Gaynor | 2014-12-24 | 1 | -1/+26 |
| | |||||
* | add both types of EC key formats to parametrized test | Paul Kehrer | 2014-12-23 | 1 | -6/+7 |
| | |||||
* | final cleanup for PEM serialization | Paul Kehrer | 2014-12-23 | 1 | -60/+11 |
| | |||||
* | Combined duplicated serialization tests | Alex Gaynor | 2014-12-23 | 1 | -23/+5 |
| | |||||
* | Merge pull request #1567 from reaperhulk/consolidate-more | Alex Stapleton | 2014-12-22 | 1 | -25/+19 |
|\ | | | | | consolidate dsa serialization loading tests and improve verifier | ||||
| * | consolidate dsa serialization loading tests and improve verifier | Paul Kehrer | 2014-12-22 | 1 | -25/+19 |
| | | |||||
* | | parametrize some more serialization tests | Paul Kehrer | 2014-12-22 | 1 | -57/+31 |
|/ | |||||
* | Reduce duplication in the serialization tests -- refs #1564 | Alex Gaynor | 2014-12-21 | 1 | -35/+22 |
| | |||||
* | modify serialization tests to not use deprecated functions | Paul Kehrer | 2014-12-18 | 1 | -35/+32 |
| | |||||
* | 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. | ||||
* | Update the license header for every source file, as well as the documentation. | Alex Gaynor | 2014-11-16 | 1 | -13/+3 |
| | | | | Fixes #1209 | ||||
* | Change how we represented that a test requires a backend. | Alex Gaynor | 2014-10-23 | 1 | -6/+12 |
| | | | | This way is more extensible and requires less maintaince | ||||
* | Wrap lines appropriately | Alex Gaynor | 2014-09-29 | 1 | -2/+1 |
| | |||||
* | add curve name parsing to public key loader | Paul Kehrer | 2014-09-26 | 1 | -0/+2 |
| | |||||
* | Process curve name when loading EC keys. Fixes #1336 | Paul Kehrer | 2014-09-26 | 1 | -0/+2 |
| | |||||
* | flake8 | michael-hart | 2014-09-26 | 1 | -1/+3 |
| | |||||
* | Added code and tests of EC public keys | michael-hart | 2014-09-26 | 1 | -0/+12 |
| | |||||
* | Corrected tests | michael-hart | 2014-09-26 | 1 | -18/+9 |
| | |||||
* | Added all changes lost in merge reset | michael-hart | 2014-09-26 | 1 | -5/+32 |
| | |||||
* | Part 1 of rebase, with corrections for pep8 | michael-hart | 2014-09-26 | 1 | -23/+5 |
| | |||||
* | Corrected tests | michael-hart | 2014-09-26 | 1 | -18/+9 |
| | |||||
* | Added all changes lost in merge reset | michael-hart | 2014-09-26 | 1 | -5/+32 |
| | |||||
* | Part 1 of rebase, with corrections for pep8 | michael-hart | 2014-09-26 | 1 | -1/+35 |
| | |||||
* | Test Vector changes | michael-hart | 2014-09-23 | 1 | -9/+9 |
| | | | | | | | Changed names of existing vectors to be more instructive about what the key contains, and adapted tests to compensate, which pass. Added public keys for all encryption types and two new private keys for PEM serialization, documented in the README.txt in the same folder | ||||
* | Added PKCS8 encoded private keys to tests | Michael Hart | 2014-09-12 | 1 | -18/+30 |
| | | | | | | | Generated two files with the same private key as PEM_Serialization's ec_private_key.pem, one unencrypted and one encrypted with "123456". Also changed existing PEMSerialization unit tests to take parameters so that tests can be extended easily. | ||||
* | Reorganised imports | Michael | 2014-09-12 | 1 | -4/+3 |
| | | | | | | Swapped the order of the imports so that flake8 will see that they are correct, and changed the test import to be relative rather than absolute, as is the standard | ||||
* | Changed EC curve type and add test markers | Michael | 2014-09-12 | 1 | -0/+8 |
| | | | | | | Changed the Elliptic Curve curve type from secp256k1 to secp256r1, as this is supported, in an attempt to pass tests on CentOS 7; also added markers and methods to skip test functions for systems that do not support ECC. | ||||
* | Adjusted formatting and added EC check | unknown | 2014-09-12 | 1 | -1/+3 |
| | | | | | | | | Due to the code failing the PEP-8 test, the test code has been reformatted so that there are two blank lines between the function and the next class, and the overlong line has been adjusted. Also added a check to the private key loading function to check for the Cryptography_HAS_EC field. This has been tested on Windows only. | ||||
* | Implemented support for loading EC private keys | unknown | 2014-09-11 | 1 | -0/+23 |
| | | | | | | Loads Elliptic Curve private keys from .PEM files, whether encrypted or unencrypted, given that the encryption method is supported. Also included changes to the test files and documentation for said method. | ||||
* | fixes | Alex Gaynor | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | Start moving everything to the new API | Alex Gaynor | 2014-09-08 | 1 | -3/+21 |
| |