Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | whoops, forgotten file | Alex Gaynor | 2014-10-21 | 1 | -0/+40 | |
|/ | ||||||
* | Fixed an issue in fernet where the wrong exception would occur on an ↵ | Alex Gaynor | 2014-10-19 | 1 | -2/+7 | |
| | | | | | | all-nulls input. Also switched a few tests to not generate a key | |||||
* | Merge pull request #1419 from alex/cleanup-fernet | Paul Kehrer | 2014-10-19 | 1 | -52/+11 | |
|\ | | | | | Move the supported marks to class level for fernet | |||||
| * | Move the supported marks to class level for fernet | Alex Gaynor | 2014-10-19 | 1 | -52/+11 | |
| | | ||||||
* | | Fixes #1416 -- replaced assertions with error checking in EC key from numbers. | Alex Gaynor | 2014-10-19 | 1 | -0/+22 | |
|/ | | | | Includes tests. | |||||
* | if EC_KEY_check_key fails consume errors off stack (+ add test) | Paul Kehrer | 2014-10-14 | 1 | -0/+14 | |
| | ||||||
* | Fixed #1392 -- allow more combinations of p and q's bit lengths | Alex Gaynor | 2014-10-13 | 1 | -99/+0 | |
| | ||||||
* | Merge pull request #1381 from alex/stop-generating-keys | Paul Kehrer | 2014-10-01 | 1 | -21/+6 | |
|\ | | | | | Replace key generation with fixture usage in some tests | |||||
| * | Replace key generation with fixture usage in some tests | Alex Gaynor | 2014-10-01 | 1 | -21/+6 | |
| | | ||||||
* | | update multibackend to remove deprecated methods | Paul Kehrer | 2014-10-01 | 1 | -75/+0 | |
|/ | ||||||
* | remove deprecated DSA classes/methods and update tests | Paul Kehrer | 2014-09-30 | 2 | -545/+457 | |
| | ||||||
* | fix a coverage miss | Paul Kehrer | 2014-09-30 | 1 | -1/+1 | |
| | ||||||
* | Remove deprecated RSA methods from backends, update tests | Paul Kehrer | 2014-09-29 | 2 | -451/+78 | |
| | ||||||
* | Wrap lines appropriately | Alex Gaynor | 2014-09-29 | 1 | -2/+1 | |
| | ||||||
* | Move _ec_key_curve_sn to openssl/ec.py | Alex Stapleton | 2014-09-28 | 1 | -1/+2 | |
| | ||||||
* | Merge pull request #1345 from reaperhulk/ec-withnumbers | Alex Gaynor | 2014-09-27 | 1 | -0/+36 | |
|\ | | | | | Elliptic Curve WithNumbers Support | |||||
| * | fix invalid dict reference in test | Paul Kehrer | 2014-09-27 | 1 | -1/+1 | |
| | | ||||||
| * | Support EC WithNumbers on OpenSSL backend + tests | Paul Kehrer | 2014-09-27 | 1 | -0/+36 | |
| | | ||||||
* | | EC public/private key loader functions try deprecated as fallback | Paul Kehrer | 2014-09-27 | 1 | -0/+21 | |
| | | ||||||
* | | remove duplicate _skip_curve_unsupported | Paul Kehrer | 2014-09-27 | 1 | -9/+1 | |
| | | ||||||
* | | fix test coverage on multibackend deprecated methods | Paul Kehrer | 2014-09-27 | 1 | -2/+31 | |
| | | ||||||
* | | skip deprecated tests on platforms that don't support ec (old rhel) | Paul Kehrer | 2014-09-27 | 1 | -0/+11 | |
| | | ||||||
* | | deprecate backend method names for elliptic curve number loading | Paul Kehrer | 2014-09-27 | 2 | -6/+68 | |
|/ | | | | fixes #1270 | |||||
* | Merge pull request #1346 from reaperhulk/fix-pkcs8-ec-load | Alex Gaynor | 2014-09-26 | 3 | -25/+13 | |
|\ | | | | | Process curve name when loading EC keys. Fixes #1336 | |||||
| * | add curve name parsing to public key loader | Paul Kehrer | 2014-09-26 | 1 | -0/+2 | |
| | | ||||||
| * | CURVE_TYPES back to private, removed unneeded point creation | Paul Kehrer | 2014-09-26 | 1 | -4/+4 | |
| | | ||||||
| * | learn to pep8 | Paul Kehrer | 2014-09-26 | 1 | -0/+1 | |
| | | ||||||
| * | Process curve name when loading EC keys. Fixes #1336 | Paul Kehrer | 2014-09-26 | 3 | -25/+10 | |
| | | ||||||
* | | Merge pull request #1355 from reaperhulk/fix-1352 | Alex Gaynor | 2014-09-26 | 1 | -6/+12 | |
|\ \ | |/ |/| | when setting SSL and SSL_CTX options in tests get current options first | |||||
| * | test_ssl_mode should get current mode as well | Paul Kehrer | 2014-09-26 | 1 | -2/+4 | |
| | | ||||||
| * | In tests for setting SSL and SSL_CTX options, get current options first | Paul Kehrer | 2014-09-26 | 1 | -4/+8 | |
| | | | | | | | | Fixes #1352 | |||||
* | | 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 | 2 | -19/+10 | |
| | | ||||||
* | | Added all changes lost in merge reset | michael-hart | 2014-09-26 | 2 | -6/+33 | |
| | | ||||||
* | | Part 1 of rebase, with corrections for pep8 | michael-hart | 2014-09-26 | 1 | -23/+5 | |
| | | ||||||
* | | Corrected tests | michael-hart | 2014-09-26 | 2 | -19/+10 | |
| | | ||||||
* | | Added all changes lost in merge reset | michael-hart | 2014-09-26 | 3 | -5/+40 | |
| | | ||||||
* | | Part 1 of rebase, with corrections for pep8 | michael-hart | 2014-09-26 | 1 | -1/+35 | |
|/ | ||||||
* | Merge pull request #1341 from michael-hart/ec_vectors | Paul Kehrer | 2014-09-24 | 1 | -9/+9 | |
|\ | | | | | Test Vector changes | |||||
| * | 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 | |||||
* | | Merge pull request #1330 from reaperhulk/fix-commoncrypto-gcm | Alex Gaynor | 2014-09-17 | 1 | -1/+34 | |
|\ \ | |/ |/| | Fix two bugs with CommonCrypto GCM that can result in invalid output. | |||||
| * | resolve GCM tag issue with AAD only on OpenSSL 1.0.1 in Ubuntu 12.04 | Paul Kehrer | 2014-09-12 | 1 | -4/+4 | |
| | | ||||||
| * | moved GCM tests to be run against all backends, added radar bug numbers | Paul Kehrer | 2014-09-11 | 2 | -32/+34 | |
| | | ||||||
| * | byte strings are byte strings | Paul Kehrer | 2014-09-11 | 1 | -9/+9 | |
| | | ||||||
| * | Fix two bugs with CommonCrypto GCM that can result in invalid output. | Paul Kehrer | 2014-09-11 | 1 | -0/+31 | |
| | | | | | | | | | | | | | | Bug #1: Call to AAD but no call to update. Get null tag bytes. Bug #2: Call to update without call to AAD. Get null ciphertext bytes. Fixes #1329 | |||||
* | | 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. |