Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed HOTP test path, added changelog and myself to author list. | Ayrx | 2014-02-21 | 1 | -1/+1 |
| | |||||
* | Changed module name from otp to twofactor. | Ayrx | 2014-02-21 | 2 | -1/+1 |
| | |||||
* | Final changes to module names | Ayrx | 2014-02-21 | 2 | -0/+83 |
| | |||||
* | Add OpenSSL PEM vector docs | Alex Stapleton | 2014-02-19 | 4 | -0/+0 |
| | |||||
* | Add GnuTLS OpenSSL compatibility test keys | Alex Stapleton | 2014-02-19 | 2 | -0/+24 |
| | | | | | | | | key1.pem is encrypted with the password `123456` key2.pem is encrypted with the password `a123456` From commit GnuTLS commit f16ef39ef0303b02d7fa590a37820440c466ce8d | ||||
* | Add testrsa.pem from the OpenSSL repo | Alex Stapleton | 2014-02-19 | 2 | -0/+21 |
| | | | | | | | | | | | Found in test/testrsa.pem. Has been around since the SSLeay fork. testrsa-encrypted.pem was encrypted with AES128 using OpenSSL 1.0.1e-3ubuntu1.1 under the password `password`. The command used was: openssl rsa -in testrsa.pem -out testrsa-encrypted.pem -aes128 | ||||
* | Explicitly pass the key parameters instead of using **kwargs. Now we don't ↵ | David Reid | 2014-02-19 | 1 | -3/+14 |
| | | | | have to pop some stuff. | ||||
* | Merge pull request #636 from reaperhulk/rsa-signature-loader | David Reid | 2014-02-19 | 1 | -0/+1 |
|\ | | | | | Expand PKCS1 loader to load PKCS1 v1.5 and PSS signature examples | ||||
| * | fix rsa key loader test | Paul Kehrer | 2014-02-17 | 1 | -0/+1 |
| | | |||||
* | | Fixed TOTP test vectors. | Ayrx | 2014-02-18 | 2 | -12/+12 |
|/ | |||||
* | name things the right name for variety | Paul Kehrer | 2014-02-16 | 1 | -1/+1 |
| | |||||
* | add CAST5 CTR support to commoncrypto + tests | Paul Kehrer | 2014-02-16 | 1 | -0/+17 |
| | |||||
* | Merge pull request #626 from reaperhulk/cast5-ctr-vectors | Alex Gaynor | 2014-02-16 | 1 | -0/+22 |
|\ | | | | | CAST5 CTR vectors | ||||
| * | add origin header to cast5-ctr test vectors | Paul Kehrer | 2014-02-16 | 1 | -1/+5 |
| | | |||||
| * | add CAST5 CTR vectors (built from AES CTR vectors) | Paul Kehrer | 2014-02-16 | 1 | -0/+18 |
| | | |||||
* | | reformat camellia cfb, ofb, cbc vectors to NIST layout | Paul Kehrer | 2014-02-16 | 4 | -98/+241 |
|/ | | | | + remove duplicate tests | ||||
* | Reformat AES CTR vectors to use NIST loader & document their source properly | Paul Kehrer | 2014-02-15 | 4 | -16/+64 |
| | |||||
* | switch to more compact modular multiplicative inverse | Paul Kehrer | 2014-02-14 | 1 | -27/+11 |
| | |||||
* | python3 compatibility is good | Paul Kehrer | 2014-02-14 | 1 | -1/+1 |
| | |||||
* | add egcd and modinv unit tests | Paul Kehrer | 2014-02-14 | 1 | -0/+36 |
| | |||||
* | Merge branch 'master' into add-crt-coefficients | Paul Kehrer | 2014-02-13 | 2 | -1/+106 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Also clean up this syntax Fixed a missing word in the RSA docs Fix comments in padding.py to be accurate add versionadded to cast5 A few style nits in the docs add CAST5 support to changelog Changed .... lines to ~~~~ and s/Gnu\/Linux/Linux/ Pypy is not a real word either apparently. Added Pypy note and fixed libffi's "spelling" Added Debian mention, extra missing packages Added a docs section on Linux installation remove some extra linebreaks add cast5 docs Syntax highlight the go code. Be mad Rob Pike. add cbc, cfb, ofb support to CAST5 (aka CAST128) for openssl & cc re-add CAST5 ECB support (OpenSSL & CC backends). fixes #417 Switch this to a warning block Be clear about HKDF's applicability for password storage Conflicts: docs/hazmat/primitives/rsa.rst | ||||
| * | add cbc, cfb, ofb support to CAST5 (aka CAST128) for openssl & cc | Paul Kehrer | 2014-02-12 | 1 | -1/+52 |
| | | | | | | | | fixes #393 | ||||
| * | re-add CAST5 ECB support (OpenSSL & CC backends). fixes #417 | Paul Kehrer | 2014-02-12 | 2 | -1/+55 |
| | | |||||
* | | expose dmp1, dmq1, iqmp getters on RSAPrivateKey | Paul Kehrer | 2014-02-13 | 1 | -3/+3 |
| | | |||||
* | | add crt coefficients to RSAPrivateKey constructor and update tests | Paul Kehrer | 2014-02-12 | 1 | -28/+135 |
|/ | |||||
* | update headers for the CAST5 vectors | Paul Kehrer | 2014-02-12 | 3 | -0/+3 |
| | |||||
* | CAST5 CBC, OFB, CFB vectors made from the AES MMT test data | Paul Kehrer | 2014-02-12 | 3 | -0/+370 |
| | |||||
* | Add RSAPrivateKey.generate | Alex Stapleton | 2014-02-12 | 1 | -7/+13 |
| | |||||
* | Merge pull request #580 from public/openssl-gen-rsa-key | David Reid | 2014-02-11 | 1 | -5/+52 |
|\ | | | | | Generate RSA Keys with OpenSSL | ||||
| * | Generate RSA Keys | Alex Stapleton | 2014-02-11 | 1 | -5/+52 |
| | | |||||
* | | Fixed error in totp test vectors. | Ayrx | 2014-02-10 | 1 | -2/+2 |
| | | |||||
* | | Updated vectors to include secret. | Ayrx | 2014-02-10 | 2 | -0/+36 |
| | | |||||
* | | Renamed vectors/otp to vectors/oath | Ayrx | 2014-02-09 | 2 | -0/+0 |
| | | |||||
* | | Added test vectors for HOTP and TOTP algorithms. | Ayrx | 2014-02-09 | 2 | -0/+154 |
|/ | |||||
* | Make tests more explicit. | Alex Stapleton | 2014-02-07 | 1 | -38/+89 |
| | |||||
* | Check that public_exponent is odd | Alex Stapleton | 2014-02-07 | 1 | -12/+20 |
| | |||||
* | Use os.path.join to make paths | Alex Stapleton | 2014-02-06 | 1 | -1/+4 |
| | |||||
* | More sanity checks | Alex Stapleton | 2014-02-06 | 1 | -0/+12 |
| | |||||
* | Test alias properties | Alex Stapleton | 2014-02-05 | 1 | -0/+5 |
| | |||||
* | Check p*q=n in the tests | Alex Stapleton | 2014-02-05 | 1 | -0/+2 |
| | |||||
* | Sanity check keys. | Alex Stapleton | 2014-02-05 | 1 | -1/+35 |
| | | | | Taken from RFC 3447. | ||||
* | RSA keys | Alex Stapleton | 2014-02-05 | 1 | -0/+58 |
| | | | | | | | | | | | | | | | | | These are implemented such that they don't depend on the backend. This means we don't have to worry about passing an RSA key created with one backend to a different one so much at the expense of having to create a backend specific context on demand. This is slightly non-trivial in (at least) OpenSSL as there are 3 additional derived parameters kept in its RSA struct. They aren't difficult to generate but it requires adding 30-40 lines of BN_* stuff to the backend so I'm leaving that out for now. We'll need to implement that before we can actually do any useful operations with the keys. This also adds a loader for some of the PKCS #1 test vectors. It only extracts the 10 key pairs from pss_vect.txt currently be should be extenable to include the example signatures and other files later. | ||||
* | Properly mark all test cases as dependant on HMAC. | David Reid | 2014-02-03 | 2 | -5/+5 |
| | |||||
* | Don't forget InvalidKey. | David Reid | 2014-02-03 | 1 | -1/+1 |
| | |||||
* | Import exception classes instead of the exceptions module. | David Reid | 2014-02-03 | 1 | -4/+4 |
| | |||||
* | Don't expose extract and expand on this class yet because we don't know how ↵ | David Reid | 2014-02-03 | 2 | -20/+2 |
| | | | | best to expose verify functionality, continue testing the stages using the private methods. | ||||
* | Complete test coverage | David Reid | 2014-02-03 | 1 | -0/+26 |
| | |||||
* | Use six.u for great good. | David Reid | 2014-02-03 | 1 | -5/+19 |
| | |||||
* | Consistently use double quotes. | David Reid | 2014-02-03 | 1 | -11/+11 |
| | |||||
* | Aggressively type-check for text. | David Reid | 2014-02-03 | 1 | -0/+40 |
| |