From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4763 invoked by alias); 1 Jun 2015 08:04:34 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 4655 invoked by uid 89); 1 Jun 2015 08:04:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: resqmta-po-12v.sys.comcast.net Received: from resqmta-po-12v.sys.comcast.net (HELO resqmta-po-12v.sys.comcast.net) (96.114.154.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 01 Jun 2015 08:04:30 +0000 Received: from resomta-po-19v.sys.comcast.net ([96.114.154.243]) by resqmta-po-12v.sys.comcast.net with comcast id aw4C1q0035FMDhs01w4U9S; Mon, 01 Jun 2015 08:04:28 +0000 Received: from 5200-glenwood.net ([69.140.37.22]) by resomta-po-19v.sys.comcast.net with comcast id aw4T1q00D0UgAyD01w4UQ7; Mon, 01 Jun 2015 08:04:28 +0000 Received: from helium.5200-glenwood.net ([192.168.1.2]) by helium with smtp (Exim 4.82) (envelope-from ) id 1YzKhv-0001X3-Dp for cygwin-apps@cygwin.com; Mon, 01 Jun 2015 04:04:27 -0400 From: Andrew Schulman To: cygwin-apps@cygwin.com Subject: Re: cygport upload: patch for openssh 6.8p1 Date: Mon, 01 Jun 2015 08:04:00 -0000 Message-ID: References: <1432929978.7892.19.camel@cygwin.com> <1432929978.7892.19.camel-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Archive: encrypt X-SW-Source: 2015-06/txt/msg00000.txt.bz2 > > Any thoughts on a better regex or on keeping compatibility with other > > systems? >=20 > Right, OK. See the attached revised patch, which uses >=20 > [0-9a-f]{2}(:[0-9a-f]{2}){15}|SHA256:.{44} >=20 > to detect the key fingerprint. The left side is the same as now, for pre= -6.8 > systems, which use MD5 without a label. The right side is for version 6.= 8 and > later, where the default is SHA256 with the label 'SHA256:' prepended. S= o this > should cover all cases. A more precise regex is [0-9a-f]{2}(:[0-9a-f]{2}){15}|SHA256:[A-Za-z0-9+/=3D]{43} I've committed this change to my upload branch at https://github.com/andrex-e-schulman/cygport.git.=20=20 Also in that branch, I've added documentation of the fact that users will n= eed to connect to cygwin.com at least one time by sftp before they upload, in o= rder to store the host public key in their known_hosts file, as explained in https://cygwin.com/ml/cygwin-apps/2015-03/msg00193.html . Andrew