summaryrefslogtreecommitdiffhomepage
path: root/tests/test_pkey.py
AgeCommit message (Collapse)Author
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-03-25Refactor sha1 test skipping a tadJeff Forcier
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)
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-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
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-06-21Merge branch '2.3' into 2.4Jeff Forcier
2019-06-21Merge branch '2.2' into 2.3Jeff Forcier
2019-06-21BlackenJeff Forcier
2019-06-21Merge branch '2.3' into 2.4Jeff Forcier
2019-06-21Merge branch '2.2' into 2.3Jeff Forcier
2019-06-21Add new keys and tests proving #1306Jeff Forcier
2019-06-08flake8 now applied to tests, huzzahJeff Forcier
2019-06-08Clean up shitty old test names of form test_[9-0A-Z]+_.*Jeff Forcier
2018-11-27blackenJared Hobbs
2018-11-27blackenJared Hobbs
2018-11-27add support for new OpenSSH private key formatJared Hobbs
This work is based off the work done in https://github.com/paramiko/paramiko/pull/618
2018-09-17Blacken, 2.3 editionJeff Forcier
2018-09-17s/test_path/_support/gJeff Forcier
2018-09-17Merge branch '2.2' into 2.3Jeff Forcier
2018-09-17Blacken, 2.2 editionJeff Forcier
2018-09-17Test-level fixes for pytest & friends, 2.2 editionJeff Forcier
2018-09-17Merge branch '2.1' into 2.2Jeff Forcier
Foregoes a handful of unblackened bits to make the merge easier; will blacken next anyways
2018-09-17Blacken 2.0 with black 18.6b4Jeff Forcier
2018-09-17Import cleanup, mostly focused on s/tests/./Jeff Forcier
2018-09-17Rename util func that trips pytest's default discovery.Jeff Forcier
Wouldn't matter as much under pytest-relaxed discovery, but, eh
2018-08-22Bump black up to 18.6b4Jeff Forcier
2018-05-29Blacken under black 18.5b0Jeff Forcier
2018-05-17Blacken Paramiko on 2.4Chris Rose
2018-03-12Uncaught typo in test suiteJeff Forcier
Was limited to the 2.4 branch, master either never got it or fixed it without a backport.
2017-11-29Merge branch '2.3' into 2.4Jeff Forcier