From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: poptsov.artyom@gmail.com (Artyom V. Poptsov) Newsgroups: gmane.lisp.guile.user Subject: [ANN] Guile-SSH 0.14.0 released Date: Mon, 20 Dec 2021 21:48:23 +0300 Message-ID: <87k0fz5czs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3685"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: Guile Users' Mailing List Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Dec 20 20:56:24 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mzOlj-0000hK-VK for guile-user@m.gmane-mx.org; Mon, 20 Dec 2021 20:56:24 +0100 Original-Received: from localhost ([::1]:52730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzOli-0006Ix-Qg for guile-user@m.gmane-mx.org; Mon, 20 Dec 2021 14:56:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzNi3-00022X-8D for guile-user@gnu.org; Mon, 20 Dec 2021 13:48:31 -0500 Original-Received: from [2a00:1450:4864:20::12c] (port=39507 helo=mail-lf1-x12c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzNi0-0003rY-TL for guile-user@gnu.org; Mon, 20 Dec 2021 13:48:30 -0500 Original-Received: by mail-lf1-x12c.google.com with SMTP id bp20so8136223lfb.6 for ; Mon, 20 Dec 2021 10:48:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=G7g2xbxqh7tvPSW3xEkS0qGprC/OYd+YcwA6+SrI8vE=; b=Ar8XGRFuX9fJhGTW7uHhLq3g2ZAMoskBvT7SDR1tUqMGTwA3xQ0MBArcIEoT6Isbj8 OGK2ANgfGfmEB0FbaKp75F6JvFymrCTvZAGSTiHWewayGQZurVCESk2yHdehlre7XoZD YQwU5KzjIalUbvKPejr0GSwjcSiMjFN/RLNpHxubd0p7LIAPoiPtb/fpj+H0/E4Uq7ps m8wAQQX98ygSLMICUoS5gCYsj2uOIpc2+QEjq5POUIXtTzoz9soObyrqFecQKzC+3Ag/ 0zvEt8P2TZ2IHS+8zBZWz1sxK9CcEaFunPP3FCnFBcQykRL5bhbtZoR7MSm24efIa4a0 fGMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=G7g2xbxqh7tvPSW3xEkS0qGprC/OYd+YcwA6+SrI8vE=; b=NOsqP3tcdJqu+r40AHIwF15b9Rarg3u8hX76cu9b4Pa+ZLv0DEtm50MSeRWQ51Q7Ri 2WFacxogYnspZ8QVN1N330ZoVq5GDvFuWDazHV1Y1ne1KRE7Ib2rGMYwV9+ekc4wXJF2 4Cl6HK2XptOGU0cI0JRS4ZiFskd9kUPVZVyL4n/rw7KAS8N2c4VybWPnWT2tMrkayIPf w94oij6c65Em/KeWhn4P4nrCZuYEJ/drRBCjHc8h6dUoxQ8fAWaWb2LTQ2OTwz0TwQ3X IjhN5N0zrLfIwEJS5T78IKyRSJlgO9NMwa0gBKLPttMkw/+jnmvrhyR7zhFzuJQBkSDE N+mQ== X-Gm-Message-State: AOAM530bY9MtDnRf2Rf6L6m5vj/7FjVr2kqCiVvK0yTyBk4xJBBTXBPn tJNUccbtBv9btiK0tgo732Flk5ytuEY= X-Google-Smtp-Source: ABdhPJw3G6w1zOGIpRWv4CgqJ7ydahQ3EFgKd8Dtdsq01xla0sxxnCmDcuSmN/AADoqo0hlaJhOeKg== X-Received: by 2002:a05:6512:10c4:: with SMTP id k4mr1293237lfg.373.1640026105414; Mon, 20 Dec 2021 10:48:25 -0800 (PST) Original-Received: from elephant ([5.164.193.196]) by smtp.gmail.com with ESMTPSA id l14sm83024lfg.90.2021.12.20.10.48.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Dec 2021 10:48:24 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12c.google.com X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_DOTEDU=1.999 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17892 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Guilers, I'm pleased to announce Guile-SSH 0.14.0: https://github.com/artyom-poptsov/guile-ssh/releases/tag/v0.14.0 As usual, this release tag is signed with my GPG key[1]. There are lots of changes; please see the full list of the user-visible changes below. My tests of the new release have shown no errors, but I'm aware that some bugs may still be lurking inside so if you're a Guile-SSH user -- please test it and report me any errors; I'd appreciate it. * What is Guile-SSH? Guile-SSH is a library that provides access to the SSH protocol[2] for programs written in GNU Guile interpreter. It is built upon the libssh[3] library. Currently Guile-SSH provides the following features: - The API that is sufficient for building of standalone SSH clients and servers, or for embedding client/server functionality in your lispy Sch= eme applications. - Several authentication methods are supported, including password authentication, public key and SSH agent authentication methods. - Key management procedures: you can make key pairs, read keys from files, get key hashes, get public keys from private keys etc. DSS, RSA, RSA1 = and ECDSA (by means of OpenSSL) are supported. - Port forwarding procedures and high-level API for creating of SSH tunne= ls. - Distributed forms ('dist-map', 'distribute', ...) that allow to spread = the evaluation of Scheme code between remote hosts. Or you can just connect to a remote REPL from Scheme using 'with-ssh' procedure and evaluate so= me expressions. No special server needed on the remote side, just an SSH daemon and GNU Guile installed! - SFTP client API allows you to read and write remote files over the SSH protocol right from the Scheme code. - Remote popen API that allows you to make either input, output or bidirectional pipes to remote processes. - Detailed documentation in Texinfo format with examples included, even m= ore examples in 'examples' directory. - Procedures for interaction with SSH agents. * The list of user-visible changes Here's the list of user-visible changes (an excerpt from NEWS file): =2D-8<---------------cut here---------------start------------->8--- * Changes in version 0.14.0 (2021-12-20) ** API change: OpenSSH agent procedures are now in (ssh agent) Move agent procedures to (ssh agent) module from (ssh auth). The procedures are renamed and improved too. The current set of procedur= es provided by (ssh agent) is as follows: - ssh-agent-sock-get - ssh-agent-sock-set! - ssh-agent-start - ssh-agent-info The documentation is updated accordingly. ** API change: Remove 'sftp-init' from (ssh sftp) This procedure was not present in the module anyway, so this is more lik= e a bugfix though. If you need to call SFTP init, you can use low-level '%sftp-init' proced= ure (although this is discouraged.) ** Guile-SSH channels are now explicitly blocking by default ** Fix snarfing errors on Fedora GNU/Linux Guile-SSH would fail to find 'guile-snarf' script on Fedora GNU/Linux wh= en GNU Guile 2.2 installed because the snarfer installed as 'guile-snarf2.2= '. Now the problem is fixed. ** Fix random segfaults due to libssh logging The library would sometimes get segfaults due to libssh logging. Guile-SSH used to pass Guile objects to a libssh logging procedure as a opaque pointers, and some Guile objects didn't make it to the point when= an actual Scheme callback procedure called, GC'ted on the way. So when a Scheme logging callback tried to use its parameters, the parameters was freed already. Now Guile-SSH bypasses libssh logging altogether, calling a Scheme loggi= ng callback right away -- that provides more control over Scheme objects and allows to keep them from GC'ing. ** Fix "random" errors and segfaults in channels Guile-SSH would sometimes fail with segmentation faults and other errors when a remote side is abruptly closed the connection and the client side still tries to read data. Now in that situation reading a Guile-SSH channel results in EOF. ** Fix test failures due to 'primitive-fork' calls SRFI-64 doesn't really like tests that spawn new processes and try to do stuff after 'primitive-fork' without calling 'execle' (or similar) procedure: sometimes a test would fail even when all its test cases where successful. Now that should be fixed. ** Fix the tests for Guile 3.0.7 There are differences in REPL welcome message between Guile 3.0.7 and ol= der versions. Now this difference is handled properly. Reported by Ludovic Court=C3=A8s in ** Fix the tests for Guile 3.0.5 The test-runner object is now reset to #f when calling the 'test-end' procedure. See the commit de5d1a7f99b8e952b115237ebc29633062f99bb9 in Gu= ile (srfi-64: Reset test-runner-current if done) which introduced this chang= e. ** The Guile-SSH building process now less verbose ** Update documentation =2D-8<---------------cut here---------------end--------------->8--- Many thanks to all the people who helped me with bug reports, pull requests and other hints. I added all contributors to "AUTHORS" and "THANKS" files -- please let me know if I forgot to thank someone or if there any typos. =2D Artyom References: 1. https://pgp.mit.edu/pks/lookup?search=3D0x0898A02F&op=3Dindex 2. https://en.wikipedia.org/wiki/Secure_Shell 3. https://www.libssh.org/ =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmHAz/cACgkQ6cWi2QiY oC8mqgf+K21ikXKAi09JKJf2FzaCLRPvPi2wFjpkiN/VN1LDpWbuGeQH9TcGyzAY X3kd5ZNfzYi4bN5SF4OZST6oDnvJFc/++dndCG+KcnejRE7KBacc6/61LU0oaqkF Qs9hYKGTAlZj6QEpm34tKYKhGCcRkJlt8T8AzEVRFDoWsz6HxT+Zp+cyUlC7eVKG 9xWBcqmdwtetLYU02PATZXQLwGUXsHUFVQcMTF1WBKdPPJu7fqp0mUSuKRXKe1pf z4lJMXTPRq3+8A97s2coFrdnOPHnLFPlPU1iz9xZn6YfBdARCkTYxTdziL8R0SBb CwSbqSswI37a4zfxpAZP7VYbynK+EA== =cBrl -----END PGP SIGNATURE----- --=-=-=--