This is the mail archive of the
cygwin
mailing list for the Cygwin project.
OpenSSH 6.8p1-1 and keychain: can't determine fingerprint
- From: "White, W John (GE Transportation)" <W dot J dot White at ge dot com>
- To: "cygwin at sourceware dot org" <cygwin at sourceware dot org>
- Date: Fri, 27 Mar 2015 04:13:35 +0000
- Subject: OpenSSH 6.8p1-1 and keychain: can't determine fingerprint
- Authentication-results: sourceware.org; auth=none
After updating to OpenSSH 6.8p1-1, I experienced an issue where, at
every login, keychain (in my .bash_profile) wrote a warning:
My .bash_profile lines:
# Start keychain, passing as args all private keys to be cached
keychain ${HOME}/.ssh/id_dsa #, other_key1, other_key2, ...
# That creates a file which must be sourced to set env vars
source ${HOME}/.keychain/${HOSTNAME}-sh
The warning:
Can't determine fingerprint from the following line, falling back to filename
A post
( http://newscentral.exsees.com/item/d00c4734c9eed7abe32de6a741f5a3fe-8dd4abc7f69143e4ea63672f83a77a14 )
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 .
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 .
--
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