summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
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-20Mark new tests that require SHA1Paul Howarth
Like https://github.com/paramiko/paramiko/pull/2011
2022-05-20Add test proving #1599Jeff Forcier
2022-05-16Fix OpenSSH<7.8 + RSA-CERT use re: SHA2Jeff Forcier
Closes #2017
2022-04-25threading related deprecation fixes for python 3.10Narendra-Neerukonda
2022-04-25don't throw exception when comparing PKey to non-PKeyChristopher Papke
2022-03-18Fix publickey authentication with signed RSA keyJun Omae
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
2021-11-28Enhance tests of existing/general key cmp/hash behaviorJeff Forcier
Not sure why these were never explicitly tested
2021-11-28Pre-patch test proving security flaw re: 32bit key hash comparisonsJeff Forcier
2021-11-28Blacken for hostkeys fixJeff Forcier
2021-11-28test_hostkeys: test SubDict.__delitem__()Lans Zhang
SubDict.__delitem__() would trigger the KeyError exception if a key type to be deleted is not present. Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2021-10-08Try getting Kerberos working on CircleJeff Forcier
Sadly it fails. Unclear whether I'm missing something, or if this represents a diff between the Ubuntu versions Travis last used and what Circle's images are on. I did get the tests themselves truly running, and while I trimmed back the deps a bit vs Travis, it's only as some of them were redundant/required by other packages we install here. Leaving it defined but not actually used in the workflow.
2021-10-08bump test/ci related sleep :(Jeff Forcier
2021-07-23Merge branch '2.7' into masterJeff Forcier
2021-07-23Merge branch '2.6' into 2.7Jeff Forcier
2021-07-23Merge branch '2.5' into 2.6Jeff Forcier
2021-07-23noqa long lineJeff Forcier
2021-07-23Merge branch '2.7' into masterJeff Forcier
2021-07-23Merge branch '2.6' into 2.7Jeff Forcier
2021-07-23Merge branch '2.5' into 2.6Jeff Forcier
2021-07-23Add some tests for server-mode Diffie-Hellman key exchange.Benno Rice
Tests existed for diffie-hellman-group1-sha1 in both client and server modes but tests for diffie-hellman-group14-sha256 and diffie-hellman-group16-sha512 were missing in server mode.
2021-06-06BlackenJeff Forcier
2021-04-30Fixup readability: Add Test for get() without using prefetchTim Stolarski
2021-04-28Add Test fpr get() without using prefetchTim Stolarski
2020-08-30fixed malformed PEM files -- there should not be leading spacesAlex Gaynor
2020-08-27Failing test anticipating #1723Jeff Forcier
2019-12-09Merge branch '2.7' into 1567-intJeff Forcier
2019-12-05fix loading ECDSA keys in new openssh private key formatPierce Lopez
(also Blacken new ecdsa format key test)
2019-12-05test RSA key in new openssh private key format without paddingPierce Lopez
2019-12-05test loading ECDSA key in new openssh private-key formatPierce Lopez
2019-12-03How do folks keep putting friggin numbers in the tests?Jeff Forcier
Well, pkey was probably my fault as the patch has sat around for ages
2019-12-03Rename new test key files for readabilityJeff Forcier
2019-12-03Merge branch 'master' into 1343-intJeff Forcier
2019-12-03Apply %h tokenization to HostNameJeff Forcier
This was another spot that incidentally occurred in older (and moved) code, but was made incorrect after cleanup
2019-12-03Modernize a test that sometimes fails for no obvious reason on travis only =/Jeff Forcier
2019-12-03Trim trailing whitespace from test config filesJeff Forcier
2019-12-03Never actually handled optional-ness of Invoke importJeff Forcier
Was just silently failing, wahoops
2019-12-03BlackenJeff Forcier
2019-12-03Fill in rest of Match exec tests - all passJeff Forcier