Skip to content

Commit 6f00294

Browse files
author
Pan
committed
Migrated session userauth_* functions to specific error handling code for exceptions, updated tests.
Migrated handshake and startup functions to error handling code. Added handshake in non-blocking mode test.
1 parent 85a2b68 commit 6f00294

File tree

4 files changed

+950
-2110
lines changed

4 files changed

+950
-2110
lines changed

Changelog.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ Changes
88
---------
99

1010
* Upgrade embedded ``libssh2`` in binary wheels to latest version plus enhancements.
11-
* Adds support for ECDSA host and client keys.
11+
* Adds support for ECDSA host keys.
1212
* Adds support for SHA-256 host key fingerprints.
1313
* Added SSH agent forwarding implementation.
1414
* Windows wheels switched to OpenSSL back end.
1515
* Windows wheels include zlib and have compression enabled.
1616
* Windows wheels no MAC and no encryption options enabled, same as posix wheels.
1717
* SCP functions now raise appropriate exception for all known libssh2 error codes.
18+
* ``ssh2.session.Session.disconnect`` now returns ``0`` on success and raises exceptions on errors.
19+
* All session ``userauth_*`` functions now raise specific exceptions.
1820

1921
Fixes
2022
-------

0 commit comments

Comments
 (0)