Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix ec_cdata_to_evp_pkey bug | Paul Kehrer | 2015-06-22 | 1 | -0/+18 |
| | | | | | | We weren't actually returning the object and the tests weren't catching it because we didn't try to use the evp_pkey property in the tests. The added test confirms it actually works. | ||||
* | Remove our workarounds for pyasn.1 bugs, a new pyasn.1 is out! | Alex Gaynor | 2015-06-22 | 1 | -2/+2 |
| | |||||
* | Add ConcatKDF from NIST SP 800-56A | Simo Sorce | 2015-06-12 | 1 | -0/+251 |
| | | | | | | | | | The implemention allows the use an HMAC function as per Revision 2 of the document. Conformance of the formatting of the OtherInfo argument is responsability of the calling application. Signed-off-by: Simo Sorce <simo@redhat.com> | ||||
* | convert to cffi 1.0 precompile system | Paul Kehrer | 2015-06-07 | 4 | -58/+14 |
| | |||||
* | Remove a default argument and rename a private function. | Jiangge Zhang | 2015-06-03 | 2 | -3/+3 |
| | |||||
* | Follow the review advice: turn URI generator into methods. | Jiangge Zhang | 2015-06-03 | 2 | -9/+4 |
| | |||||
* | Add "generate_key_uri" utility for HOTP/TOTP. | Jiangge Zhang | 2015-05-26 | 2 | -0/+31 |
| | |||||
* | Merge pull request #1989 from elitest/fixapachelic | Paul Kehrer | 2015-05-24 | 1 | -12/+3 |
|\ | | | | | Fix dual license in test_dh.py | ||||
| * | Fix dual license in test_dh.py | Jim Shaver | 2015-05-24 | 1 | -12/+3 |
| | | |||||
* | | add support for secp256k1 | Paul Kehrer | 2015-05-08 | 1 | -4/+11 |
| | | |||||
* | | Refs #1870 - replace six.u with u prefix in tests/hazmat/primitives | Eeshan Garg | 2015-04-29 | 7 | -32/+18 |
|/ | |||||
* | Merge pull request #1848 from reaperhulk/invalid-token | Alex Gaynor | 2015-04-14 | 2 | -2/+4 |
|\ | | | | | Twofactor invalid token | ||||
| * | Move cryptography.exceptions.InvalidToken to ↵ | Steven Buss | 2015-04-13 | 2 | -2/+4 |
| | | | | | | | | cryptography.hazmat.primitives.twofactor | ||||
* | | Work around pyasn1's willingness to return endOfOctets in DER parsing | Geoffrey Thomas | 2015-04-13 | 1 | -0/+5 |
|/ | | | | See #1838 for discussion. | ||||
* | add load_der_x509_csr to support loading DER encoded CSRs | Paul Kehrer | 2015-03-30 | 1 | -0/+6 |
| | |||||
* | rename request to CSR | Paul Kehrer | 2015-03-29 | 1 | -3/+3 |
| | |||||
* | basic support for parsing x509 requests | Paul Kehrer | 2015-03-29 | 1 | -0/+6 |
| | |||||
* | allow zero value bn using _bn_to_int in the openssl backend | Paul Kehrer | 2015-03-25 | 1 | -0/+4 |
| | |||||
* | pep8! *shakes fist at the sky* | Paul Kehrer | 2015-03-14 | 1 | -1/+1 |
| | |||||
* | DER serialization of DSA private keys | Paul Kehrer | 2015-03-14 | 2 | -40/+86 |
| | |||||
* | support DER encoded EC private key serialization | Paul Kehrer | 2015-03-13 | 1 | -12/+93 |
| | |||||
* | support RSA DER private key serialization | Paul Kehrer | 2015-03-13 | 2 | -23/+95 |
| | |||||
* | Merge pull request #1741 from reaperhulk/serialize-der-public-keys | Alex Gaynor | 2015-03-10 | 4 | -43/+81 |
|\ | | | | | support DER serialization of public keys | ||||
| * | support DER serialization of public keys | Paul Kehrer | 2015-03-10 | 4 | -43/+81 |
| | | |||||
* | | Fixed the deprecation warnings being triggered by the tests | Alex Gaynor | 2015-03-10 | 4 | -10/+10 |
|/ | |||||
* | DSA public key serialization | Paul Kehrer | 2015-03-08 | 1 | -1/+44 |
| | |||||
* | make tests properly skip on OpenSSLs without EC support | Paul Kehrer | 2015-03-08 | 1 | -0/+4 |
| | |||||
* | serialize EC public keys | Paul Kehrer | 2015-03-08 | 1 | -1/+69 |
| | |||||
* | support RSA public key serialization | Paul Kehrer | 2015-03-07 | 2 | -3/+56 |
| | |||||
* | support "PKCS1" RSA public keys | Paul Kehrer | 2015-03-05 | 1 | -1/+9 |
| | |||||
* | serialize DSA private keys | Paul Kehrer | 2015-03-02 | 1 | -2/+169 |
| | |||||
* | format to privateformat | Paul Kehrer | 2015-03-02 | 1 | -7/+10 |
| | |||||
* | skip those tests if ec unsupported | Paul Kehrer | 2015-03-01 | 1 | -0/+7 |
| | |||||
* | add support for serialization of EC private keys | Paul Kehrer | 2015-03-01 | 1 | -2/+162 |
| | |||||
* | s/Format/PrivateFormat | Paul Kehrer | 2015-03-01 | 2 | -9/+12 |
| | |||||
* | Merge pull request #1503 from reaperhulk/serialize-some-keys | Alex Stapleton | 2015-03-01 | 3 | -6/+168 |
|\ | | | | | Support for traditional OpenSSL and PKCS8 RSA private key serialization | ||||
| * | change as_bytes to private_bytes, link more things | Paul Kehrer | 2015-02-28 | 2 | -16/+16 |
| | | |||||
| * | add exact byte test | Paul Kehrer | 2015-02-27 | 1 | -0/+17 |
| | | |||||
| * | listify a parametrized test | Paul Kehrer | 2015-02-25 | 1 | -1/+1 |
| | | |||||
| * | rename dump to as_bytes | Paul Kehrer | 2015-02-25 | 2 | -14/+14 |
| | | |||||
| * | address review comments | Paul Kehrer | 2015-02-25 | 3 | -43/+43 |
| | | |||||
| * | Support for traditional OpenSSL and PKCS8 RSA private key serialization | Paul Kehrer | 2015-02-25 | 3 | -6/+151 |
| | | |||||
* | | DH numbers | Alex Stapleton | 2015-02-26 | 1 | -0/+113 |
|/ | |||||
* | Fixed the use of deprecated names in the serialization tests | Alex Gaynor | 2015-02-24 | 1 | -33/+28 |
| | |||||
* | Updated RSA and DSA tests for moved classes | Alex Gaynor | 2015-02-24 | 2 | -6/+6 |
| | |||||
* | Merge pull request #1610 from reaperhulk/load-der-keys | Alex Gaynor | 2015-02-23 | 1 | -2/+267 |
|\ | | | | | DER key loading support for the OpenSSL backend | ||||
| * | remove unneeded parens | Paul Kehrer | 2015-02-22 | 1 | -2/+2 |
| | | |||||
| * | support DER public and private key loading in the openssl backend | Paul Kehrer | 2015-02-19 | 1 | -2/+267 |
| | | |||||
* | | Pass the sys.path into the subprocess | Donald Stufft | 2015-02-19 | 1 | -0/+10 |
|/ | | | | | | | | | If we're running tests via ``python setup.py test`` in a clean environment then all of our dependencies are going to be installed into either the current directory or the .eggs directory. However the subprocess won't know to activate these dependencies, so we'll get it to do so by passing our entire sys.path into the subprocess via the PYTHONPATH environment variable. | ||||
* | Allow the OpenSSL version string to begin with LibreSSL | Steven McDonald | 2015-02-19 | 1 | -3/+6 |
| | | | | | LibreSSL aims to be source-compatible with OpenSSL, so there is no good reason to fail this test simply because the name has changed. |