summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2022-03-11OpenSSH docs state %C should also work in IdentityFile and Match execJeff Forcier
(at least, of what we presently ourselves support - it's also allowed in others)
2022-03-11Changelog enhancementJeff Forcier
2022-03-11Prettify, add %C as acceptable controlpath token, mock gethostnameJason Brand
2022-03-11Add to changelogJason Brand
2022-03-11Import only sha1Jason Brand
2022-03-11Add %C to docJason Brand
2022-03-11%C support in config fileJason Brand
2022-03-11blackenJeff Forcier
2022-03-11Tweak changelog language a bitJeff Forcier
2022-03-11Refactor SSH agent socket connection stuffJeff Forcier
Feels like this entire module wants more rigorous rewriting, but at least for now any future tweaks to agent bits won't hit this awful copypasta. Minor functionality update: now both methods of dealing with unix sockets will use retry_on_signal to try and skip over spurious EINTRs
2022-03-11Changelog re #1509, re #1837, closes #1868Jeff Forcier
2022-03-11support Windows OpenSSH agent besides Putty's pageant (addresses #1509)Lew Gordon
Since quite a while there exists a native openssh port for windows. If the Putty pageant is not present, try to use the native port's agent instead.
2022-03-11Merge branch '2.9'Jeff Forcier
2022-03-11Merge branch '2.8' into 2.9Jeff Forcier
2022-03-11Clarify SFTPClient.open() docs re: actual behavior of BufferedFileJeff Forcier
Closes #2000
2022-03-07Massively speed up low-level SFTP read/writeJeff Forcier
This doesn't impact most users who perform reads/writes using SFTPClient.get(fo)/put(fo) as those naturally perform chunking. However, users accessing the raw SFTPFile objects via SFTPClient.open() and then reading/writing large (more than a few MB) files, may experience severe slowdown due to inefficient slicing of the file being read/written. This change replaces the naive "slice a list of bytes" code with bytearray and memoryview, which are significantly more performant in these use cases, while remaining backwards compatible. Patch courtesy of Sevastian Tchernov.
2022-02-25Merge branch '2.8' into 2.9Jeff Forcier
2022-02-25blackenJeff Forcier
2022-02-25Comment and changelog re #1985Jeff Forcier
2022-02-25Add six to `install_requires`Sondre Lillebø Gundersen
2022-02-11Clarify disabled algorithms keys vs pubkeys in changelogJeff Forcier
2022-01-08Cut 2.9.2Jeff Forcier
2022-01-08Fix up logging and exception handling re: pubkey auth and presence/lack of ↵Jeff Forcier
server-sig-algs Re #1961
2022-01-08Add more visible backwards compat warning re 2.9 RSA2 changesJeff Forcier
2021-12-24Cut 2.9.1Jeff Forcier
2021-12-24Fix #1955Jeff Forcier
2021-12-24Changelog and test re #1955Jeff Forcier
2021-12-23Cut 2.9.0Jeff Forcier
2021-12-23Changelog format tweakJeff Forcier
2021-12-23Add agent RSA-SHA2 support, also tweak changelog w/ more ticketsJeff Forcier
2021-12-23Add support for RSA SHA2 host and public keysJeff Forcier
Includes a handful of refactors and new semiprivate attributes on Transport and AuthHandler for better test visibility.
2021-12-23Enhance kex DEBUG logging to be more readableJeff Forcier
The one-liner from 2005 is not cutting it, sorry
2021-12-23Longterm TODOsJeff Forcier
2021-12-09Weird typos introduced 2 years ago, bahJeff Forcier
Test currently passes on my workstation tho
2021-11-28No idea why the lack of this blew up on circle but not locallyJeff Forcier
Probably the locales differ? sigh
2021-11-28Cut 2.8.1Jeff Forcier
2021-11-28Fix changelog referenceJeff Forcier
2021-11-28Changelog format fix re #992Jeff Forcier
2021-11-28Credit re #992Jeff Forcier
2021-11-28Blacken code for #992Jeff Forcier
2021-11-28Cleanup re #992Jeff Forcier
- remove apparently vestigial bits - remove Python 2.6 related bits - use pytest.skip instead of custom skip
2021-11-28Add changelog entry for #992Martin Packman
2021-11-28Fix failure in listdir when server uses a localeMartin Packman
Fixes #985 SFTPAttributes uses the locale-aware %b directive for the abbreviated month name with time.strftime, but was not decoding the result on Python 2.7. Add a strftime alias in py3compat that will always return unicode, and resolve the mixing of bytes and text in SFTPAttributes methods. Add a test at the listdir level, and a more specific test for the SFTPAttributes asbytes method.
2021-11-28Add new requireNonAsciiLocale test decoratorMartin Packman
2021-11-28Expose Python 2.6 compatible test skip decoratorMartin Packman
2021-11-28Changelog re #1024Jeff Forcier
2021-11-28Catch TypeError and UnsupportedAlgorithm when using Cryptography to load ↵Jeff Forcier
private key material Prior to this change, these exceptions bubble up as-is instead of becoming SSHException instances like most other key-loading errors
2021-11-28Changelog closes #1257, re #1266Jeff Forcier
2021-11-28Tests proving #1257Jeff Forcier
2021-11-28Patch missed RSAKey for some reason. Fixed.Jeff Forcier