X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 50AA63858001
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=lists.roth.lu
Authentication-Results: sourceware.org;
 spf=none smtp.mailfrom=cygwin-users@lists.roth.lu
Subject: Re: rsync password prompt doesn't capture input and shows password in
 clear
To: cygwin@cygwin.com
References: <3ba5c0ad-369b-4703-f371-a3b2e206447a@roth.lu>
 <14310544220.20210310235814@yandex.ru>
 <79769e1e-d346-ce20-8a21-88a89d52dc93@roth.lu>
 <763055966.20210311015425@yandex.ru>
From: Marki <cygwin-users@lists.roth.lu>
Message-ID: <0281a5a1-b683-a88f-7064-6786cbe54ad4@roth.lu>
Date: Thu, 11 Mar 2021 00:20:26 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To: <763055966.20210311015425@yandex.ru>
Content-Language: en-US
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_20, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE,
 TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Hello,

First, I showed that SSH password prompt works as expected: you can 
input the password such that SSH client can process it, and it will not 
be echoed to the command prompt.

You claimed that you could not reproduce!? While that was the expected 
outcome for SSH. (It is working correctly)

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.

I am working on why rsync would behave like that on my end.

Thanks.

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