summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2022-05-20Mark new tests that require SHA1Paul Howarth
Like https://github.com/paramiko/paramiko/pull/2011
2022-05-20Merge branch '2.10' into 2.11Jeff Forcier
2022-05-20Merge branch '2.9' into 2.10Jeff Forcier
2022-05-20Revert "Mark new tests that require SHA1"Jeff Forcier
This reverts commit dca52aa8a2ddbc32fc874a8d235652c68e1dc3b9. Forgot this decorator wasn't ported back this far, heh.
2022-05-20Merge branch '2.10' into 2.11Jeff Forcier
2022-05-20Merge branch '2.9' into 2.10Jeff Forcier
2022-05-20Mark new tests that require SHA1Paul Howarth
Like https://github.com/paramiko/paramiko/pull/2011
2022-05-20Merge branch '2.10' into 2.11Jeff Forcier
2022-05-20Merge branch '2.9' into 2.10Jeff Forcier
2022-05-20Add test proving #1599Jeff Forcier
2022-05-16Merge branch '2.10'Jeff Forcier
2022-05-16Merge branch '2.9' into 2.10Jeff Forcier
2022-05-16Fix OpenSSH<7.8 + RSA-CERT use re: SHA2Jeff Forcier
Closes #2017
2022-04-26replace blowfish with different cipher in testMike Roest
2022-04-26Remove blowfish from transport ciphersMike Roest
2022-04-25Merge branch '2.10'Jeff Forcier
2022-04-25Merge branch '2.9' into 2.10Jeff Forcier
2022-04-25threading related deprecation fixes for python 3.10Narendra-Neerukonda
2022-04-25Massage #1951 a bitJeff Forcier
- changelog - test - tilde makes no sense here (ProxyJump is only ever [user@]host[:port] syntax) so removed it
2022-04-25blackenJeff Forcier
2022-04-25Merge branch '2.10'Jeff Forcier
2022-04-25Merge branch '2.9' into 2.10Jeff Forcier
2022-04-25don't throw exception when comparing PKey to non-PKeyChristopher Papke
2022-04-22Add -cert-v01@openssh.com variants to accepted host key algorithmsJeff Forcier
Solves #2035
2022-03-25Refactor sha1 test skipping a tadJeff Forcier
2022-03-21Fix for compatibility with old versions of cryptographyPaul Howarth
2022-03-21Remove unused variable, keep lint happyPaul Howarth
2022-03-21blackenPaul Howarth
2022-03-20Skip tests requiring sha1 signing if the backend doesn't support thatPaul Howarth
Red Hat Enterprise Linux 9 will have SHA-1 signatures disabled by default. It is likely that SHA-1 signatures will disappear elsewhere over time too. This change detects if sha1 signatures are not supported by the backend and skips tests that rely on that functionality. This is a workaround for #2004. It would be good to reduce the reliance of the test suite on sha1 signatures except in the cases where that is explicitly being tested, and the markers added here give a decent starting point for seeing where to change things.
2022-03-18Merge branch '2.10'Jeff Forcier
2022-03-18Merge branch '2.9' into 2.10Jeff Forcier
2022-03-18Fix publickey authentication with signed RSA keyJun Omae
2022-03-15Fix Free Software Foundation addressPaul Howarth
They moved from Temple Place to Franklin Street in 2005.
2022-03-14Use args, not kwargs, to retain py2 compat for nowJeff Forcier
2022-03-11blackenJeff Forcier
2022-03-11Fix CVE re: PKey.write_private_key chmod raceJeff Forcier
CVE-2022-24302 (see changelog for link)
2022-03-11Helps to actually leverage your mocked system callsJeff Forcier
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-11Prettify, add %C as acceptable controlpath token, mock gethostnameJason Brand
2021-12-24Changelog and test re #1955Jeff 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-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-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-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-28Tests proving #1257Jeff Forcier