delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/10/11/02:51:03

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:content-type:to:mime-version:date:subject
:message-id:from:content-transfer-encoding; q=dns; s=default; b=
YIaB6WEEcgzJ6vlRNKXOyXqHYxE0KGwdv9/GJo20gWPKIJdXyMz6dqZUr71L0EV3
SbNLABbDz5HKnLxmpt0mr+1FSxzTM7ci5bHGbFh/ImYw+DOG09XVH3xHJDtCgK/t
pWJZrjiMrz7qdwFbM92MUuEhnWz26h2oXeRR8T4drOQ=
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:content-type:to:mime-version:date:subject
:message-id:from:content-transfer-encoding; s=default; bh=jvKXxx
szZT94UfTwjElpgrEMdKA=; b=a4EucHvbdz9Ak9wqaaFuhJdspbBU4V8YaK54SS
AyItW0RgSLNT++Oq1EaBb2TKX4Tdo4sTdiVinT/5dCtrIgGzAZLLYBb/EpqW3F9T
GtGWIhKeBX2w0yA9fNJ0Z9f8t5Cq/UG+gXOB7RFy5wfVF1TiDt2iYfN3u02VAKbb
CxCHU=
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-Spam-SWARE-Status: No, score=-6.5 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,SPF_PASS autolearn=ham version=3.3.2 spammy=password, PRIVATE
X-HELO: unimatrix.l00-bugdead-prods.de
To: cygwin AT cygwin DOT com
User-Agent: SOGoMail 4.0.2
MIME-Version: 1.0
Date: Thu, 11 Oct 2018 08:50:28 +0200
Subject: ssh with rsa keys stopped working with latest openssl packages
Message-ID: <7266-5bbef280-5-acbaa40@88743000>
X-Forward: 185.27.157.132
From: "Sebastian Reitenbach" <sebastia AT l00-bugdead-prods DOT de>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w9B6p1bQ014507

Hi,

after updating my cygwin environment, ssh stopped working
for me using SSH keys. SSH to a host, I get:

Load key "/home/user/.ssh/id_rsa": invalid format
then it's falling back to the password.

I'm on:
CYGWIN_NT-10.0 CLIENTHOST 2.11.1(0.329/5/3) 2018-09-05 10:24 x86_64 Cygwin
and I have the following packages installed:

1.0.2p-1 openssl, openssl-devel, libopenssl100

openssh 7.8p1-1

This is how my id_rsa key looks like:


-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,56A6DA55614F68D86D817C504D1C690D

....

-----END RSA PRIVATE KEY-----

Downgrading the openssl packages to 1.0.2.o-1
makes it work again.

cheers,
Sebastian


--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019