| Commit message (Expand) | Author | Age | Files | Lines |
| ... | |
| | * | | | | | | | ssh/auth.c: Throw `wrong-type-arg' instead of `guile-ssh-error'•••* ssh/auth.c: Throw `wrong-type-arg' instead of `guile-ssh-error' if a
disconnected session is passed as an argument to procedures in the
module.
* ssh/session-type.h (GSSH_VALIDATE_CONNECTED_SESSION): New macro.
* doc/api-auth.texi (Auth): Update.
| Artyom Poptsov | 2014-07-07 | 1 | -0/+8 |
| | * | | | | | | | ssh/auth.c: Handle disconnected sessions•••* ssh/auth.c (guile_ssh_userauth_public_key_x)
(guile_ssh_userauth_public_key_auto_x)
(guile_ssh_userauth_public_key_try, guile_ssh_userauth_agent_x)
(guile_ssh_userauth_password_x, guile_ssh_userauth_none_x)
(guile_ssh_userauth_get_list): Throw `guile-ssh-error' if the session
is not connected.
* doc/api-auth.texi (Auth): Update.
* NEWS: Update.
| Artyom Poptsov | 2014-07-06 | 1 | -0/+9 |
| | * | | | | | | | ssh/*.c: Improve the docstrings format•••* ssh/auth.c, ssh/channel-func.c, ssh/channel-type.c, ssh/key-func.c,
ssh/key-type.c, ssh/log.c, ssh/message-func.c, ssh/message-type.c,
ssh/server-func.c, ssh/session-type.c, ssh/version.c: Improve the
docstrings format.
| Artyom Poptsov | 2014-07-06 | 1 | -0/+7 |
| | | |_|_|_|_|/
| |/| | | | | |
|
| | * | | | | | | tests/client-server.scm: Improve logging•••* tests/client-server.scm: Improve logging: Redirect stderr to
`client-server-errors.log' file. Redirect libssh log messages to
`client-server-libssh.log' file. Set more verbose log level for
sessions. Use `test-assert-with-log' macro instead of `test-assert'.
(libssh-log-printer): New procedure.
(test-assert-with-log): New macro.
* tests/Makefile.am (CLEANFILES): Add log files.
* .dir-locals.el: Update.
| Artyom Poptsov | 2014-07-03 | 1 | -0/+9 |
| | * | | | | | | ssh/log.c (guile_ssh_write_log): Fix a warning•••* ssh/log.c (guile_ssh_write_log): Fix a warning: Pass the message as
a argument to the formatter.
| Artyom Poptsov | 2014-07-03 | 1 | -0/+5 |
| | * | | | | | | README (Distribution): Add information about `log.scm' | Artyom Poptsov | 2014-07-02 | 1 | -0/+2 |
| | * | | | | | | Merge branch 'logging-improvement'•••Conflicts:
ChangeLog
doc/version.texi
| Artyom Poptsov | 2014-07-02 | 1 | -0/+26 |
| | |\ \ \ \ \ \ |
|
| | | * | | | | | | ssh/log.c (guile_ssh_default_libssh_log_printer): Don't print the function name•••* ssh/log.c (guile_ssh_default_libssh_log_printer): Don't print the
function name because it is already included in the message passed to
the callback.
| Artyom Poptsov | 2014-07-02 | 1 | -0/+4 |
| | | * | | | | | | ssh/log.scm (format-log): New procedure•••* ssh/log.scm (format-log): New procedure.
* ssh/log.c: Add copyright information.
(guile_ssh_write_log): New procedure.
* doc/api-logging.texi (Logging): Add information about `format-log'
procedure.
| Artyom Poptsov | 2014-07-02 | 1 | -0/+4 |
| | | * | | | | | | ssh/log.c: Add copyright information | Artyom Poptsov | 2014-07-02 | 1 | -0/+4 |
| | | * | | | | | | ssh/log.scm: New module•••* doc/api-logging.texi: Add to the repository.
* doc/guile-ssh.texi (API Reference): Add description of logging API.
* doc/version.texi: Update.
* doc/Makefile.am (guile_ssh_TEXINFOS): Add `api-logging.texi'.
* ssh/log.c, ssh/log.h, ssh/log.scm: Add to the repository.
* ssh/Makefile.am (libguile_ssh_la_SOURCES, BUILT_SOURCES)
(SCM_SOURCES): Update.
* ssh/auth.scm, ssh/channel.scm, ssh/key.scm, ssh/message.scm,
ssh/server.scm, ssh/session.scm, ssh/version.scm: Use (ssh log).
* tests/log.scm: New TS.
* tests/Makefile.am (SCM_TESTS): Add `log.scm'.
* NEWS: Update.
| Artyom Poptsov | 2014-06-28 | 1 | -0/+15 |
| | | | |_|_|_|/
| | |/| | | | |
|
| | * / | | | | | ssh/session-func.c (guile_ssh_blocking_flush): Fix error handling•••* ssh/session-func.c (guile_ssh_blocking_flush): Return `error' symbol
on error. Assert that the result of libssh procedure is one of the
valid constants described in `libssh.h'.
(guile_ssh_connect_x, guile_ssh_authenticate_server): Likewise.
* doc/api-sessions.texi (Sessions): Update.
* NEWS: Update.
| Artyom Poptsov | 2014-06-29 | 1 | -0/+9 |
| | |/ / / / / |
|
| | * | | | | | ssh/error.c (guile_ssh_session_error1): New procedure•••* ssh/error.c (guile_ssh_session_error1): New procedure.
* ssh/error.h: Likewise.
* ssh/channel-func.c (guile_ssh_channel_open_session)
(guile_ssh_channel_request_exec, guile_ssh_channel_request_pty)
(guile_ssh_channel_request_shell, guile_ssh_channel_request_env): Use it.
* ssh/channel-type.c (ptob_write, ptob_flush): Use it.
* ssh/server-func.c (guile_ssh_server_accept)
(guile_ssh_server_handle_key_exchange): Use it.
* ssh/session-func.c (guile_ssh_connect_x)
(guile_ssh_authenticate_server, guile_ssh_write_known_host): Use it.
| Artyom Poptsov | 2014-06-22 | 1 | -0/+11 |
| | * | | | | | ssh/*-type.c: Rename `_scm_to_ssh_<type>' procedures•••* ssh/channel-type.c (_scm_to_ssh_channel): Rename to
`_scm_to_channel_data'. All callers updated.
* ssh/channel-type.h: Likewise.
* ssh/channel-func.c (guile_ssh_channel_open_session)
(guile_ssh_channel_request_exec, guile_ssh_channel_request_pty)
(guile_ssh_channel_request_shell, guile_ssh_channel_request_env)
(guile_ssh_channel_set_pty_size_x, guile_ssh_channel_set_stream_x)
(guile_ssh_channel_get_stream, guile_ssh_channel_is_open_p)
(guile_ssh_channel_is_eof_p): Update.
* ssh/key-type.c (_scm_to_ssh_key): Rename to `_scm_to_key_data'. All
callers updated.
* ssh/key-type.h: Likewise.
* ssh/key-func.c (guile_ssh_public_key_to_string)
(guile_ssh_public_key_from_private_key)
(guile_ssh_get_public_key_hash): Update.
* ssh/message-type.c (_scm_to_ssh_message): Rename to
`_scm_to_message_data'. All callers updated.
* ssh/message-type.h: Likewise.
* ssh/message-func.c (guile_ssh_message_reply_default)
(guile_ssh_message_service_reply_success)
(guile_ssh_message_auth_reply_success)
(guile_ssh_message_auth_reply_public_key_ok)
(guile_ssh_message_channel_request_reply_success)
(guile_ssh_message_channel_request_open_reply_accept)
(guile_ssh_message_get_type, guile_ssh_message_get_req)
(guile_ssh_message_auth_set_methods_x): Update.
* ssh/server-type.c (_scm_to_ssh_server): Rename to
`_scm_to_server_data'. All callers updated.
* ssh/server-type.h: Likewise.
* ssh/server-func.c (guile_ssh_server_set_x, guile_ssh_server_listen)
(guile_ssh_server_accept, guile_ssh_server_handle_key_exchange)
(guile_ssh_server_message_get): Update.
* ssh/session-type.c (_scm_to_session_data): Rename to
`_scm_to_session_data'. All callers updated.
* ssh/session-type.h: Likewise.
* ssh/session-func.c (guile_ssh_blocking_flush, guile_ssh_session_set)
(guile_ssh_session_get, guile_ssh_connect_x, guile_ssh_disconnect)
(guile_ssh_get_protocol_version, guile_ssh_get_error)
(guile_ssh_authenticate_server, guile_ssh_get_server_public_key)
(guile_ssh_write_known_host, guile_ssh_is_connected_p): Update.
* ssh/auth.c (guile_ssh_userauth_public_key_x)
(guile_ssh_userauth_public_key_auto_x)
(guile_ssh_userauth_public_key_try, guile_ssh_userauth_agent_x)
(guile_ssh_userauth_password_x, guile_ssh_userauth_none_x)
(guile_ssh_userauth_get_list): Update.
| Artyom Poptsov | 2014-06-22 | 1 | -0/+47 |
| | * | | | | | Improve printing of Guile-SSH objects•••* ssh/session-type.c (print_session): New procedure.
(init_session_type): Register `print_session' callback.
* ssh/channel-type.c (print_channel): Print object address.
* ssh/message-type.c (print_message): Likewise.
* ssh/key-type.c (print_key): Likewise.
* ssh/common.c (_scm_object_hex_address): New procedure.
* ssh/common.h (_scm_object_hex_address): Likewise.
* NEWS: Update.
| Artyom Poptsov | 2014-06-22 | 1 | -0/+9 |
| | * | | | | | ssh/session.scm (session-get): New procedure•••* ssh/session-func.c (guile_ssh_session_get): New procedure.
* ssh/session-func.h (guile_ssh_session_get): Likewise.
* ssh/session.scm (session-get): New procedure.
* tests/session.scm ("session-get"): New TC.
* doc/api-sessions.texi (Sessions): Add description of `session-get'
procedure.
* NEWS: Update.
| Artyom Poptsov | 2014-06-22 | 1 | -0/+10 |
| | | |_|_|/
| |/| | | |
|
| | * | | | | tests/client-server.scm (spawn-server-thread): Catch all exceptions•••* tests/client-server.scm (spawn-server-thread): Catch all exceptions
to fix the "Error while printing of exception" during the tests.
* tests/server-client.scm (spawn-client-thread): Likewise.
| Artyom Poptsov | 2014-06-21 | 1 | -0/+4 |
| | * | | | | ssh/channel-type.c (print_channel): Use `SCM_OPPORTP' predicate | Artyom Poptsov | 2014-06-21 | 1 | -0/+4 |
| | * | | | | doc/guile-ssh.texi (Installation): Update•••* doc/guile-ssh.texi (Installation): Update URLs to Guile-SSH
repository. Require libssh 0.6.3.
* NEWS: Update.
| Artyom Poptsov | 2014-06-20 | 1 | -0/+4 |
| | | |_|/
| |/| | |
|
| * | | | | Merge branch 'master' into port-forwarding•••Conflicts:
ChangeLog
NEWS
| Artyom Poptsov | 2014-06-20 | 1 | -0/+13 |
| |\| | | |
|
| | * | | | tests/client-server.scm: Add TCs for `authenticate-server'•••* tests/client-server.scm ("authenticate-server, not-known")
("authenticate-server, ok"): New TCs.
* NEWS: Update.
| Artyom Poptsov | 2014-06-20 | 1 | -0/+4 |
| | * | | | doc/guile-ssh.texi: Improve the "Examples" chapter•••* doc/guile-ssh.texi: Add an overview of programming with Guile-SSH to
the "Examples" chapter.
* doc/examples.texi: Add to the repository.
* doc/Makefile.am (guile_ssh_TEXINFOS): Add `examples.texi'.
* doc/version.texi: Update.
* NEWS: Update.
| Artyom Poptsov | 2014-06-20 | 1 | -0/+7 |
| | * | | | .dir-locals.el: Add to the repository | Artyom Poptsov | 2014-06-20 | 1 | -0/+4 |
| * | | | | ssh/channel.scm: Don't export primitive procedures•••* ssh/channel.scm (%channel-open-forward)
(%channel-open-forward/reverse): Don't export primitive procedures.
* doc/api-channels.texi (Channels): Update.
* NEWS: Update.
| Artyom Poptsov | 2014-06-20 | 1 | -0/+7 |
| * | | | | doc/api-channels.texi (Channels): Add subsection on port forwarding | Artyom Poptsov | 2014-06-15 | 1 | -0/+2 |
| * | | | | ssh/channel.scm: Improve forwarding procedures•••* ssh/channel-func.c (channel-open-forward): Rename to
`%channel-open-forward'. Rename arguments.
(channel-open-reverse-forward): Rename to
`%channel-open-forward/reverse'. Rename arguments.
* ssh/channel.scm (channel-open-forward): Rename to
`%channel-open-forward'.
(channel-open-reverse-forward): Rename to
`%channel-open-forward/reverse'.
(channel-open-forward, channel-open-forward/reverse): New procedures.
| Artyom Poptsov | 2014-06-15 | 1 | -0/+10 |
| * | | | | Merge branch 'master' into port-forwarding | Artyom Poptsov | 2014-06-15 | 1 | -0/+22 |
| |\| | | |
|
| | * | | | ssh/message-func.c (get_auth_req): Fix a bug•••* ssh/message-func.c (get_auth_req): Fix a bug with assignment of
`ssh_public_key' type to `ssh_key' variable: Use
`ssh_message_auth_pubkey' instead of `ssh_message_auth_publickey' to
get the key.
| Artyom Poptsov | 2014-06-15 | 1 | -0/+5 |
| | * | | | ssh/message-func.c: Fix warnings•••* ssh/message-func.c (get_auth_req, get_pty_req, get_env_req)
(get_exec_req, get_global_req, get_service_req, get_channel_open_req):
Fix warnings: Add `const' qualifier where it is needed.
| Artyom Poptsov | 2014-06-15 | 1 | -0/+6 |
| | | |/
| |/| |
|
| | * | | key-func.c (guile_ssh_private_key_from_file): Remove `session' parameter•••* ssh/key-func.c (guile_ssh_private_key_from_file): Remove `session'
parameter. All callers updated.
* doc/api-keys.texi (Keys): Update description of
`private-key-from-file'.
* examples/echo/client.scm.in (get-prvkey): Update.
* tests/key.scm ("private-key-from-file"): Update.
* tests/client-server.scm ("userauth-public-key!, success"): Update.
* NEWS: Update.
| Artyom Poptsov | 2014-06-06 | 1 | -0/+11 |
| | |/ |
|
| * | | Merge branch 'master' into port-forwarding•••Conflicts:
ChangeLog
| Artyom Poptsov | 2014-06-01 | 1 | -0/+70 |
| |\| |
|
| | * | tests/key.scm: New test suite•••* tests/key.scm: New test suite.
* tests/Makefile.am (SCM_TESTS): Add `key.scm'.
(EXTRA_DIST): Add `dsakey.pub', `ecdsakey', `ecdsakey.pub',
`rsakey.pub'.
* tests/dsakey.pub, tests/ecdsakey, tests/ecdsakey.pub,
tests/rsakey.pub: New files
* NEWS: Update.
| Artyom Poptsov | 2014-06-01 | 1 | -0/+8 |
| | * | key-type.c: Add information about a bug with key predicates•••* ssh/key-type.c: Add information about a bug with private/public
key predicates.
| Artyom Poptsov | 2014-06-01 | 1 | -3/+5 |
| | * | key-type.c (guile_ssh_is_{public,private}_key_p): Fix a bug•••* ssh/key-type.c (guile_ssh_is_public_key_p)
(guile_ssh_is_private_key_p): Fix a bug: Return `#f' if the
argument is not a Guile-SSH key object.
* NEWS: Update.
| Artyom Poptsov | 2014-06-01 | 1 | -0/+5 |
| | * | ssh/key-func.c (guile_ssh_public_key_from_file): Fix a bug•••* ssh/key-func.c (guile_ssh_public_key_from_file): Fix a bug:
Require only one argument.
| Artyom Poptsov | 2014-06-01 | 1 | -0/+3 |
| | * | ssh/auth.c: Rename some procedures•••* ssh/auth.c (guile_ssh_userauth_pubkey): Rename to
`guile_ssh_userauth_public_key_x'. All callers updated.
(guile_ssh_userauth_pubkey_auto_x): Rename to
`guile_ssh_userauth_public_key_auto_x'. All callers updated.
(guile_ssh_userauth_password): Rename to
`guile_ssh_userauth_password_x'. All callers updated.
(guile_ssh_userauth_public_key_try): New procedure.
* ssh/auth.h, ssh/auth.scm: Update.
* examples/echo/client.scm.in (main): Update.
* examples/sssh.scm.in (main): Update.
* tests/client-server.scm ("userauth-pubkey!, success"): Rename to
"userauth-public-key!, success". Update.
* doc/api-auth.texi (Auth): Update. Add description of
`userauth-public-key/try' and `userauth-agent!' procedures.
* NEWS: Update.
| Artyom Poptsov | 2014-06-01 | 1 | -0/+16 |
| | * | examples/echo/client.scm.in (main): Fix a bug•••* examples/echo/client.scm.in (main): Fix a bug: Print fingerprint
as a MD5 hex string.
| Artyom Poptsov | 2014-06-01 | 1 | -0/+3 |
| | * | ssh/key.scm (string->public-key): New procedure•••* ssh/key.scm (string->public-key): New procedure.
* ssh/key-func.c (guile_ssh_string_to_public_key): New procedure.
* ssh/key-func.h: Likewise.
* doc/api-keys.texi (Keys): Add description of
`string->public-key'.
| Artyom Poptsov | 2014-06-01 | 1 | -0/+6 |
| | * | key-type.h (_ssh_key_type_to_scm, _scm_to_ssh_key_type): New procedures•••* ssh/key-type.c (scm_from_ssh_key_type): Rename to
`_ssh_key_type_to_scm'. Make it public.
(_scm_to_ssh_key_type): New procedure.
* ssh/key-type.h (_ssh_key_type_to_scm, _scm_to_ssh_key_type):
Export.
| Artyom Poptsov | 2014-06-01 | 1 | -0/+7 |
| | * | ssh/key-type.c (key_types): New structure•••* ssh/key-type.h (key_types): Export structure.
* ssh/key-type.c (key_types): New structure.
(scm_from_ssh_key_type): Use `_ssh_const_to_scm'.
* ssh/key-func.c (key_types): Rename to `hash_types'.
(guile_ssh_get_public_key_hash): Update.
| Artyom Poptsov | 2014-06-01 | 1 | -0/+6 |
| | * | ssh/key-type.h (KEY_TYPE): Remove | Artyom Poptsov | 2014-06-01 | 1 | -0/+4 |
| | * | ssh/key-type.h (key_data): Remove `key_type' field•••* ssh/key-type.h (key_data): Remove `key_type' field.
* ssh/key-func.c (guile_ssh_public_key_from_private_key): Update.
* ssh/message-func.c (get_auth_req): Update.
| Artyom Poptsov | 2014-05-31 | 1 | -0/+5 |
| | * | ssh/base64.{c,h}: Remove•••* ssh/base64.c, ssh/base64.h: Remove the files because we don't
need a custom base64 converter anymore.
* ssh/key-func.c: Don't include `base64.h'.
* ssh/Makefile.am (libguile_ssh_la_SOURCES): Update.
| Artyom Poptsov | 2014-05-31 | 1 | -0/+5 |
| * | | ssh/channel.scm: Add procedures for TCP/IP forwarding•••* ssh/channel-func.c (_ssh_result_to_symbol): New procedure.
(guile_ssh_channel_open_forward, channel-open-reverse-forward)
(guile_ssh_channel_cancel_forward): New procedures.
* ssh/channel.scm (channel-open-forward)
(channel-open-reverse-forward, channel-cancel-forward): New
procedures.
| Artyom Poptsov | 2014-05-31 | 1 | -0/+7 |
| |/ |
|
| * | Use new libssh 0.6 API for handling of public key fingerprints•••Use new libssh 0.6 API for handling of public key fingerprints.
Update TCs and documentation.
* examples/sssh.scm.in (main): Update.
* examples/echo/client.scm.in (main): Update.
* ssh/session-func.c (guile_ssh_get_server_public_key): New
procedure.
(guile_ssh_get_public_key_hash): Change arguments. Move to
`ssh/key-func.c'. All callers updated.
* ssh/session.scm (bytevector->hex-string): Move to `ssh/key.scm'.
(get-server-public-key): New procedure.
* ssh/key-func.c (guile_ssh_get_public_key_hash): New procedure.
* ssh/key.scm (get-public-key-hash, bytevector->hex-string): New
procedures.
* tests/client-server.scm ("get-public-key-hash"): Check md5 and
sha1 fingerprints.
* doc/api-sessions.texi (Sessions): Add documentation for
`get-server-public-key'. Move `get-public-key-hash',
`bytevector->hex-string' to `doc/api-keys.texi'.
* doc/api-keys.texi (Keys): Update.
* NEWS: Update.
| Artyom Poptsov | 2014-05-31 | 1 | -0/+21 |
| * | Merge branch 'master' into libssh06 | Artyom Poptsov | 2014-05-31 | 1 | -0/+2 |
| |\ |
|
| | * | ssh/session-func.c (guile_ssh_get_public_key_hash): Cleanup. | Artyom Poptsov | 2014-05-31 | 1 | -0/+2 |
| * | | Merge branch 'master' into libssh06 | Artyom Poptsov | 2014-05-31 | 1 | -0/+4 |
| |\| |
|
| | * | tests/client-server.scm ("userauth-get-list"): Call `userauth-none!'•••* tests/client-server.scm ("userauth-get-list"): Fix a bug: Call
`userauth-none!' first to get list of allowed authentication
methods from the server.
| Artyom Poptsov | 2014-05-31 | 1 | -0/+4 |
| * | | Merge branch 'master' into libssh06•••Conflicts:
ChangeLog
| Artyom Poptsov | 2014-05-31 | 1 | -0/+29 |
| |\| |
|