summaryrefslogtreecommitdiff
path: root/paramiko/rsakey.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove py3compat.PY2, including related streamliningJeff Forcier2023-01-091-11/+3
|
* Merge branch '2.10'Jeff Forcier2022-05-161-4/+1
|\
| * blackenJeff Forcier2022-05-161-4/+1
| |
* | Merge branch '2.10'Jeff Forcier2022-05-161-1/+8
|\ \ | |/
| * Pad received signature with leading zeros when RSA key is usedJun Omae2022-05-161-1/+8
| |
* | Merge branch '2.10'Jeff Forcier2022-03-181-1/+1
|\ \ | |/
| * Fix publickey authentication with signed RSA keyJun Omae2022-03-181-1/+1
| |
* | Fix Free Software Foundation addressPaul Howarth2022-03-151-1/+1
|/ | | | They moved from Temple Place to Franklin Street in 2005.
* Add support for RSA SHA2 host and public keysJeff Forcier2021-12-231-6/+22
| | | | | | 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 Forcier2021-11-281-2/+2
| | | | | | | private key material Prior to this change, these exceptions bubble up as-is instead of becoming SSHException instances like most other key-loading errors
* Patch missed RSAKey for some reason. Fixed.Jeff Forcier2021-11-281-4/+3
|
* fix RSA key loading: p and q were being swappedcrypto-rsa-pqAlex Gaynor2020-08-271-1/+1
| | | This currently works, because OpenSSL simply re-computes iqmp when it doesn't match the p & q values. However a future pyca/cryptography patch enforces this.
* Modify exception raised by weird key subclasses w/ bad pkformatJeff Forcier2019-12-031-1/+1
| | | | Not sure this can even really happen though
* Privatize new pkformat variableJeff Forcier2019-12-031-2/+2
| | | | Would like to rewrite later probably
* blackenJared Hobbs2018-11-271-6/+3
|
* add support for new OpenSSH private key formatJared Hobbs2018-11-271-6/+24
| | | | This work is based off the work done in https://github.com/paramiko/paramiko/pull/618
* Blacken under black 18.5b0Jeff Forcier2018-05-291-3/+1
|
* Blacken Paramiko on 2.4Chris Rose2018-05-171-19/+27
|
* Merge branch 'master' into 979-intJeff Forcier2017-09-051-4/+6
|\
| * Factor out type checking & cert loading into PKeyJeff Forcier2017-08-281-22/+5
| |
| * Overhaul PublicBlob and use it better within RSAKey.Jeff Forcier2017-08-281-1/+19
| | | | | | | | | | | | | | | | This allows server-side Paramiko code to correctly create cert-bearing RSAKey objects and thus verify client signatures, and now the test suite passes again, barring the stub tests. Re #1042
| * Generic certificate supportPaul Kapp2017-08-221-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-methodsPaul Kehrer2017-06-251-5/+3
|\ \ | |/
| * Merge branch 'master' into 921-intJeff Forcier2017-06-061-3/+4
| |\
| | * Move to 'inv sites' style doc nitpicking.Jeff Forcier2017-06-051-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__ functionsFrancisco Couzo2017-03-221-4/+2
| | |
* | | use cryptography's sign/verify methods instead of signer/verifierPaul Kehrer2017-06-051-10/+5
| |/ |/|
* | Flake8 improvements for more of paramiko.Dorian Pula2017-05-311-2/+3
|/
* This is awful and I hate my lifeJeff Forcier2017-02-201-1/+11
|
* handle invalid keysAlex Gaynor2016-04-231-5/+7
|
* Fixed tests.Alex Gaynor2015-03-181-1/+5
| | | | The expected output keys for these tests needed to be rewritten because previously they were generated with a BER encoder, which is basically slopper. Now they're exported as DER, which means they're always as compact as possible. A comparison of the two strings with openssl asn1parse will show that they represent the same data, they the new value is just shorter
* dohAlex Gaynor2015-03-181-1/+1
|
* fixAlex Gaynor2015-03-181-1/+1
|
* fixAlex Gaynor2015-03-181-6/+11
|
* No password hereAlex Gaynor2015-03-181-1/+1
|
* Fixes. Deleting codeAlex Gaynor2015-03-181-85/+31
|
* More progress towards cleanupAlex Gaynor2015-03-181-18/+33
|
* Merge branch 'master' into switch-to-cryptographyAlex Gaynor2014-12-181-1/+1
|\ | | | | | | | | | | Conflicts: paramiko/ecdsakey.py paramiko/util.py
| * Converted all staticmethod/classmethod instances to decorators.Jacob Beck2014-10-141-1/+1
| |
* | Added a comment; used a keyword argument, added pypy to travisAlex Gaynor2014-09-161-1/+1
| |
* | Switched everything to use cryptographyAlex Gaynor2014-09-151-33/+53
|/
* Merge branch 'master' into use-urandomAlex Gaynor2014-04-141-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: paramiko/dsskey.py paramiko/ecdsakey.py paramiko/hostkeys.py paramiko/kex_gex.py paramiko/kex_group1.py paramiko/pkey.py paramiko/primes.py paramiko/rsakey.py tests/test_pkey.py
| * Switched hash functions from PyCrypto to hashlib.Alex Gaynor2014-03-291-3/+4
| | | | | | | | | | | | | | | | There's a few advantages to this: 1) It's probably fast, OpenSSL, which typically backs hashlib, receives far more attention for optimizaitons than PyCrypto. 2) It's the first step to supporting PyPy, where PyCrypto doesn't run.
* | Switch from using PyCrypto's Random to using os.urandom.Alex Gaynor2014-03-291-6/+8
|/ | | | | | | | | | | There's several reasons for this change: 1) It's faster for reads up to 1024 bytes (nearly 10x faster for 16 byte reads) 2) It receives considerably more security review since it's in the kernel. 3) It's yet another step towards running on PyPy. 4) Using userspace CSPRNGs is considered something of an anti-pattern. See: http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/ http://webcache.googleusercontent.com/search?q=cache:2nTvpCgKZXIJ:www.2uo.de/myths-about-urandom/+&cd=3&hl=en&ct=clnk&gl=us
* Fix import * and a bunch of PEP8 formattingScott Maxwell2014-03-071-8/+6
|
* Merge remote-tracking branch 'scottkmaxwell/py3-support-without-py25' into ↵Jeff Forcier2014-03-051-10/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python3 Conflicts: dev-requirements.txt paramiko/__init__.py paramiko/file.py paramiko/hostkeys.py paramiko/message.py paramiko/proxy.py paramiko/server.py paramiko/transport.py paramiko/util.py paramiko/win_pageant.py setup.py
| * Remove byte conversions and unhexlify calls that we only needed for Py2.5 ↵Scott Maxwell2013-11-191-2/+1
| | | | | | | | support and use the `b` byte string marker instead
| * Changes inspired by the nischu7 branchScott Maxwell2013-11-011-2/+3
| |
| * Fixes for Python 2.5 and Python 3.2 supportScott Maxwell2013-11-011-1/+1
| |
| * Eliminate all uses of b'' syntax to allow for Python 2.5 supportScott Maxwell2013-11-011-20/+10
| |