Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | multibacken for docs | Alex Gaynor | 2014-09-08 | 1 | -1/+17 |
| | |||||
* | fixes | Alex Gaynor | 2014-09-08 | 2 | -2/+4 |
| | |||||
* | 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 | ||||
* | KASVS vector loader | Alex Stapleton | 2014-08-10 | 2 | -3/+515 |
| | |||||
* | Fix test failures | Terry Chia | 2014-07-28 | 3 | -6/+6 |
| | |||||
* | add missing DSABackend numbers loading methods to Multibackend | Paul Kehrer | 2014-07-18 | 1 | -0/+18 |
| | |||||
* | Raise ValueError if the password doesn't fit | Alex Stapleton | 2014-07-11 | 1 | -2/+19 |
| | | | | Fixes #1235. OpenSSL only allows password up to 1024 bytes. | ||||
* | Add a sensible repr to RSAPublicNumbers | Terry Chia | 2014-07-10 | 1 | -0/+5 |
| | |||||
* | add TraditionalOpenSSLSerializationBackend to MultiBackend | Paul Kehrer | 2014-07-09 | 1 | -1/+17 |
| | |||||
* | Merge branch 'master' into deprecation | Alex Gaynor | 2014-07-08 | 1 | -1/+16 |
|\ | |||||
| * | change some nomenclature | Paul Kehrer | 2014-07-07 | 1 | -1/+1 |
| | | |||||
| * | add PKCS8SerializationBackend support to MultiBackend | Paul Kehrer | 2014-07-07 | 1 | -1/+16 |
| | | |||||
* | | 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 |
|/ | |||||
* | Merge pull request #1206 from reaperhulk/static-windows-builds | Alex Stapleton | 2014-07-06 | 1 | -1/+13 |
|\ | | | | | switch to static linking on windows and update installation page | ||||
| * | change env variable name, handle empty string | Paul Kehrer | 2014-07-05 | 1 | -0/+2 |
| | | |||||
| * | improve unit tests for _get_windows_libraries | Paul Kehrer | 2014-07-03 | 1 | -2/+2 |
| | | |||||
| * | switch to env variable based static/dynamic switch for windows | Paul Kehrer | 2014-07-02 | 1 | -1/+11 |
| | | |||||
* | | Merge pull request #1201 from alex/no-more-truncation | Paul Kehrer | 2014-07-01 | 2 | -6/+11 |
|\ \ | | | | | | | Fixes #1200 -- disallow GCM truncation by default | ||||
| * | | 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 |
| |/ | |||||
* / | rename the rest of the method | Paul Kehrer | 2014-07-01 | 1 | -3/+3 |
|/ | |||||
* | Merge pull request #1191 from reaperhulk/dsa-deprecate-backend-methods | Alex Stapleton | 2014-06-29 | 1 | -0/+22 |
|\ | | | | | deprecate DSA backend methods | ||||
| * | deprecate DSA backend methods | Paul Kehrer | 2014-06-28 | 1 | -0/+22 |
| | | |||||
* | | deprecate concrete DSA classes and update DSA docs | Paul Kehrer | 2014-06-27 | 1 | -3/+11 |
|/ | |||||
* | add multibackend support for new DSABackend method | Paul Kehrer | 2014-06-27 | 1 | -0/+9 |
| | |||||
* | 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 | 2 | -17/+17 |
|\ \ | | | | | | | Fix EC issue on Fedora 20 | ||||
| * | | Dedicated skip function | Alex Stapleton | 2014-06-23 | 1 | -12/+17 |
| | | | |||||
| * | | Fix EC issue on Fedora 20 | Alex Stapleton | 2014-06-20 | 1 | -5/+0 |
| | | | |||||
* | | | Merge pull request #1155 from reaperhulk/fix-1111 | David Reid | 2014-06-22 | 3 | -228/+187 |
|\ \ \ | |_|/ |/| | | modify RSA numbers loading to match elliptic curve | ||||
| * | | 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 mgf1_hash_supported. fixes #1133 | Paul Kehrer | 2014-06-20 | 1 | -1/+4 |
|/ | |||||
* | deprecate old RSA classes and methods | Paul Kehrer | 2014-06-19 | 2 | -28/+117 |
| | |||||
* | Merge pull request #1130 from dreid/isolate-openssl-urandom-default | Paul Kehrer | 2014-06-14 | 1 | -8/+30 |
|\ | | | | | Attempt to better isolate this test by getting the backend name from a subprocess. | ||||
| * | Portable usage of subprocess w/ python3 and python2.6 fixes. | David Reid | 2014-06-13 | 1 | -6/+9 |
| | | |||||
| * | Remove outdated comment. | David Reid | 2014-06-13 | 1 | -2/+0 |
| | |