From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Artyom V. Poptsov Newsgroups: gmane.lisp.guile.user Subject: [ANN] Guile-SSH 0.11.2 released Date: Sun, 18 Jun 2017 09:31:44 +0300 Message-ID: <878tkpu7qn.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1497767547 21915 195.159.176.226 (18 Jun 2017 06:32:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Jun 2017 06:32:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) To: Guile Users' Mailing List Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jun 18 08:32:21 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMTky-00058W-Va for guile-user@m.gmane.org; Sun, 18 Jun 2017 08:32:21 +0200 Original-Received: from localhost ([::1]:37284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMTl0-0003l9-4f for guile-user@m.gmane.org; Sun, 18 Jun 2017 02:32:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMTkW-0003kr-LG for guile-user@gnu.org; Sun, 18 Jun 2017 02:31:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMTkT-0007uE-HK for guile-user@gnu.org; Sun, 18 Jun 2017 02:31:52 -0400 Original-Received: from mail-lf0-f44.google.com ([209.85.215.44]:35827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMTkT-0007th-5r for guile-user@gnu.org; Sun, 18 Jun 2017 02:31:49 -0400 Original-Received: by mail-lf0-f44.google.com with SMTP id p189so41300832lfe.2 for ; Sat, 17 Jun 2017 23:31:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=uyhv8zS50UgeS+aFQTl6YjF0vMlprZhPmboEAUrsTXc=; b=irMdg1EQ1GfiduKaUmj5RY4LJg63FKj9fYO3IVurK1DCu1aK+k2xRG+Fihtb0D5Tmb E0hyEaht0cjzn6Pzgqv44qpHgFqTnLRlkhKkUZtFwxcMJD+5EMElLK3Z3eQRn6qLJBWC tBiqmuM7eUGFskyRWczBHSK3VdD6Yi6nYCbIhqgYn2maTY4cnA8WKm47g9oKNueCi0AH LhHHbQtQPlviMt64/fgMIGoDJ4m1pZ6cQNZ5BdV9iG+MH27+lN6KG1ggXTJvtMMqMleO mTHQwQIt/jG5eN0yQThJbg2FXwrBV5NHbbjUrueLkfZDorJT2EAsQn8+rews0OeVuaP2 3NXQ== X-Gm-Message-State: AKS2vOyJP96nTjEBWr6lOqg+NLaR0ItL3D4N1/gpEfLOPDO6S4yzQrAf Ci0gKae9Jq5Jeglhq/o= X-Received: by 10.25.181.215 with SMTP id g84mr5846639lfk.108.1497767507278; Sat, 17 Jun 2017 23:31:47 -0700 (PDT) Original-Received: from elephant (95-37-247-85.dynamic.mts-nn.ru. [95.37.247.85]) by smtp.gmail.com with ESMTPSA id r5sm2007102lfe.41.2017.06.17.23.31.45 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Jun 2017 23:31:46 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.44 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13844 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Guilers, I'm pleased to announce Guile-SSH 0.11.2: https://github.com/artyom-poptsov/guile-ssh/releases/tag/v0.11.2 Please find the package signed with my GPG key[1] here: - ftp://memory-heap.org/software/guile-ssh/guile-ssh-0.11.2.tar.gz - ftp://memory-heap.org/software/guile-ssh/guile-ssh-0.11.2.tar.gz.sig This is a bugfix release. Most of the changes address Guile-SSH issues related to GNU Guile 2.2 support. The release also includes a fix for segmentation faults that occured when a freed Guile-SSH channel is printed or converted. For details, please see the list of user-visible changes below. Thanks for all the contributions, they where very helpful. Contributors listed in the documentation, 'AUTHORS' and 'THANKS' files included in the distribution. * 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. * 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.11.2 (2017-06-18) ** Bugfixes *** Always reset the channel and sftp streams when closing ports In Guile 2.2 objects (and thus Guile-SSH channels) are finalized in a separate finalizer thread, but libssh does not work properly in such a multi-threaded fashion -- which leads to segfaults in Guile-SSH. To address that problem the following changes are made: - In (ssh dist node) REPL channels opened in 'node-eval' are closed explicitly. - Channels and SFTP streams are always reset when closing ports. Thanks to Ludovic Court=C3=A8s for the patches! Reported by Ludovic Court=C3=A8s and Mark H Weaver, in *** In (ssh dist node) **** 'node-guile-version' now does not fail The procedure would always fail to get Guile version. Now that should= be fixed. Reported by Mark H Weaver and Ludovic Court=C3=A8s, in *** In (ssh session) **** 'session-set!' now throws an option with its value on an error *** In (ssh channel) **** Printing a channel now works with Guile 2.2 **** 'channel-get-exit-status' handle freed channels properly 'channel-get-exit-status' now handles freed channels properly by throw= ing 'wrong-type-arg' error. **** Printing a freed channel doesn't lead to SIGSEGV anymore Guile-SSH would always crash with SIGSEGV errors when tried to print a freed channel object (e.g. after calling 'close' on a channel). This = bug is fixed now by introducing new checks. Now a freed channel will be printed like this: # ** Update unit tests *** Add test cases for fixed bugs ** Misc *** Improve logging =2D-8<---------------cut here---------------end--------------->8--- Happy hacking! =2D Artyom [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 V. Poptsov ; GPG Key: 0898A02F Home page: http://poptsov-artyom.narod.ru/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEr9DIunjgTzVb3YfdTA30jTkDNZoFAllGHlAACgkQTA30jTkD NZpZjhAAiCATuwTfmC2z5Yll7LGof5kXvZP9lw1JpDdlph1dHahufoE6c+fmstjv loE8QxhSRtWJqTu/xHKbw/pt2/fRonI1oHq5Yc2SF7166h0jwqLCMzXY5rAKGzTz 1PIm6XA/SrbcHFsbHg1NWg8B8w0ddCc6pnrpJSU6VbK1CafoZbmZoMIhmpufqWHh WJWguvMptFG9ltfHz5242uaLXIewx1o6ZlpAhZ8bqwsuUjpejcsjRp9qU65ni0vz IiKz72pQqgxKPtPLfVdbX5o86YDrKHHMNs0mONhULHPkbblYUvZvMygekVdL8AvW LZs2+zf+iB3fzsmi9wcLVh3yXsicvwwYNXJwXHgmNglLHsaerEwJFODehB3fCTRG MVcryWVghfN5Pnhr1GUZup21SZr4lQkxZV/sTubd32Xrqu4cL/iJ0gah+AT6CasM OlGCf2ID537pmQjiRSs30rRrdmtkxyBNIMKpzRUeB51SP1ynk6aUxVJGSnBkDAob o0lPn9fd0QK9Ds5OFJwvflZ+ygPpkdjdIf3HbHHFiqnYlxYLz7ET+T1rPKq6XCfS 70WWqLxVNrUgaTYx/ld3objla0dwdVKc1z5wtMUS9U2O0gETGKqjkyjRzuAqR3Z9 kfhtABtdQeKo9hqBH1x1KWV+P/Nheq8DV9zYiUuEMSNYISsOmr8= =QCVV -----END PGP SIGNATURE----- --=-=-=--