summaryrefslogtreecommitdiffhomepage
path: root/tests/test_pkey.py
AgeCommit message (Collapse)Author
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
2017-11-29Merge branch '2.2' into 2.3Jeff Forcier
2017-11-29Test proving #1039 / efficacy of #1051Jeff Forcier
2017-10-23Import cleanup, mostly focused on s/tests/./Jeff Forcier
2017-10-23Rename util func that trips pytest's default discovery.Jeff Forcier
Wouldn't matter as much under pytest-relaxed discovery, but, eh
2017-09-22Comment re: cert testsJeff Forcier
2017-09-22Move cert tests & copies of related keys into separate folder.Jeff Forcier
This prevents non-cert-related tests from incidentally loading the certs, which was masking issues (re #1071)
2017-09-05Merge branch 'master' into 1026-intJeff Forcier
2017-08-28Python 3 fixes 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-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-07-28Move assertions outside of the open context managerMichal Kuffa