aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_serialization.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* DSA opaque OpenSSLPaul Kehrer2014-06-251-32/+36
|
* modify RSA numbers loading to match elliptic curvePaul Kehrer2014-06-201-20/+1
| | | | fixes #1111
* get numbers from loaded keys in numbers testPaul Kehrer2014-06-121-0/+2
|
* remove skip in serialization tests until we have a backend that needs itPaul Kehrer2014-06-121-6/+0
|
* backend specific RSA*Key implementation for OpenSSLPaul Kehrer2014-06-121-22/+34
|
* Fixed serialization testsAlex Gaynor2014-06-061-17/+3
|
* add load_rsa_*_numbers functionsPaul Kehrer2014-06-061-1/+31
|
* Check DSA key materialAlex Stapleton2014-05-271-2/+37
|
* Update exception tagsAlex Stapleton2014-05-271-3/+4
|
* Add unknown cipher test for PKCS8Alex Stapleton2014-05-271-2/+18
|
* Unknown algorithm test for PKCS8Alex Stapleton2014-05-271-0/+16
|
* Test PKCS#8 DSA key loads OKAlex Stapleton2014-05-271-0/+18
|
* Add pkcs8_serialization markAlex Stapleton2014-05-271-1/+1
|
* PKCS#8 serialized key loadingAlex Stapleton2014-05-271-0/+212
|
* DSA supportAlex Stapleton2014-05-031-0/+22
|
* OpenSSL key loading implementationAlex Stapleton2014-05-031-0/+226