Skip to content

Commit 17aebb5

Browse files
PanPan
authored andcommitted
Updated password and public key from host auths to take both string types.
Updated tests. Updated embedded server
1 parent 52c7261 commit 17aebb5

File tree

7 files changed

+438
-358
lines changed

7 files changed

+438
-358
lines changed

embedded_server/authorized_keys

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOQrrFtUEF8owviZEAGHaitvHkmWg3Jyo+JF4i6CGIwXDDIuGIdCZK+dO7fyUHh72EW2Dt787okkXXx4dVWwmPzw0d/xE9ejkn9MCfYnA/tNBIEctDpnuXpiaIYDhxd9jRKVV+yppantFPTH4SR212HQYZBMXWM59aeNg/48OC8RlENyvJOo5kLeMCEza4ohiFylndeKlWVHHhC69fz63SeV2S8x2GJINKinmcjsH6actoGuZY2/iyzf7fdJhUgTI96GsyfvdESkzTFm/W5KQwgJqCZUt1tXupedkPHaUKN5ZTlc/dHdBWqwOFq1qgmUqrSwsXFGE0Fu7pFnK+JAvb
1+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEsAAs2ew1xYntiiBAb3oqs7UC2Qd2kQ/eF+6WqOjeTFjWGksybnFidV91MwLjHdPmioz/1SleZqSqcD0csBcUs6jqclDlJ2MX8ZjL0e8hFDYpepFPTkwB2D6e55DwK0GJefiHUda5fKaaCzMN69h/RoBYurV/Zxf4+kRUAt+A5RXBGe22BdMtKW30J9endU9qWP4QDWtFXxvOjWHuJc7M/MNP2qww4yBo4xcKTabr8TC9uL7RUh4hMWdiNZnlmwSICT6k9NkkcBbDEIW0SjEcUMRB/V0qQ/J5Jeb8Lea82wDDdcfKaOPmI8ST5WtjfqPkKd9sqVhsq0gcCKtFZv0r

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
author_email='22e889d8@opayq.com',
6464
description=('Python bindings for libssh2 based on Cython'),
6565
long_description=open('README.rst').read(),
66-
packages=find_packages('.'),
66+
packages=find_packages(
67+
'.', exclude=('embedded_server', 'embedded_server.*')),
6768
zip_safe=False,
6869
include_package_data=True,
6970
platforms='any',

ssh2/error_codes.c

Lines changed: 33 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/error_codes.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LIBSSH2CHANNEL_EAGAIN = error_codes._LIBSSH2CHANNEL_EAGAIN
2424
LIBSSH2_ERROR_EAGAIN = error_codes._LIBSSH2_ERROR_EAGAIN
2525
LIBSSH2_ERROR_AUTHENTICATION_FAILED = error_codes._LIBSSH2_ERROR_AUTHENTICATION_FAILED
2626
LIBSSH2_ERROR_SOCKET_RECV = error_codes._LIBSSH2_ERROR_SOCKET_RECV
27-
# LIBSSH2_SESSION_BLOCK_INBOUND = c_ssh2._LIBSSH2_SESSION_BLOCK_INBOUND
28-
# LIBSSH2_SESSION_BLOCK_OUTBOUND = c_ssh2._LIBSSH2_SESSION_BLOCK_OUTBOUND
27+
LIBSSH2_SESSION_BLOCK_INBOUND = c_ssh2._LIBSSH2_SESSION_BLOCK_INBOUND
28+
LIBSSH2_SESSION_BLOCK_OUTBOUND = c_ssh2._LIBSSH2_SESSION_BLOCK_OUTBOUND
2929
# LIBSSH2_CHANNEL_FLUSH_EXTENDED_DATA = c_ssh2._LIBSSH2_CHANNEL_FLUSH_EXTENDED_DATA
3030
# LIBSSH2_CHANNEL_FLUSH_ALL = c_ssh2._LIBSSH2_CHANNEL_FLUSH_ALL

0 commit comments

Comments
 (0)