DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4A5G2bZW1764087
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ruI5nKwg
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 839E2385735B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1730822555;
	bh=6Hs54Tu8yQ+OpTvS5MnN94QIQOYglXPTlRV+XsT/jP0=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=ruI5nKwgdrLCStr0ed/MymPon5gMH2dy/R/xtoPjrwLne39J/nahzNuSI3KrH5ohC
	 sgdAhYmYUa289byY2CNj3aTb18FBmaODXQsajhnT7hCg7UyAmxidaTdRJTM2giNhdb
	 n89mdFv1JmB/JG6yZ11XYLXF6ihqZYcuikYIOmmg=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E21F8385840F
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E21F8385840F
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730822501; cv=none;
 b=PgX1uepycxprSOjRis0MEt/jeZODq81YzbA7KxMHCBJlYX/fpcu6wtv+tqa6q/6URgDLjwR+BnxMGHOslcjZp4LoXZ/E6qDAh+ZRNc8NWdqFX/aCgv9+ESyHN5Rol64BSZr7vXho4XqHlBD2Q7ktDegUFViNZzz++f5WbTtcUjg=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1730822501; c=relaxed/simple;
 bh=LvM5J1CrHBr7O5P/3lgpbh+11V/MUEwU0rCJhFK2r9s=;
 h=Message-ID:Date:MIME-Version:Subject:To:From:DKIM-Signature;
 b=yGEIhgqlf7GxX64JjE0x0xNrNZAlfHMmmc7ZX1OzF+4M4+Gr/thTI34Pn6fFzhXFkSHM303IQAJqLy7xEc0G+JuJ+N060N1dLlDfDUZL38ltLXryrWPCp3weqiJ4zjGPmxDa9KElBalBfgETEvVS1DO0FuNLPE7DCSwjqKlb1DU=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <1fe1c4ea-83bd-4fe8-9daf-496ff6ec2c69@SystematicSW.ab.ca>
Date: Tue, 5 Nov 2024 09:01:33 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: cygport upload seems to ignore SSH_KEY
Content-Language: en-CA
To: cygwin@cygwin.com
References: <8d85bde3-8ea8-4635-8547-9846315243cf@kircheis.it>
 <7704ca4f-00ba-41b8-897c-7558d846ec18@SystematicSW.ab.ca>
 <nlvjij9vha7u1j71seri65tfg21o7ua3im@4ax.com>
Autocrypt: addr=Brian.Inglis@Shaw.ca; keydata=
 xjMEXopx9BYJKwYBBAHaRw8BAQdAPq8FIaW+Bz7xnfyJ1gHQyf2EZo5sAwSPy/bRAcLeWl/N
 I0JyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFNoYXcuY2E+wpYEExYIAD4WIQTG63sbl+cr
 2nyOuZiKvQKcH1E27wUCXopx9AIbAwUJCWYBgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAK
 CRCKvQKcH1E276DmAP91Bt8kfJhKHYb9b2sao2fxwJFsl1GlRi516WKI0OkphQEA+ULITsPs
 blfzSq+GgI7q4LPfRfTLy4Oo3gorlnhnfgnOOAReinH0EgorBgEEAZdVAQUBAQdAepgIsLwm
 GQicfoIBaB9xHp63MQJqVCPbgPzESTg7EEwDAQgHwn0EGBYIACYWIQTG63sbl+cr2nyOuZiK
 vQKcH1E27wUCXopx9AIbDAUJCWYBgAAKCRCKvQKcH1E27+zoAP4u2ivMQBAqaMeLOilqRWgy
 nV2ATImz1p2v1H5P4kBiDwD3caPK1cxU5lijzuSDCjgtIpgF/avHbjA32fxJdIRwAA==
Organization: Systematic Software
In-Reply-To: <nlvjij9vha7u1j71seri65tfg21o7ua3im@4ax.com>
X-Rspamd-Queue-Id: 5A7792001E
X-Stat-Signature: r5ot5iupsjim36k36u7qzp1rdaij1ouw
X-Rspamd-Server: rspamout08
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX19/WsKg0gcbiYD936wgcbmMXfWp0MfRjlM=
X-HE-Tag: 1730822470-442767
X-HE-Meta: U2FsdGVkX1+oG7LWiLl1UuD4Q9ZJLTn31d1zDV02hZ7u7v+I3rwroxvgCOa4HuJ+WMg2a92t2Edmi6gylj836sTgB6A/gTAAdcPNbGchqLywUp95oDhLOYTY7ywqmRLFlkOZLXBRxWyQHk1PPLVeTIoDjl9xFpIQn6yO83rV36CI0dJr0dmuVjTgQI7ysf88tWipUyT95dCi3yg2opTZ9C53OQltYpFmeQ1b6ZQKrEBTjUJSRpYEmLl8pLKiU+UAh8sFqZjYibrEFhRtbMz+esVtf4y5KLPJDRdSrX5noVkb0cL8BxWE6apEm7MbJlPuoVH3rsMydH0xVmuOcDzcVVoShcq6BlgybHHhwqWXxaR8Ks0tY+04ngqXpKfcrC2MTzzDM0Hunj478sHCEo9mvCNiGAEHGt/Kav03n3x103gYdR3Qx/M9XA==
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
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>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4A5G2bZW1764087

On 2024-11-05 04:19, Andrew Schulman via Cygwin wrote:
>> On 2024-11-04 12:20, Federico Kircheis via Cygwin wrote:
>>> up until recently I've uploaded packages the following way
>>> export SSH_KEY=/path/to/id_rsa;
>>> cygport /path/to/file.cygport upload
>>> but today I got the following error
>>> cd: Fatal error: max-retries exceeded
>>> I've fixed it by copying my key in the .ssh folder
>>> cp $SSH_KEY ~/.ssh/id_rsa
>>> cygport /path/to/file.cygport upload
>>> So it is not blocking me, but I wanted to know if this was a known bug, or if I
>>> am the only one experiencing it.
>>
>> See
>> 	https://cygwin.github.io/cygport/cygport_conf.html#SSH_KEY
>> or
>> 	/usr/share/doc/cygport/html/manual/cygport_conf.html#SSH_KEY
>>
>> SSH_KEY
>>
>> DESCRIPTION
>>
>> Path to the SSH private key corresponding to the public key registered for
>> uploading on sourceware.
>> You'll need to set this if your private key isn't already loaded into a running
>> ssh-agent(1), and it doesn't have one of the expected file names such as
>> ~/.ssh/id_rsa.
>> Also, setting this allows cygport to determine if a passphrase is needed to
>> decrypt the key, and only prompt you for a passphrase if it's needed.
>> Otherwise, you'll be prompted for a passphrase every time you upload.
>>
>> Instead of `ssh-agent` and `ssh-add`, you can use `keychain` in your login
>> profile, which allows cross-session sharing, across X and terminal sessions, and
>> logouts, for example:
>> 	$ eval `/usr/bin/keychain --noask --eval ~/.ssh/id_rsa`
>> then
>> 	$ keychain ~/.ssh/id_rsa
> 
> I haven't used cygport up in a long time - I use git push now, and let scallywag
> build the packages - but this does seem like new wrong behavior. Surely he
> shouldn't have to use keychain to get cygport to work? According to the docs, as
> you cited, his method should work.

Using keychain is just a way of setting up, persisting, and sharing 
ssh-/gpg-agent sessions, so keys are kept available in long running agent 
sessions, across login sessions, without requesting passphrase input for some 
period.

Likely the issue could be permissions on his alternate location key file and 
directory/path, as libraries and clients are getting pickier about security 
issues and vulnerabilities, and openssh was recently updated, although cygport 
should diagnose any failures.

The message itself appears likely to have come from `lftp` invoked by
`cygport ... upload` /usr/share/cygport/lib/pkg_upload.cygpart failing to 
authenticate a connection, for some reason?

[Tried to look on lftp.tech website, but site access tried to force download and 
install of some huge Windows "Securigard privacy browser" installer to use the 
site! Killed and exited!]

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

