delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/10/21:11:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 755F93857020
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=6thstreetradio.org
Authentication-Results: sourceware.org; spf=pass
smtp.mailfrom=404f DOT 82 DOT 1d4ce000203f42f DOT 60f59ad0c53ff6e24c13cebf948aec61 AT email DOT 6thstreetradio DOT org
DKIM-Signature: v=1; a=rsa-sha256; d=6thstreetradio.org;s=dkim;
c=relaxed/relaxed; q=dns/txt; t=1615428685; x=1618020685;
h=content-type:in-reply-to:mime-version:date:message-id:subject:autocrypt:from:references:to:x-thread-info;
bh=T8Y8iYPlHmBAmZbOe58MXwNjt01J5IQqQEXv/uIK+zg=;
b=vdOxYEI5m31yg0JLWSJhagbF2+W6QajOO4QBv4JS0VT4RSU/i0vkdH43a0GREGmRRfJSRHym2uAPyiV0VXQQisg+WWVmjPs6WPVgaJnvAsRNkwKGPmemt+ESi3WW8wpFh09N1K94eTKEwJAtro7/4Dd1FsVZV2qBBumBuFI6E3g=
DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim;
c=relaxed/relaxed; q=dns/txt; t=1615428685; x=1618020685;
h=content-type:in-reply-to:mime-version:date:message-id:subject:autocrypt:from:references:to:x-thread-info;
bh=T8Y8iYPlHmBAmZbOe58MXwNjt01J5IQqQEXv/uIK+zg=;
b=V++YOgQx+BU+tcLYUV8v0glIMKRTMjYzmy+TUYLzvLSweYVEjdMyqbMeTI40weNrcPswSQlLNOk06vG3CmMsLRWdAZC9jDU5LTY9GMp7NYALSxDsPivn1P5f75axYjGSxMiY75W5ZObMdXBmSj8c5rd8mcOhbIj4CY0I1vB1nI4=
X-Thread-Info: NDA0Zi4xMi4xZDRjZTAwMDIwM2Y0MmYuY3lnd2luPWN5Z3dpbi5jb20=
To: cygwin AT cygwin DOT com
References: <3ba5c0ad-369b-4703-f371-a3b2e206447a AT roth DOT lu>
<14310544220 DOT 20210310235814 AT yandex DOT ru>
<79769e1e-d346-ce20-8a21-88a89d52dc93 AT roth DOT lu>
<763055966 DOT 20210311015425 AT yandex DOT ru>
<0281a5a1-b683-a88f-7064-6786cbe54ad4 AT roth DOT lu>
From: David Dombrowsky <davek AT 6thstreetradio DOT org>
Autocrypt: addr=davek AT 6thstreetradio DOT org; prefer-encrypt=mutual; keydata=
xsBNBFifxH4BCADoBTkBhN2dpvep9AvXauvESIhgp63PHwXUHEF3AceKZtw0ir+SgB4sBagW
kKif4o5G/wmVcUpm/wyt94dkLbREXHsUqXEGUJ3KB1cPbOLqEUpYWqa76OpXo7qATiFll+OT
wyJjSX2fOOTfOjIDGi+yuWVyW8z9pUM/myAegBNlE5KR/iE0u55xVOd3npt4VVC7MqxuNeBh
RcRdNXerz3x6Zeq8dFWwZJWZH1p5ij9B0EfqRYed5omWy07+QHn6ZM3Vwz+9WZCmvvOJPTpN
d+8TxQEJEp3EJhem9B7PRm+Z5+u120B7qJ0tTbSpV2DAJI8DKdzMPfY3fLyUqK6M9wyvABEB
AAHNK0RhdmlkIERvbWJyb3dza3kgPGRhdmVrQDZ0aHN0cmVldHJhZGlvLm9yZz7CwHoEEwEI
ACQCGwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AFAlifxn0CGQEACgkQAdWmJaMMDmpvOAf/
Z6rGILV8h/w/QoRK4tWT7Z6Uahat4TlWV+inyQIMzduxA46YjE1IvV5QVluPlqdwyhirTT2e
WQSJUE+Y0QyOwSaUPm8fkYPzE/67Y0X7vcZFpO4Fvt5pi2Qr644T+H2m0YXKq3dLtVK5hU96
oveM+fINIwLYk0btFR0San96CJ3bshLYcf2HSpIwV+MEEJ2WkuQQjUxE9cMRCLb9ix/kd0tF
gqUwe3f7xQF7LRNpHzclnZ8uQpZGQMQ1q01XHRZUGKkfEDorL/lqa3qzT/1JoSO3nOmIsGmu
KIdA+SGVShVvpM+/NVB6R+uWFGuUlgX1nz43GIBtOgCaK4gRtePUpc7ATQRYn8R+AQgAmqA0
oJ7PpZY+EhJguIlrh+ydJzZ8IDgySmy1GKW0LAWsvbXdaeCI3tCNi4JIXEFYt/d7+c41md7/
jS/66SevQndGtYk4ZihxKSRt2ZrWLSVXN1/B/vQ2QWB0ejxQwBkV/zUbQVAQ/Tc+gyfnobWB
Nql0bkYMjrfaaf8RFLJ5muJbnGJcv49xU71GgjJtWPFYNyw1rLbjedPYUfKJUm1TekazLy5j
p1gQLDrG57GOzSqZL6xN8pI1J3gm3EzMB1MCxAohkCsHRFO0PgifqHUcqjAYxGqqJP7EbDqY
fy3KoBelPWtHgPS4/gnau/vqfMkiNeusRLpPxU8LHGblmC3VMwARAQABwsBfBBgBCAAJBQJY
n8R+AhsMAAoJEAHVpiWjDA5qo2MH/0xVILAQcXxY05RgRo+aRFuxz1uKJ8bNbUHgVIOIBX7P
l5PJHZhHs1wNpSUDbSbTmLGGYWW4VJ+VeRANjvPFqs+i9mLv1S98DTZsfTs+EQ60W8fFhE7J
LhWBFW0+VXA8PRnLutUEVUpUnyxqcoGhM6SqTB2CmqCfU7iMvqlDttpwmCZ5FVmfdcYKAGv9
+tjYNwtC6LzQ6TFFg1BGY/1Z3FgZmOexXMtW0qmGPgYy6XHhVHHTZ/o8QffK8Rl10arkikq4
ffbLtNPAQyxczylBBeecWG+HAPA8WqT/lVDNHQk5Qt5cY4eACacXb08BLRpwgHJ3/2oVSJSl
Z9v9Tx5aPYQ=
Subject: Re: rsync password prompt doesn't capture input and shows password in
clear
Message-ID: <c7aa9e5e-1be9-af64-853f-f56878d2505f@6thstreetradio.org>
Date: Wed, 10 Mar 2021 21:11:15 -0500
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <0281a5a1-b683-a88f-7064-6786cbe54ad4@roth.lu>
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_50, DKIMWL_WL_MED,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, RCVD_IN_IADB_LISTED, RCVD_IN_IADB_VOUCHED,
RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============4022958129734085397==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="dd8miGi6cYJDHqWi7xDLUraqaj1MLe9SW"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--dd8miGi6cYJDHqWi7xDLUraqaj1MLe9SW
Content-Type: multipart/mixed; boundary="34pZsxNS25UFOJXK0lvh4r6GZAbVObVEb";
 protected-headers="v1"
From: David Dombrowsky <davek AT 6thstreetradio DOT org>
To: cygwin AT cygwin DOT com
Message-ID: <c7aa9e5e-1be9-af64-853f-f56878d2505f AT 6thstreetradio DOT org>
Subject: Re: rsync password prompt doesn't capture input and shows password in
 clear
References: <3ba5c0ad-369b-4703-f371-a3b2e206447a AT roth DOT lu>
 <14310544220 DOT 20210310235814 AT yandex DOT ru>
 <79769e1e-d346-ce20-8a21-88a89d52dc93 AT roth DOT lu>
 <763055966 DOT 20210311015425 AT yandex DOT ru>
 <0281a5a1-b683-a88f-7064-6786cbe54ad4 AT roth DOT lu>
In-Reply-To: <0281a5a1-b683-a88f-7064-6786cbe54ad4 AT roth DOT lu>

--34pZsxNS25UFOJXK0lvh4r6GZAbVObVEb
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 3/10/21 6:20 PM, Marki wrote:
> Only then I showed that the same is not true for rsync. When I input a
> password, it will get echoed and also rsync will not process it, since
> standard input somehow goes elsewhere.

If I had to guess, it's probably the same as the problems I was seeing
with gpg-agent not being able to capture the tty correctly to prompt for
the password.  I never had a problem with the ssh agent though.

Unfortunately I do not have a good solution for it, as it seems to
happen only to some people some time on some systems.  After fighting
with it for an afternoon, I simply wrote a pinentry program with my
password hardcoded into it.  Yay for security.

The hack is here for reference (DO NOT USE ON PUBLIC PRODUCTION
MACHINES!) -> https://x.cygwin.com/ml/cygwin/2019-01/msg00178.html

I recheck the stock program every few months, and this problem still exis=
ts.

--=20
David Dombrowsky | Chief Software Engineer
6th Street Radio LLC | 6thstreetradio.org | 518-374-3204
https://www.linkedin.com/in/david-dombrowsky-94334415
VHVlIE1hciAgOSAwMjoxMzowMiBFU1QgMjAyMQo=3D


--34pZsxNS25UFOJXK0lvh4r6GZAbVObVEb--

--dd8miGi6cYJDHqWi7xDLUraqaj1MLe9SW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJgSXxDAAoJEAHVpiWjDA5qbBsIAIESRx5OjyPmj0EM1SG/6zYL
MKL98b/aTifJWFPW/zaoaDhAywHF4vn/4zGGxDfg99JSodbCB+8sW+dzGNEvPrOM
pOq2rcGBcHqxnaa/ayJreCL4t3H1GpM3xZDA1JLQtDhAt3rOOu3ojO4V8y0+aJfQ
+Jp5tNVzm2EJ4sYV9e4cHEFDmZniaoAWJ3XvDm1EwLWUAlD7iqtiNeoTRsXbz63L
3j9HPMCKPrGrg/EXkKcs8xExiepDjP6VVbPiF+6748Dx/xS53ev1jq5Q8nwTXJib
HPeZOTGUvTaZIybt3HJSGsM7Ed+UoSTxz2n1wXmIu+/2xkHE01v3rzq8zLQP2Vw=
=5kqY
-----END PGP SIGNATURE-----

--dd8miGi6cYJDHqWi7xDLUraqaj1MLe9SW--

--===============4022958129734085397==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

--===============4022958129734085397==--

- Raw text -


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