X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:subject:mime-version:content-type :content-transfer-encoding:date:from:in-reply-to:references :message-id; q=dns; s=default; b=Mms3yuwLn3uKsMWI8CBRfUe7uM7iuV/ VVUFpL5GdXfsnBGJ2BYJcC1VR5TS4r3K7t0kt21rNQ3JV3JxjCUGH2MRjlXcU1JQ Hf9DCQn2GLHJI72434dGuqS10B6BsjWvZ/EZB2Oze0VGKXIKUsuBL47voqVelYnW 34zm+kVRZYMQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:subject:mime-version:content-type :content-transfer-encoding:date:from:in-reply-to:references :message-id; s=default; bh=sKNPYPyAph5aNdeEV5SVTHlPz1U=; b=GOvYv atDxM4MnDlmyBXytGayIDwTDbS+1TBDap/RmGhxsZKATJoWWy3ctZp4S6XSFb5Fq DAV+3p4xG/DlaprGfbfp46HcTA3MWIwNz3NK+/K9Mz8pC26qWiOWa3s+F8eN6xfn ErHC+BXQIcVqZ8peMr4u/VF+oaq7XwdWDtWT8Q= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: s1.ds.net To: cygwin AT cygwin DOT com Subject: Re: OpenSSH 6.8p1-1 and keychain: can't determine fingerprint X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 01 Apr 2015 09:03:03 -0400 From: wilson In-Reply-To: <18010304924.20150401153744@yandex.ru> References: <551A13D8 DOT 1030701 AT cs DOT umass DOT edu> <20150331101534 DOT GE32403 AT calimero DOT vinschen DOT de> <551A9149 DOT 4020408 AT cs DOT umass DOT edu> <1837571490 DOT 20150331235503 AT yandex DOT ru> <551B3EA8 DOT 4050607 AT cs DOT umass DOT edu> <392349513 DOT 20150401035240 AT yandex DOT ru> <20150401073824 DOT GB493 AT calimero DOT vinschen DOT de> <18010304924 DOT 20150401153744 AT yandex DOT ru> Message-ID: X-Sender: wilson AT localhost User-Agent: Roundcube Webmail/1.0.2 X-IsSubscribed: yes I saw the following on https://www.cygwin.com/ml/cygwin/2015-03/msg00477.html and I've been having the same issue with keychain. The fix to the /usr/bin/keychain shell script worked as shown, but I've added information about where the fix belongs (in the script) later in this message. I suggest correcting the indentations for the proposed fix as needed. > After updating to OpenSSH 6.8p1-1, I experienced an issue where, at > every login, keychain (in my .bash_profile) wrote a warning: > > > The warning: > Can't determine fingerprint from the following line, falling back to > filename > > A post > (http://newscentral.exsees.com/item/d00c4734c9eed7abe32de6a741f5a3fe-8dd4abc7f69143e4ea63672f83a77a14 > [1]) to an Arch Linux forum expressed a similar report, along with a > solution, adding a case for SHA256 or MD5: > https://github.com/funtoo/keychain/blob/master/keychain.sh#L692 [2]. > > For clarity, that's: > * SHA256:[0-9a-zA-Z+/=]*|* MD5:[0-9a-zA-Z+/=]*) > # The new OpenSSH 6.8+ format, > # 1024 SHA256:mVPwvezndPv/ARoIadVY98vAC0g+P/5633yTC4d/wXE > /home/barney/.ssh/id_dsa (DSA) > echo "$ef_line" | cut -f2 -d' ' > ;; > > I applied the changes to my /usr/bin/keychain, and the errors stopped. > I think this change belongs in Cygwin, too, since OpenSSH 6.8p1-1. I applied this fix to the case statement (penultimate entry) in the extract_fingerprints() function (around line 800) and it does seem to work for me as well. I would recommend this be added as a permanent fix in Cygwin's package. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple