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.15.0 released Date: Mon, 03 Jan 2022 11:12:03 +0300 Message-ID: <87r19p44rw.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="21119"; 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 Jan 03 09:12:45 2022 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 1n4IST-0005M1-K7 for guile-user@m.gmane-mx.org; Mon, 03 Jan 2022 09:12:45 +0100 Original-Received: from localhost ([::1]:47062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4ISR-0005Jq-PQ for guile-user@m.gmane-mx.org; Mon, 03 Jan 2022 03:12:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4IRu-0005JR-Qu for guile-user@gnu.org; Mon, 03 Jan 2022 03:12:10 -0500 Original-Received: from [2a00:1450:4864:20::134] (port=43996 helo=mail-lf1-x134.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4IRs-0001ht-PU for guile-user@gnu.org; Mon, 03 Jan 2022 03:12:10 -0500 Original-Received: by mail-lf1-x134.google.com with SMTP id i31so73426638lfv.10 for ; Mon, 03 Jan 2022 00:12:08 -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=vYn3SYAGXTB65pQgAms0noNdFFdOYPxCUkRQ9JuwzVs=; b=fOXzaO+nkyvJLKSaZDcIl2QTpjmk0/cGtpdLkDa7rUUn/BgPKitjP3pUccTYjOfjR7 FsOww3vtFxT8i1NPTzR0sJXYIwGy4gj8t/WZNI8qgTwGF7pVnxuf/umxESN5iJLoS8/z 6h2yMG86/yY3jWpYHhu2P64WUjnzvmL/JvpavWAvYPoT6A24NoGiPX7SFBPWUf4HI7lw CT8hrLUz26nYjkDKQmHdVGhnkjLwzlytMsaVfNOTjhTXP3ejAodBYC+CoLM0XIwE9FkH /mZsgKc3f1HYfYR8KFC9elAnedoB7xyiYsfErk7sJxsDpEA+QvxnWu0q8Ppm1gvGI1nB QYnw== 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=vYn3SYAGXTB65pQgAms0noNdFFdOYPxCUkRQ9JuwzVs=; b=SfwAg7kMl/yiIUjSXdimiE78lKJ2/r8wx6AGMAeEan0ZX1EBDYDufsnMCW3IcdWNfV yyYJBjZ9oLWHSHCyvgVH7GZAy/IHDNKwXZcbDJ0bqTtgWP28/dQaVs/o01fHqcaoHEF6 IizEWXWfXDrlYC07/vn2bjj1BYIJqPe9faUCNt/79A6MPaljLQiqABglx8fVmoP3XJ2a XXXFOr6QONTHctFMAEVnC7IDNPnNuo8i0tkjUMoYupoHfUu9pZSClk2RdAGvuGtNrlsM B2/ycd08gocUJZrxEaqEz7CKx7QbqvE+xdR/IFFMgDLZMEjCf4Psgwand9wOs/jQqxVL xHNQ== X-Gm-Message-State: AOAM532gnITnAqOepM2RZUjEMi+RcgnPUyvtp6LVJFCPcCMT2oPQPRGo 3NKVC+9QFpwjhFfmWuY7nNv7bLWWDRQ= X-Google-Smtp-Source: ABdhPJyEBowk3qf2YDovXOjlClpS/rGJrhdGozBm7E798zzbuEEN/JLkA7DGEr4SVfjEGdj1w239Jw== X-Received: by 2002:a05:6512:1054:: with SMTP id c20mr38123745lfb.654.1641197525177; Mon, 03 Jan 2022 00:12:05 -0800 (PST) Original-Received: from elephant ([5.166.207.112]) by smtp.gmail.com with ESMTPSA id o15sm2858375lfk.44.2022.01.03.00.12.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 00:12:04 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::134 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: 19 X-Spam_score: 1.9 X-Spam_bar: + X-Spam_report: (1.9 / 5.0 requ) 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.356 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:17947 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I'm pleased to announce Guile-SSH 0.15.0: https://github.com/artyom-poptsov/guile-ssh/releases/tag/v0.15.0 As usual, this release tag is signed with my GPG key[1]. In this release I fixed libguile-ssh library version that I forgot to bump before the 0.14.0. Now the library version is properly bumped to "0:14:0" according to libtool rules. Also I removed a hidden build-time dependency on 'util-linux' package. The most of the important changes were added in the 0.14.0 release (see https://lists.gnu.org/archive/html/guile-user/2021-12/msg00057.html) so I attached the list of changes between 0.13.1 and 0.14.0 as well -- please find it below. * 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.15.0 (2022-01-03) ** Bump library version to "14:0:0" according to libtool rules In the 0.14.0 release of Guile-SSH the libtool library version wasn't properly changed. This could lead to compatibility problems. Now the version is bumped to "14:0:0". ** Remove requirement for 'whereis' command Guile-SSH required 'whereis' from 'util-linux' package to find 'guile-snarf' command. Now this dependency is removed. * 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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmHSr9MACgkQ6cWi2QiY oC+7qwf+OEViyUV5bTw7UlSYtiPl1hZUKOiFjvX1zCXEv8m5dTpyIyUfo5as+Yzw M67rTY2Sen78mPFfJbpgQqECI1Yj3UA53wyQwJLOD4xupCrrGInm/5I0LSga/fkz Et8hl1B6ic3IQ51t+88d4nZqFk+cyuGSmIpq5VBZRGgKKgSZVGNrLDIWJGixAckS Axi+lvvpEF0ZzSkmORQW/QxOA+cs5iOVZKGKBg9lCQHYryiFnli/35jiIQFj/UdF iRfIOWxGoBfrwYuWTBhR7qcU4uEIzIAK2RMcFNhWV0jyQ6pI4nt8wUHmTa87bNni 0FPAwjXL+mbxl8yxQvfcoNGH//DWRg== =qdX5 -----END PGP SIGNATURE----- --=-=-=--