summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-08-28Implement ECDSA certs.Jeff Forcier
So mad at that frickin typo'd specification...
2017-08-28Tweak exceptions to at least have better strings, if not new classes yetJeff Forcier
2017-08-28Implement DSS certsJeff Forcier
2017-08-28Update recent tests to try all main key families.Jeff Forcier
Includes some dummy certificates. Not sure exactly how @radssh generated the RSA one but I'm using ssh-keygen + a randomly made CA key.
2017-08-28Factor out type checking & cert loading into PKeyJeff Forcier
2017-08-28God damn it, really? Whatever.Jeff Forcier
2017-08-28Update first few stub tests + required test-server and PublicBlob impl bitsJeff Forcier
2017-08-28Update changelog re: recent changes re: #1042Jeff Forcier
2017-08-28Overhaul PublicBlob and use it better within RSAKey.Jeff Forcier
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
2017-08-28Stub tests and partly-working implementation of 'load certs found alongside ↵Jeff Forcier
key_filenames' behavior re #1042 This actually breaks existing tests due to test server not supporting certs...bah
2017-08-282nd amendment doesn't grant the right to bare exceptsJeff Forcier
2017-08-28Docstring/TODO tweaksJeff Forcier
2017-08-28Refactor and clean up recently tweaked key loading bits in SSHClientJeff Forcier
2017-08-28Changelog and docs re #1042Jeff Forcier
2017-08-28flake8Jeff Forcier
2017-08-23Merge branch 'master' into 1042-intJeff Forcier
2017-08-23Changelog re #1041Jeff Forcier
2017-08-23Pull in count-errors from invocationsJeff Forcier
2017-08-22string slice instead of rstrip, thanks ploxilnPaul Kapp
2017-08-22Add certificate filenames to look_for_keysPaul Kapp
2017-08-22amendmentPaul Kapp
Forgot about AgentKey, and put ECDSA line in wrong __init__. That’s what I get for only screening with test_pkey…
2017-08-22Generic certificate supportPaul Kapp
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.
2017-08-18Common up break out of Transport.run() loopPaul Kapp
Can’t seem to reason out any advantage of clearing self.active and calling self.packetizer.close() in these situations instead of simply breaking out of loop and allowing the additional conditional cleanups to be done. Currently looking into tackling some needed cleanup in auth_handler, and not having the auth_handler.abort() called on server disconnect feels like a bug - who knows?
2017-08-08Adding changelog for slow compression improvementDrNeutron
2017-08-08Update compress.pyDrNeutron
The previous setting of the compression level to 9 is a poor trade off in CPU and time used for compression vs the size gain over the default level of compression in zlib which is 6.
2017-08-04Transport gssapi-keyex: set the gss_kex_used flag lateAnselm Kruis
Set the flag gss_kex_used only after a gssapi-keyex has been successfully completed. This change prevents a wrong value in case of exceptions during the gssapi-keyex handshake.
2017-08-04Merge branch '2.1-gsskex-hostkeycheck-fix' into 2.2-gsskex-hostkeycheck-fixAnselm Kruis
2017-08-04AuthHandler: handle local "gssapi-with-mic" errors in client modeAnselm Kruis
Paramiko now tries other authentication methods, if "gssapi-with-mic" authentication may fails for a local reason (i.e. no kerberos ticket). Befor this change, any exception from the GSSAPI/SSPI caused the transport to be closed.
2017-08-04AuthHandler: fix the server-mode "gssapi-with-mic" logicAnselm Kruis
A paramiko server is now able to handle a restart of the user authentication during the GSS-API token exchange. This may occur, if the client detects a local GSSAPI problem (e.g. a missing kerberos ticket) and continues with another authentication method. The added test case test_2_auth_trickledown still fails, because the paramiko client contains a bug too.
2017-08-04Added paramiko.GSS_EXCEPTIONS: exception types used by GSSAPIAnselm Kruis
This new constant is a tuple of the exception types used by the underlying GSSAPI/SSPI implementation.
2017-08-04Merge branch '2.0-gsskex-hostkeycheck-fix' into 2.1-gsskex-hostkeycheck-fixAnselm Kruis
2017-08-04SSHClient: fix the host key testAnselm Kruis
Skip the host key check only, if the transport actually used gssapi-keyex. Add tests for the missing-host-key RejectPolicy. Before this change, a man-in-the-middle attack on the paramiko ssh client with gss_kex=True was possible by having a server that does not support gssapi-keyex and gives any or no host key.
2017-08-03Transport: fix the preferred KEX algorithms for gssapi-keyexAnselm Kruis
Add additional KEX algorithms for gssapi-keyex in front of the default preferred KEX algorithms, if gssapi-keyex is enabled. Before this change, Transport used a hard coded (and out-dated) list of algorithms, if gssapi-keyex was enabled.
2017-07-28Trigger TravisMichal Kuffa
2017-07-28Move assertions outside of the open context managerMichal Kuffa
2017-07-28Add file_obj handling to the Ed25519Key constructorMichal Kuffa
2017-07-13Merge branch '2.2'Jeff Forcier
2017-07-13Changelog re #1012, re #1016Jeff Forcier
2017-07-13Merge branch '2.2'Jeff Forcier
2017-07-13Enhance SFTP client & server docs re: posix_rename and its relation to renameJeff Forcier
Fixes #1016, re #1012
2017-07-06server: Support pre-authentication bannersDennis Kaarsemaker
The ssh protocol allows for the server to send a pre-authentication banner. It may be sent any time between the start of authentication and successful authentication. This commit allow ServerInterface subclasses to define messages which we'll send right right at the start of authentication before we send the supported authentication methods.
2017-06-25Merge branch 'master' into one-shot-methodsPaul Kehrer
2017-06-15Merge branch '2.0' into 2.1Jeff Forcier
2017-06-15Merge branch '2.2'Jeff Forcier
2017-06-15Merge branch '2.1' into 2.2Jeff Forcier
2017-06-15Merge pull request #997 from ploxiln/travis_pypy_updateJeff Forcier
travis-ci: update pypy test run
2017-06-14travis-ci: update pypy test run to use pypy-5.6.0Pierce Lopez
2017-06-13Merge branch '2.2'Jeff Forcier
2017-06-13Cut 2.2.1Jeff Forcier
2017-06-13Merge branch '2.2'Jeff Forcier