| delorie.com/archives/browse.cgi | search |
| 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:mime-version:in-reply-to:references:from:date | |
| :message-id:subject:to:content-type:content-transfer-encoding; | |
| q=dns; s=default; b=Ls59g5vJk0enDzEq08dko6gA6bpHLX+j+Nk5mT9teJZ | |
| aaCVNH44+lJ9I5hBQcLMgh8pozoJgNoZmWX3DmtI6rGyFD5OMDwMzqwcJyseA2c9 | |
| THcoianqFnmQhmrtJQIrGcysGNHrkYq2RyaE0jd6rak6Afri0d5JTlXf2hMeU0w0 | |
| = | |
| 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:mime-version:in-reply-to:references:from:date | |
| :message-id:subject:to:content-type:content-transfer-encoding; | |
| s=default; bh=wyQYkzvXZc6Ksak9ZrlliKU5jH4=; b=dGP+NpjndbWH//djK | |
| UyY83w62Q9Xv1817ONZQ8jedjGUs4iplGC/nEmufergwaD03OZ0TGd4UJM0egTuo | |
| 4kSwbGnNq34NzehFOCbDgO2e/bXOspkvpgC2hdxslG0dB3HlLd3g+LS4NMRWui31 | |
| PhZMCYlZ65csGBtf7XLKbEwTHo= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 |
| X-HELO: | mail-ie0-f170.google.com |
| X-Received: | by 10.43.110.136 with SMTP id ek8mr76515406icc.87.1427895181334; Wed, 01 Apr 2015 06:33:01 -0700 (PDT) |
| MIME-Version: | 1.0 |
| In-Reply-To: | <cd3389f79bfccaeb880197f4534950f5@www.ds.net> |
| 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> <cd3389f79bfccaeb880197f4534950f5 AT www DOT ds DOT net> |
| From: | Kal Sze <swordangel AT gmail DOT com> |
| Date: | Wed, 1 Apr 2015 21:32:21 +0800 |
| Message-ID: | <CAGZiy72DWnLDs2H0XBAUByhPVWkhgQo3N68FmXqgcJ4an70JDA@mail.gmail.com> |
| Subject: | Re: OpenSSH 6.8p1-1 and keychain: can't determine fingerprint |
| To: | cygwin AT cygwin DOT com |
| X-IsSubscribed: | yes |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id t31DXGUN016664 |
On 1 April 2015 at 21:03, wilson <wilson AT ds DOT net> wrote: > > 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: >> >> <snip> >> 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 > If you don't have to support multiple users (like me), just downloading the 2.8.0 keychain script to your local path and sourcing that that in .profile/.bash_profile is probably cleaner. I seem to notice that keychain 2.8.0 is slower to load than 2.7.1 though. -- 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |