| Commit message (Expand) | Author | Age | Files | Lines |
| * | examples/echo/server.scm.in: Update copyright dates | Artyom V. Poptsov | 2015-02-22 | 1 | -1/+1 |
| * | examples/echo/server.scm.in (print-help): Rename•••* examples/echo/server.scm.in (print-help): Rename to
`print-help-and-exit'.
(main): Use it.
| Artyom V. Poptsov | 2015-02-22 | 1 | -7/+5 |
| * | examples/echo/client.scm.in (get-prvkey, main): Simplify checks | Artyom V. Poptsov | 2015-02-22 | 1 | -8/+5 |
| * | examples/echo/client.scm.in (print-help): Rename•••* examples/echo/client.scm.in (print-help): Rename to
`print-help-and-exit'.
(main): Use it. Remove extra checks.
| Artyom V. Poptsov | 2015-02-22 | 1 | -16/+8 |
| * | 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 | -1/+1 |
| * | 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 | -1/+1 |
| * | 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 | -2/+2 |
| * | 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 | -2/+3 |
| * | Merge branch 'master' into libssh06•••Conflicts:
ChangeLog
| Artyom Poptsov | 2014-05-31 | 1 | -2/+3 |
| |\ |
|
| | * | ssh/session.scm (bytevector->hex-string): New procedure.•••* ssh/session.scm (bytevector->hex-string): New procedure.
* examples/echo/client.scm.in (main): Use it.
* examples/sssh.scm.in (main): Use it.
| Artyom Poptsov | 2014-05-31 | 1 | -2/+3 |
| * | | examples/echo/client.scm.in (main): Remove public key.•••* examples/echo/client.scm.in (main): Public key is not needed
anymore, remove it.
(get-pubkey): Remove.
| Artyom Poptsov | 2014-05-30 | 1 | -11/+2 |
| |/ |
|
| * | examples/: Improve error handling on `server-accept'.•••* examples/ssshd.scm.in (main): Improve error handling on
`server-accept': Print exception key on exception, wait 1 second
before the second try to prevent flooding of the terminal with
errors.
* examples/echo/server.scm.in (main): Likewise.
* doc/api-servers.texi (Servers): Update description of
`server-accept'.
| Artyom Poptsov | 2014-03-23 | 1 | -2/+4 |
| * | ssh/auth.c: Remove username form parameter list of functions.•••* ssh/auth.c (guile_ssh_userauth_pubkey): Don't take a username as
an parameter. All callers updated.
(guile_ssh_userauth_password): Likewise.
* examples/ssshd.scm.in (handle-req-auth): Update.
* examples/echo/client.scm.in (main): Update.
* tests/client-server.scm ("userauth-password!, success")
("userauth-password!, denied", "userauth-password!, partial")
("userauth-pubkey!, success"): Update TCs.
* doc/api-auth.texi (Auth): Update documentation for
`userauth-pubkey!' and `userauth-password!'. Add a general note
about setting of a username.
* doc/version.texi: Update.
| Artyom Poptsov | 2014-03-22 | 1 | -1/+1 |
| * | examples/: Use actual path to Guile interpreter in the shebang.•••* examples/ssshd.scm: Rename to `examples/ssshd.scm.in'.
* examples/sssh.scm: Rename to `examples/sssh.scm.in'.
* examples/echo/client.scm: Rename to
`examples/echo/client.scm.in'.
* examples/echo/server.scm: Rename to
`examples/echo/server.scm.in'.
* examples/Makefile.am: Substitute `@GUILE@' with the actual path
to Guile interpreter in *.in files.
* NEWS: Update.
| Artyom Poptsov | 2014-03-01 | 2 | -2/+4 |
| * | server-func.c (server-accept): Throw `guile-ssh-error' on error.•••* ssh/server-func.c (server-accept): Throw `guile-ssh-error' on
error.
* examples/ssshd.scm (main): Handle `guile-ssh-error' on
`server-accept'.
* examples/echo/server.scm (main): Likewise.
* doc/api-servers.texi (Servers): Update `server-accept'
documentation. Add an example.
* NEWS: Update.
| Artyom Poptsov | 2014-03-01 | 1 | -43/+53 |
| * | src/server-func.c (set_option): Use symbols for `log-verbosity'.•••* src/server-func.c (set_option) [SSH_BIND_OPTIONS_LOG_VERBOSITY]:
Use symbols to represent log levels instead of numbers. All
callers updated.
(set_sym_opt): New procedure.
* src/session-func.c: Move `log_verbosity' to `common.c' file.
* src/common.c, src/common.h: Update.
* examples/echo/server.scm (*default-log-verbosity*): Set to 'nolog.
* examples/ssshd.scm (*default-log-verbosity*): Likewise.
* NEWS: Update.
| Artyom Poptsov | 2014-01-28 | 1 | -1/+1 |
| * | session-func.c (set_option): Use symbols for `log-verbosity'.•••* src/session-func.c (set_option)[SSH_OPTIONS_LOG_VERBOSITY]: Use
symbols to represent log levels instead of numbers. All callers
updated.
(set_sym_opt): New procedure.
* examples/echo/client.scm (main): Set log verbosity to `nolog'.
* examples/sssh.scm (main): Update.
* NEWS: Update.
| Artyom Poptsov | 2014-01-28 | 1 | -1/+1 |
| * | examples/echo/client.scm (main): Print MD5 sum.•••* examples/echo/client.scm (main): Print MD5 sum if the server is
not known.
| Artyom Poptsov | 2014-01-27 | 1 | -1/+3 |
| * | examples/echo/client.scm: Improve. | Artyom Poptsov | 2014-01-22 | 1 | -23/+24 |
| * | examples/echo/server.scm (main): Add `--port' option. Improve.•••* examples/echo/server.scm (print-help): Update.
(main): Add `--port' option. Print RSA/DSA key pathes and current
bind port on the start.
| Artyom Poptsov | 2014-01-22 | 1 | -5/+10 |
| * | examples/echo/{server,client}.scm (read-all): Fix a bug.•••* examples/echo/server.scm (read-all): Fix a bug: return the first
read line if there is no more data to read.
* examples/echo/client.scm (read-all): Likewise.
| Artyom Poptsov | 2014-01-20 | 2 | -4/+4 |
| * | examples/echo/server.scm: Handle command-line options.•••* examples/echo/server.scm (print-help): New procedure.
(main): Handle command-line options.
| Artyom Poptsov | 2014-01-20 | 1 | -57/+86 |
| * | examples/echo/{client,server}.scm: Update comments.•••* examples/echo/client.scm: Update comments.
* examples/echo/server.scm: Likewise.
| Artyom Poptsov | 2014-01-07 | 2 | -2/+48 |
| * | examples/echo/{client,server}.scm: Update.•••* examples/echo/server.scm (read-all): New procedure.
(main): Update. Catch exceptions. Use `write-line' instead of
`display'.
* examples/echo/client.scm (read-all): New procedure.
(main): Update. Use `char-ready?' instead of `channel-poll'. Use
`write-line' instead of `display'.
| Artyom Poptsov | 2014-01-07 | 2 | -16/+33 |
| * | src/channel-type.c (ptob_input_waiting): Implement the procedure.•••* src/channel-type.c (ptob_input_waiting): Call `ssh_channel_poll'.
(init_channel_type): Register callback with
`scm_set_port_input_waiting' procedure.
* examples/echo/server.scm (main): Use `char-ready?' predicate
instead of the custom procedure `channel-poll'.
| Artyom Poptsov | 2014-01-04 | 1 | -4/+4 |
| * | src/channel-type.c (ptob_close): New procedure.•••* src/channel-type.c (ptob_close): New procedure.
(print_channel): Don't try to get state of a channel if its port
is closed because it leads to segfaults. Closed port means closed
channel.
(init_channel_type): Register `ptob_close' with
`scm_set_port_close'.
* examples/echo/client.scm (main): Call `close' on a channel.
* examples/echo/server.scm (main): Likewise.
| Artyom Poptsov | 2014-01-04 | 2 | -5/+6 |
| * | Use Guile port API to implement Guile-SSH channels.•••* src/channel-func.c (guile_ssh_channel_read)
(guile_ssh_channel_write): Remove.
* src/channel-func.h (guile_ssh_channel_read): Remove.
* src/channel-type.c (ptob_fill_input, ptob_write, ptob_flush)
(ptob_input_waiting, _ssh_channel_to_scm): New procedures.
(guile_ssh_make_channel): Use `_ssh_channel_to_scm'.
(_scm_to_ssh_channel): Use `SCM_STREAM' macro.
(init_channel_type): Register Guile port callbacks.
* src/channel-type.h (_ssh_channel_to_scm): Export.
* src/channel.scm (channel-read, channel-write): Remove.
* src/message-func.c
(guile_ssh_message_channel_request_open_reply_accept): Use
`_ssh_channel_to_scm'.
* examples/echo: Add to the repository.
* examples/Makefile.am: Add echo server/client example.
* examples/README: Update.
* examples/sssh.scm: Update.
* README: Update.
| Artyom Poptsov | 2014-01-02 | 2 | -0/+289 |