Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | No more (object)ions | Jeff Forcier | 2023-01-16 | 1 | -2/+2 |
| | |||||
* | Fix spelling mistake of distributed | Benjamin Drung | 2022-04-12 | 1 | -1/+1 |
| | | | | | | Spelling mistake was found by lintian. Signed-off-by: Benjamin Drung <bdrung@ubuntu.com> | ||||
* | Fix Free Software Foundation address | Paul Howarth | 2022-03-15 | 1 | -1/+1 |
| | | | | They moved from Temple Place to Franklin Street in 2005. | ||||
* | Add support for RSA SHA2 host and public keys | Jeff Forcier | 2021-12-23 | 1 | -1/+1 |
| | | | | | | Includes a handful of refactors and new semiprivate attributes on Transport and AuthHandler for better test visibility. | ||||
* | Catch TypeError and UnsupportedAlgorithm when using Cryptography to load ↵ | Jeff Forcier | 2021-11-28 | 1 | -2/+7 |
| | | | | | | | private key material Prior to this change, these exceptions bubble up as-is instead of becoming SSHException instances like most other key-loading errors | ||||
* | Blacken patch. | Jeff Forcier | 2021-11-28 | 1 | -4/+4 |
| | |||||
* | Check all data on keys when comparing for equality | Josh Snyder | 2021-11-28 | 1 | -8/+7 |
| | | | | | This eliminates the possibility that a hash collision results in two PKey objects that == each other. | ||||
* | fix loading ECDSA keys in new openssh private key format | Pierce Lopez | 2019-12-05 | 1 | -3/+14 |
| | | | | (also Blacken new ecdsa format key test) | ||||
* | Modify exception raised by weird key subclasses w/ bad pkformat | Jeff Forcier | 2019-12-03 | 1 | -1/+1 |
| | | | | Not sure this can even really happen though | ||||
* | Privatize new pkformat variable | Jeff Forcier | 2019-12-03 | 1 | -2/+2 |
| | | | | Would like to rewrite later probably | ||||
* | Merge branch 'master' into 1343-int | Jeff Forcier | 2019-12-03 | 1 | -2/+2 |
|\ | |||||
| * | Fix line length | Andrew Wason | 2019-02-09 | 1 | -1/+2 |
| | | |||||
| * | Fix numbers vs key mixups | Andrew Wason | 2019-02-09 | 1 | -3/+2 |
| | | |||||
| * | Move to cryptography 2.5 and stop using deprecated APIs. | Andrew Wason | 2019-02-06 | 1 | -2/+2 |
| | | | | | | Fixes #1369 | ||||
* | | blacken, tests | Jared Hobbs | 2018-11-27 | 1 | -1/+1 |
| | | |||||
* | | blacken | Jared Hobbs | 2018-11-27 | 1 | -2/+2 |
| | | |||||
* | | add support for new OpenSSH private key format | Jared Hobbs | 2018-11-27 | 1 | -6/+16 |
|/ | | | | This work is based off the work done in https://github.com/paramiko/paramiko/pull/618 | ||||
* | Blacken under black 18.5b0 | Jeff Forcier | 2018-05-29 | 1 | -1/+1 |
| | |||||
* | Blacken Paramiko on 2.4 | Chris Rose | 2018-05-17 | 1 | -23/+38 |
| | |||||
* | flake8 for previous changeset | Jeff Forcier | 2017-10-11 | 1 | -1/+3 |
| | |||||
* | String format modernization, part 11070-remove-python26-and-33 | Jeff Forcier | 2017-10-10 | 1 | -2/+2 |
| | | | | | | | Choosing to skip it in some edge/corner cases where it's more harmful than helpful. Also choosing to replace many non-%s specifiers with regular old {} since I don't see why one would normally care. Again, eschewing that in spots where it seems like it might matter. | ||||
* | Use new(er)-style string formatting, {} instead of {0} | Jeff Forcier | 2017-10-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into 979-int | Jeff Forcier | 2017-09-05 | 1 | -5/+23 |
|\ | |||||
| * | Python 2.6 fixes | Jeff Forcier | 2017-09-02 | 1 | -1/+1 |
| | | | | | | | | Fixes #1049 | ||||
| * | Implement ECDSA certs. | Jeff Forcier | 2017-08-28 | 1 | -5/+22 |
| | | | | | | | | So mad at that frickin typo'd specification... | ||||
| * | amendment | Paul Kapp | 2017-08-22 | 1 | -1/+1 |
| | | | | | | | | | | Forgot about AgentKey, and put ECDSA line in wrong __init__. That’s what I get for only screening with test_pkey… | ||||
| * | Generic certificate support | Paul Kapp | 2017-08-22 | 1 | -0/+1 |
| | | | | | | | | | | | | Roll agnostic certificate support into PKey, and tweak publickey authentication to use it only if set. Requires explicit call to PKey.load_certificate() in order to alter the authentication behavior. | ||||
* | | Merge branch 'master' into one-shot-methods | Paul Kehrer | 2017-06-25 | 1 | -5/+3 |
|\ \ | |/ | |||||
| * | Merge branch 'master' into 921-int | Jeff Forcier | 2017-06-06 | 1 | -3/+3 |
| |\ | |||||
| | * | Move to 'inv sites' style doc nitpicking. | Jeff Forcier | 2017-06-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | Existing just-warnings setup was old and not as rigorous as my usual. Required a lot of stupid little changes, but now same tooling for all projects, toot toot. | ||||
| * | | Improve __hash__ functions | Francisco Couzo | 2017-03-22 | 1 | -4/+2 |
| | | | |||||
* | | | use cryptography's sign/verify methods instead of signer/verifier | Paul Kehrer | 2017-06-05 | 1 | -8/+4 |
| |/ |/| | |||||
* | | Additional PEP8 fixes. | Dorian Pula | 2017-05-31 | 1 | -2/+2 |
|/ | |||||
* | Update ecdsakey.py | MengHuan Yu | 2016-12-05 | 1 | -1/+1 |
| | |||||
* | Patch fix via @alex on #731, tests pass locally again | Jeff Forcier | 2016-04-28 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into 731-int | Jeff Forcier | 2016-04-28 | 1 | -18/+10 |
|\ | |||||
| * | Use a more recent cryptography and call a function | Alex Gaynor | 2016-04-27 | 1 | -15/+10 |
| | | |||||
* | | Formatting tweaks re #731 | Jeff Forcier | 2016-04-25 | 1 | -4/+5 |
| | | |||||
* | | Add support for ECDSA key sizes 384 and 521 alongside the existing 256. | Alex Orange | 2016-04-25 | 1 | -19/+98 |
|/ | | | | | | | | | | | | | | | | | | Previously only 256-bit was handled and in certain cases (private key reading) 384- and 521-bit keys were treated as 256-bit keys causing silent errors. Tests have been added to specifically test the 384 and 521 keysizes. As RFC 5656 defines 256, 384, and 521 as the required keysizes this seems a good set to test. Also, this will cover the branches at ecdsakey.py:55. Test keys were renamed and test_client.py was modified as a result. This also fixes two bugs in ecdsakey.py. First, when calculating bytes needed to store a key, the assumption was made that the key size (in bits) was divisible by 8 (see line 137). This has been fixed by rounding up (wasn't an issue as only 256-bit keys were used before). Another bug was that the key padding in asbytes was being done backwards (was padding on current_length - needed_length bytes). | ||||
* | remove unused thing | Alex Gaynor | 2016-04-23 | 1 | -5/+1 |
| | |||||
* | handle invalid keys in ecdsa | Alex Gaynor | 2016-04-23 | 1 | -2/+10 |
| | |||||
* | Merge branch 'master' into switch-to-cryptography | Alex Gaynor | 2015-11-04 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | Conflicts: .travis.yml paramiko/ecdsakey.py paramiko/transport.py | ||||
| * | Fix ECDSA generate documentation. | Jared Hance | 2015-10-02 | 1 | -5/+3 |
| | | | | | | | | Was a blatant copy of a comment from RSAKey. | ||||
* | | Fixes. Deleting code | Alex Gaynor | 2015-03-18 | 1 | -2/+2 |
| | | |||||
* | | More progress towards cleanup | Alex Gaynor | 2015-03-18 | 1 | -15/+12 |
| | | |||||
* | | Rmoeved unused imports | Alex Gaynor | 2015-03-15 | 1 | -3/+1 |
| | | |||||
* | | This wants a string, not bytes, apparently | Alex Gaynor | 2015-03-15 | 1 | -2/+2 |
| | | |||||
* | | 0.8 doesn't support DER yet, just export PEM, that's what we wanted to do in ↵ | Alex Gaynor | 2015-03-15 | 1 | -6/+10 |
| | | | | | | | | the first place | ||||
* | | Whoops | Alex Gaynor | 2015-03-15 | 1 | -1/+1 |
| | | |||||
* | | Update for cryptography 0.8 and general cleanups | Alex Gaynor | 2015-03-15 | 1 | -65/+5 |
| | |