Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | moved GCM tests to be run against all backends, added radar bug numbers | Paul Kehrer | 2014-09-11 | 1 | -1/+34 | |
| | | ||||||
* | | 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 | |
| | ||||||
* | Verify that padding is an instance of AsymmetircPadding before trying to use ↵ | Alex Gaynor | 2014-08-25 | 1 | -0/+2 | |
| | | | | it; fixes #1318 | |||||
* | Add a sensible repr to RSAPublicNumbers | Terry Chia | 2014-07-10 | 1 | -0/+5 | |
| | ||||||
* | Restore these tests | Alex Gaynor | 2014-07-07 | 1 | -0/+11 | |
| | ||||||
* | Advanced and remove the deprecated MGF1 sale length code | Alex Gaynor | 2014-07-07 | 1 | -85/+15 | |
| | ||||||
* | Simplify code and add test | Alex Gaynor | 2014-06-30 | 2 | -2/+5 | |
| | ||||||
* | Fixes #1200 -- disallow GCM truncation by default | Alex Gaynor | 2014-06-29 | 2 | -5/+7 | |
| | ||||||
* | deprecate concrete DSA classes and update DSA docs | Paul Kehrer | 2014-06-27 | 1 | -3/+11 | |
| | ||||||
* | add generate_private_key to DSAParameters + add a new function to dsa | Paul Kehrer | 2014-06-27 | 1 | -2/+11 | |
| | | | | | | | dsa.generate_private_key(key_size, backend) will allow you to generate a new DSA key and implicitly generate new parameters. This streamlines the common case and will be an avenue to support future backends that don't allow independent generation of DSAParameters (e.g. CommonCrypto) | |||||
* | DSA opaque OpenSSL | Paul Kehrer | 2014-06-25 | 2 | -54/+86 | |
| | ||||||
* | modify test_dsa to use DSA*Numbers and split fixtures out | Paul Kehrer | 2014-06-23 | 2 | -276/+339 | |
| | ||||||
* | Merge pull request #1163 from reaperhulk/dsa-numbers-classes | Alex Gaynor | 2014-06-23 | 1 | -0/+60 | |
|\ | | | | | DSA*Numbers classes | |||||
| * | remove parameter_numbers from DSAPrivateNumbers since it's on public | Paul Kehrer | 2014-06-23 | 1 | -20/+3 | |
| | | ||||||
| * | DSA*Numbers classes | Paul Kehrer | 2014-06-22 | 1 | -0/+77 | |
| | | ||||||
* | | Merge pull request #1152 from public/fedora20-ec-fix | Paul Kehrer | 2014-06-23 | 1 | -12/+17 | |
|\ \ | | | | | | | Fix EC issue on Fedora 20 | |||||
| * | | Dedicated skip function | Alex Stapleton | 2014-06-23 | 1 | -12/+17 | |
| |/ | ||||||
* | | update test to cover missing line | Paul Kehrer | 2014-06-22 | 1 | -0/+2 | |
| | | ||||||
* | | modify RSA numbers loading to match elliptic curve | Paul Kehrer | 2014-06-20 | 3 | -228/+185 | |
|/ | | | | fixes #1111 | |||||
* | deprecate old RSA classes and methods | Paul Kehrer | 2014-06-19 | 1 | -28/+79 | |
| | ||||||
* | Merge pull request #1116 from reaperhulk/rsa-numbers-backend-specific | Alex Stapleton | 2014-06-14 | 3 | -153/+121 | |
|\ | | | | | Provide Backend Specific RSA Keys | |||||
| * | do value checks when converting from numbers to key | Paul Kehrer | 2014-06-12 | 1 | -1/+1 | |
| | | ||||||
| * | simplify test_rsa changes | Paul Kehrer | 2014-06-12 | 1 | -467/+343 | |
| | | ||||||
| * | get numbers from loaded keys in numbers test | Paul Kehrer | 2014-06-12 | 1 | -0/+2 | |
| | | ||||||
| * | remove skip in serialization tests until we have a backend that needs it | Paul Kehrer | 2014-06-12 | 1 | -6/+0 | |
| | | ||||||
| * | backend specific RSA*Key implementation for OpenSSL | Paul Kehrer | 2014-06-12 | 3 | -469/+565 | |
| | | ||||||
* | | add TripleDES ECB support to OpenSSL backend | Paul Kehrer | 2014-06-13 | 1 | -0/+37 | |
|/ | ||||||
* | Merge pull request #1102 from reaperhulk/rsa-generate-function | Alex Stapleton | 2014-06-07 | 1 | -14/+23 | |
|\ | | | | | add rsa_generate_private_key function to replace RSAPrivateKey.generate | |||||
| * | rename the function | Paul Kehrer | 2014-06-07 | 1 | -17/+17 | |
| | | ||||||
| * | more coverage... | Paul Kehrer | 2014-06-06 | 1 | -0/+3 | |
| | | ||||||
| * | fix coverage | Paul Kehrer | 2014-06-06 | 1 | -0/+6 | |
| | | ||||||
| * | add rsa_generate_private_key function to replace RSAPrivateKey.generate | Paul Kehrer | 2014-06-06 | 1 | -17/+17 | |
| | | | | | | | | refs #1026. #1101 is dependent on this | |||||
* | | ECDSA backend | Alex Stapleton | 2014-06-07 | 1 | -37/+257 | |
| | | ||||||
* | | pep8 | Alex Gaynor | 2014-06-06 | 1 | -60/+72 | |
| | | ||||||
* | | Fixed serialization tests | Alex Gaynor | 2014-06-06 | 1 | -17/+3 | |
| | | ||||||
* | | Switch the tests to load numbers | Alex Gaynor | 2014-06-06 | 1 | -30/+33 | |
| | | ||||||
* | | Merge branch 'master' into use-numbers | Alex Gaynor | 2014-06-06 | 1 | -1/+31 | |
|\ \ | ||||||
| * | | add load_rsa_*_numbers functions | Paul Kehrer | 2014-06-06 | 1 | -1/+31 | |
| |/ | ||||||
* / | Port the fixtures file | Alex Gaynor | 2014-06-05 | 1 | -222/+258 | |
|/ | ||||||
* | Split load_rsa_numbers into load_rsa_private_numbers and ↵ | David Reid | 2014-06-03 | 1 | -17/+17 | |
| | | | | load_rsa_public_numbers. | |||||
* | Implement load_rsa_numbers on the openssl backend. | David Reid | 2014-06-03 | 1 | -0/+248 | |
| | ||||||
* | Merge pull request #984 from dreid/rsa-numbers | Paul Kehrer | 2014-06-03 | 1 | -0/+114 | |
|\ | | | | | RSA numbers | |||||
| * | Pep8 | David Reid | 2014-05-06 | 1 | -1/+0 | |
| | | ||||||
| * | Check types. | David Reid | 2014-05-06 | 1 | -0/+88 | |
| | |