Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test proving basic behavior of #18222.8 | Jeff Forcier | 2022-06-03 | 1 | -0/+18 |
| | |||||
* | Changelog re #1822, closes #1822 | Jeff Forcier | 2022-06-03 | 1 | -0/+7 |
| | |||||
* | split comment to lines | yoav | 2022-06-03 | 1 | -1/+2 |
| | |||||
* | Close socket on failure | yoav | 2022-06-03 | 1 | -0/+3 |
| | | | | | | | As mentioned in socket docs: "Sockets are automatically closed when they are garbage-collected, but it is recommended to close() them explicitly, or to use a with statement around them." Resolve #1126 | ||||
* | Skip tests requiring invoke if it's not installed | Michał Górny | 2022-06-03 | 1 | -1/+6 |
| | | | | | | Since invoke is an optional dependency and only one group of tests require it, skip them gracefully rather than failing if it's not present. | ||||
* | Fix broken unittesty skipTest in locale decorator | Jeff Forcier | 2022-06-03 | 1 | -3/+2 |
| | |||||
* | sftp tests: Replace unittest parts | Stanislav Levin | 2022-06-03 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | The original PR https://github.com/paramiko/paramiko/pull/992 introduced several tests for sftp functionality. These tests made use of unittest's stuff like `assertTrue` and `assertEqual` because at that moment the tests were grouped under the `unittest.TestCase`-based class (`SFTPTest`). Before PR merge `unittest.TestCase` was refactored out from sftp tests (667bd74b139ed86f9b261d3abf5b6042ba80920b) but PR was not updated. The sftp tests are marked with `slow` and that's why they are not failed in CI (slow tests are excluded by default). Fixes: https://github.com/paramiko/paramiko/issues/1941 Signed-off-by: Stanislav Levin <slev@altlinux.org> | ||||
* | Streamline default test name on Circle | Jeff Forcier | 2022-06-03 | 1 | -4/+4 |
| | |||||
* | Clarify SFTPClient.open() docs re: actual behavior of BufferedFile | Jeff Forcier | 2022-03-11 | 1 | -2/+2 |
| | | | | Closes #2000 | ||||
* | blacken | Jeff Forcier | 2022-02-25 | 1 | -1/+6 |
| | |||||
* | Comment and changelog re #1985 | Jeff Forcier | 2022-02-25 | 2 | -0/+7 |
| | |||||
* | Add six to `install_requires` | Sondre Lillebø Gundersen | 2022-02-25 | 1 | -1/+1 |
| | |||||
* | No idea why the lack of this blew up on circle but not locallyi-hate-my-life | Jeff Forcier | 2021-11-28 | 1 | -1/+1 |
| | | | | Probably the locales differ? sigh | ||||
* | Cut 2.8.12.8.1 | Jeff Forcier | 2021-11-28 | 2 | -1/+2 |
| | |||||
* | Fix changelog reference | Jeff Forcier | 2021-11-28 | 1 | -3/+3 |
| | |||||
* | Changelog format fix re #992 | Jeff Forcier | 2021-11-28 | 1 | -1/+1 |
| | |||||
* | Credit re #992 | Jeff Forcier | 2021-11-28 | 1 | -1/+1 |
| | |||||
* | Blacken code for #992 | Jeff Forcier | 2021-11-28 | 4 | -15/+22 |
| | |||||
* | Cleanup re #992 | Jeff Forcier | 2021-11-28 | 2 | -46/+7 |
| | | | | | | - remove apparently vestigial bits - remove Python 2.6 related bits - use pytest.skip instead of custom skip | ||||
* | Add changelog entry for #992 | Martin Packman | 2021-11-28 | 1 | -0/+4 |
| | |||||
* | Fix failure in listdir when server uses a locale | Martin Packman | 2021-11-28 | 3 | -12/+51 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Add new requireNonAsciiLocale test decorator | Martin Packman | 2021-11-28 | 1 | -0/+48 |
| | |||||
* | Expose Python 2.6 compatible test skip decorator | Martin Packman | 2021-11-28 | 1 | -1/+39 |
| | |||||
* | Changelog re #1024 | Jeff Forcier | 2021-11-28 | 1 | -0/+3 |
| | |||||
* | Catch TypeError and UnsupportedAlgorithm when using Cryptography to load ↵ | Jeff Forcier | 2021-11-28 | 2 | -4/+9 |
| | | | | | | | private key material Prior to this change, these exceptions bubble up as-is instead of becoming SSHException instances like most other key-loading errors | ||||
* | Changelog closes #1257, re #1266 | Jeff Forcier | 2021-11-28 | 1 | -0/+7 |
| | |||||
* | Tests proving #1257 | Jeff Forcier | 2021-11-28 | 1 | -1/+31 |
| | |||||
* | Patch missed RSAKey for some reason. Fixed. | Jeff Forcier | 2021-11-28 | 1 | -4/+3 |
| | |||||
* | Roll back ABC using kit from contributed patch | Jeff Forcier | 2021-11-28 | 1 | -6/+3 |
| | | | | | | - blew up good for me for reasons I don't entirely grok - also feels like too big of a change to do in a patch release - is not a critical piece of the bugfix - NotImplementedError is fine for now | ||||
* | Blacken patch. | Jeff Forcier | 2021-11-28 | 1 | -4/+4 |
| | |||||
* | Check all data on keys when comparing for equality | Josh Snyder | 2021-11-28 | 5 | -14/+29 |
| | | | | | This eliminates the possibility that a hash collision results in two PKey objects that == each other. | ||||
* | Enhance tests of existing/general key cmp/hash behavior | Jeff Forcier | 2021-11-28 | 1 | -0/+22 |
| | | | | Not sure why these were never explicitly tested | ||||
* | Pre-patch test proving security flaw re: 32bit key hash comparisons | Jeff Forcier | 2021-11-28 | 4 | -2/+49 |
| | |||||
* | basic alpine i386 dockerfile | Jeff Forcier | 2021-11-28 | 1 | -0/+10 |
| | |||||
* | Fix silly but apparently nonfatal dev-req self-install typo | Jeff Forcier | 2021-11-28 | 1 | -1/+1 |
| | |||||
* | Changelog re security flaw email, re #908 | Jeff Forcier | 2021-11-28 | 1 | -0/+24 |
| | |||||
* | Blacken for hostkeys fix | Jeff Forcier | 2021-11-28 | 1 | -4/+4 |
| | |||||
* | test_hostkeys: test SubDict.__delitem__() | Lans Zhang | 2021-11-28 | 1 | -0/+17 |
| | | | | | | | 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> | ||||
* | hostkeys: fix raising KeyError in SubDict.__delitem__() | Lans Zhang | 2021-11-28 | 1 | -0/+1 |
| | | | | | | | If the specified key type is found out, the exception KeyError should not happen. Signed-off-by: Lans Zhang <jia.zhang@windriver.com> | ||||
* | Merge branch '2.7' into 2.8 | Jeff Forcier | 2021-10-15 | 1 | -4/+6 |
|\ | |||||
| * | Merge branch '2.6' into 2.72.7 | Jeff Forcier | 2021-10-15 | 1 | -4/+6 |
| |\ | |||||
| | * | Merge branch '2.5' into 2.62.6 | Jeff Forcier | 2021-10-15 | 1 | -4/+6 |
| | |\ | |||||
| | | * | Enhance language around SSHClient.close()2.5 | Jeff Forcier | 2021-10-15 | 1 | -4/+6 |
| | | | | |||||
* | | | | blacken | Jeff Forcier | 2021-10-09 | 1 | -2/+4 |
| | | | | |||||
* | | | | Cut 2.8.02.8.0 | Jeff Forcier | 2021-10-09 | 2 | -1/+2 |
| | | | | |||||
* | | | | Nix travis from tasks | Jeff Forcier | 2021-10-09 | 1 | -3/+0 |
| | | | | |||||
* | | | | Classify bug as major in case I don't cut a bugfix for 2.7 | Jeff Forcier | 2021-10-09 | 1 | -2/+2 |
| | | | | |||||
* | | | | For some reason :rfc: blows up where :rfc-reference: does not | Jeff Forcier | 2021-10-09 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only when running as part of my fullstack release task, specifically when I load up sphinx+releases to parse the changelog. Makes no sense at all but no time to really dig more... | ||||
* | | | | Massage upstream 'release.all' task too re: custom publish | Jeff Forcier | 2021-10-09 | 1 | -5/+10 |
| | | | | |||||
* | | | | Less confusing name of overriding task please | Jeff Forcier | 2021-10-08 | 1 | -2/+2 |
| | | | |