Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move RSA*Key interfaces to cryptography.hazmat.primitives.asymmetric.rsa | Alex Stapleton | 2015-01-24 | 2 | -63/+104 | |
| | ||||||
* | Move DSA* interfaces to interfaces.dsa module | Alex Stapleton | 2015-01-22 | 3 | -103/+150 | |
| | ||||||
* | move attempts to a constant and add a comment about it | Paul Kehrer | 2015-01-18 | 1 | -1/+7 | |
| | ||||||
* | various improvements to rsa_recover_prime_factors per review feedback | Paul Kehrer | 2015-01-18 | 1 | -4/+4 | |
| | ||||||
* | recover (p, q) given (n, e, d). fixes #975 | Paul Kehrer | 2015-01-18 | 1 | -0/+45 | |
| | ||||||
* | Only split out ec and dsa | Gregory Haynes | 2015-01-03 | 2 | -84/+67 | |
| | | | | RSA is being mvoed out of the interfaces namespace in PR #1592. | |||||
* | Split out asymmetric key interfaces | Gregory Haynes | 2015-01-02 | 5 | -229/+290 | |
| | | | | Splitting out RSA, DSA, and EllipticalCurve interfaces as part of #1495. | |||||
* | Style fixes for interfaces imports | Gregory Haynes | 2014-12-31 | 1 | -6/+3 | |
| | ||||||
* | Fix import ordering in interfaces | Gregory Haynes | 2014-12-30 | 1 | -2/+2 | |
| | ||||||
* | Move ModeAuthenticationWithTag into ciphers | Gregory Haynes | 2014-12-30 | 2 | -9/+11 | |
| | | | | This class should be broken out into the ciphers module as well. | |||||
* | Start splitting out interfaces with ciphers | Gregory Haynes | 2014-12-30 | 2 | -58/+82 | |
| | | | | | | | The interfaces module is getting unwieldy so starting to split this out. Beginning by creating a ciphers module. This starts implementing issue #1495 | |||||
* | Added test cases for NIST P-384 and 521. Fixed handling of key sizes which ↵ | Alex Gaynor | 2014-12-25 | 1 | -5/+7 | |
| | | | | aren't divisibly by 8 | |||||
* | Merge branch 'master' into openssh-elliptic-curve | Alex Gaynor | 2014-12-24 | 1 | -8/+2 | |
|\ | ||||||
| * | Removed some deprecated code | Alex Gaynor | 2014-12-24 | 1 | -8/+2 | |
| | | ||||||
* | | Improved docstring | Alex Gaynor | 2014-12-24 | 1 | -1/+5 | |
| | | ||||||
* | | THese are bytes for py3k | Alex Gaynor | 2014-12-24 | 1 | -3/+3 | |
| | | ||||||
* | | Reduce the duplication | Alex Gaynor | 2014-12-24 | 1 | -13/+11 | |
| | | ||||||
* | | Attempt to remove some duplication | Alex Gaynor | 2014-12-24 | 1 | -26/+24 | |
| | | ||||||
* | | Fixes #1533 -- Initial work at parsing ECDSA public keys in OpenSSH format | Alex Gaynor | 2014-12-24 | 1 | -8/+45 | |
|/ | ||||||
* | remove fully deprecated items from 0.6 deprecation cycle | Paul Kehrer | 2014-12-18 | 1 | -26/+0 | |
| | ||||||
* | Merge pull request #1537 from alex/cleanup-ssh-serialization | Paul Kehrer | 2014-12-17 | 1 | -2/+2 | |
|\ | | | | | Use the slightly more natural API here | |||||
| * | Use the slightly more natural API here | Alex Gaynor | 2014-12-17 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #1499 from reaperhulk/x509-ossl-impl | Alex Gaynor | 2014-12-17 | 1 | -2/+2 | |
|\ \ | |/ |/| | X509Backend support in OpenSSL backend | |||||
| * | change it to not_valid_* why not | Paul Kehrer | 2014-12-15 | 1 | -2/+2 | |
| | | ||||||
| * | move x509 to top level, add more docs | Paul Kehrer | 2014-12-15 | 1 | -4/+0 | |
| | | ||||||
| * | initial x509 openssl implementation | Paul Kehrer | 2014-12-15 | 1 | -0/+4 | |
| | | ||||||
* | | use the right comparison | Paul Kehrer | 2014-12-17 | 1 | -2/+2 | |
| | | ||||||
* | | update docs, hoist b64decode up and re-add test for it | Paul Kehrer | 2014-12-17 | 1 | -10/+11 | |
| | | ||||||
* | | add OpenSSH DSS public key loading | Paul Kehrer | 2014-12-16 | 1 | -7/+33 | |
|/ | | | | fixes #1531 | |||||
* | two flake8 fixes | Alex Gaynor | 2014-12-15 | 1 | -2/+0 | |
| | ||||||
* | A handful of tiny fixes | Alex Gaynor | 2014-12-15 | 1 | -19/+30 | |
| | ||||||
* | Added optimization for Python 3 to use int.from_bytes instead of Python code | Mark Adams | 2014-12-14 | 1 | -1/+7 | |
| | ||||||
* | Made a couple of minor tweaks to clean up _read_next_string and _read_next_mpint | Mark Adams | 2014-12-14 | 1 | -3/+1 | |
| | ||||||
* | Added better parsing for RFC 4251 string and mpint values. | Mark Adams | 2014-12-14 | 1 | -22/+40 | |
| | | | | | Also moved several of the SSH key splitting and validation checks up into the load_ssh_public_key method since they will apply to more than just RSA. Added additional checks to make sure the key doesn't contain extraneous data | |||||
* | Removed redundant tests for _load_ssh_rsa_public_key since it is now a ↵ | Mark Adams | 2014-12-13 | 1 | -2/+1 | |
| | | | | non-public part of the API and made a number of minor changes to tests and documentation | |||||
* | Privatized the load_ssh_rsa_public_key function and fixed some coverage ↵ | Mark Adams | 2014-12-13 | 1 | -2/+2 | |
| | | | | issues on test_serialization. | |||||
* | Added load_ssh_rsa_public_key to hazmat.primitives.serialization to allow ↵ | Mark Adams | 2014-12-13 | 1 | -0/+47 | |
| | | | | | | for loading of OpenSSH RSA public keys Also added load_ssh_public_key as a generic method that can be later extended to support more public key algorithms. | |||||
* | add NotImplemented handling | Paul Kehrer | 2014-12-10 | 3 | -0/+21 | |
| | ||||||
* | add __ne__ and __eq__ methods to RSA, DSA, and EC numbers classes | Paul Kehrer | 2014-12-10 | 3 | -0/+63 | |
| | | | | fixes #1449 | |||||
* | directly test r, s for integer-ness | Paul Kehrer | 2014-12-07 | 1 | -5/+9 | |
| | ||||||
* | catch PyAsn1Error for encoding signature as well | Paul Kehrer | 2014-12-07 | 1 | -3/+7 | |
| | ||||||
* | catch PyAsn1Error when decoding rfc6979 signature | Paul Kehrer | 2014-12-06 | 1 | -1/+6 | |
| | ||||||
* | assign tuple to multiple vars for better readability | Paul Kehrer | 2014-11-30 | 1 | -4/+4 | |
| | ||||||
* | error if signature has trailing bytes | Paul Kehrer | 2014-11-30 | 1 | -0/+4 | |
| | ||||||
* | add encode_rfc6979_signature and refactor tests to use it | Paul Kehrer | 2014-11-27 | 1 | -1/+8 | |
| | ||||||
* | add decode_rfc6979_signature helper for DSA/ECDSA | Paul Kehrer | 2014-11-27 | 1 | -0/+22 | |
| | ||||||
* | add X509Certificate version attribute | Paul Kehrer | 2014-11-25 | 1 | -0/+6 | |
| | ||||||
* | Initial minimal X509Certificate interfaces | Paul Kehrer | 2014-11-24 | 1 | -0/+33 | |
| | | | | | This will be expanded in the future to include algorithm identifier, subject, issuer, extensions, etc | |||||
* | Update the license header for every source file, as well as the documentation. | Alex Gaynor | 2014-11-16 | 25 | -301/+75 | |
| | | | | Fixes #1209 | |||||
* | Move the cryptography package into a src/ subdirectory | Donald Stufft | 2014-11-13 | 25 | -0/+2421 | |
Due to differences in how py.test determines which module to ``import`` the test suite actually runs against the cryptography which is in the *current* directory instead of the cryptography which is installed. The problem essentially boils down to when there is a tests/__init__.py then py.test adds the current directory to the front of the sys.path, causing it to take precedence over the installed location. This means that running the tests relies on the implicit compile that CFFI does instead of testing against what people will actually be runnning, which is the module compiled by setup.py. |