aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_serialization.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the deprecation warnings being triggered by the testsAlex Gaynor2015-03-101-6/+6
|
* support "PKCS1" RSA public keysPaul Kehrer2015-03-051-1/+9
|
* address review commentsPaul Kehrer2015-02-251-19/+4
|
* Support for traditional OpenSSL and PKCS8 RSA private key serializationPaul Kehrer2015-02-251-2/+27
|
* Fixed the use of deprecated names in the serialization testsAlex Gaynor2015-02-241-33/+28
|
* remove unneeded parensPaul Kehrer2015-02-221-2/+2
|
* support DER public and private key loading in the openssl backendPaul Kehrer2015-02-191-2/+267
|
* Get us up to 100% coverageAlex Gaynor2014-12-251-0/+10
|
* Added test cases for NIST P-384 and 521. Fixed handling of key sizes which ↵Alex Gaynor2014-12-251-0/+49
| | | | aren't divisibly by 8
* Write some tests for failure casesAlex Gaynor2014-12-251-0/+29
|
* 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-221-25/+19
|\ | | | | consolidate dsa serialization loading tests and improve verifier
| * consolidate dsa serialization loading tests and improve verifierPaul Kehrer2014-12-221-25/+19
| |
* | parametrize some more serialization testsPaul Kehrer2014-12-221-57/+31
|/
* Reduce duplication in the serialization tests -- refs #1564Alex Gaynor2014-12-211-35/+22
|
* modify serialization tests to not use deprecated functionsPaul Kehrer2014-12-181-35/+32
|
* 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.
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-13/+3
| | | | Fixes #1209
* Change how we represented that a test requires a backend.Alex Gaynor2014-10-231-6/+12
| | | | This way is more extensible and requires less maintaince
* Wrap lines appropriatelyAlex Gaynor2014-09-291-2/+1
|
* add curve name parsing to public key loaderPaul Kehrer2014-09-261-0/+2
|
* Process curve name when loading EC keys. Fixes #1336Paul Kehrer2014-09-261-0/+2
|
* flake8michael-hart2014-09-261-1/+3
|
* Added code and tests of EC public keysmichael-hart2014-09-261-0/+12
|
* Corrected testsmichael-hart2014-09-261-18/+9
|
* Added all changes lost in merge resetmichael-hart2014-09-261-5/+32
|
* Part 1 of rebase, with corrections for pep8michael-hart2014-09-261-23/+5
|
* Corrected testsmichael-hart2014-09-261-18/+9
|
* Added all changes lost in merge resetmichael-hart2014-09-261-5/+32
|
* Part 1 of rebase, with corrections for pep8michael-hart2014-09-261-1/+35
|
* Test Vector changesmichael-hart2014-09-231-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 testsMichael Hart2014-09-121-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 importsMichael2014-09-121-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 markersMichael2014-09-121-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 checkunknown2014-09-121-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 keysunknown2014-09-111-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.
* fixesAlex Gaynor2014-09-081-1/+1
|
* Start moving everything to the new APIAlex Gaynor2014-09-081-3/+21
|