delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/04/23/15:45:37

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 2773E395A023
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cam.ac.uk
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ctr28 AT cam DOT ac DOT uk
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cam.ac.uk;
s=20180806.ppsw;
h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:
References:To:From:Subject:Sender:Reply-To:Cc:Content-Transfer-Encoding:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=IEbOuTD8Gh0ImWIPZX7yVJESQQNRkK2DR3ShGF/vdWA=; b=OWUUesK8tlvD2alj6UuLC1DW5Z
+6oBOJW0ksJ8KQZHVDwRGwCUHsJGkcFlrimxUPmIO7MMnNbQ3SlB39IUKOi2SwGmotHyXPLwIGfal
+W9hgwYZkB+aLeK6uwJGDQfDQPIimVKHXKZYzw1JMOeyOiklA3e7+Zy42GBWhCzKTTwk=;
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Subject: Re: ssh-pageant
From: Chris Rodgers <ctr28 AT cam DOT ac DOT uk>
To: cygwin AT cygwin DOT com
References: <5f24168f-61d7-848b-677d-bf0d5aea303a AT cam DOT ac DOT uk>
<569cc14c-a9f8-e9bb-0700-d244968cdd30 AT cam DOT ac DOT uk>
<7e729684-09ee-3cfd-ad2d-7eb0cf8efac8 AT cam DOT ac DOT uk>
Message-ID: <5dcc4f61-608e-b4b2-9cd9-b2f8272a0ad1@cam.ac.uk>
Date: Thu, 23 Apr 2020 20:44:45 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <7e729684-09ee-3cfd-ad2d-7eb0cf8efac8@cam.ac.uk>
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIMWL_WL_MED,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE,
RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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-Content-Filtered-By: Mailman/MimeDel 2.1.29
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: <http://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: <http://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>

So.. one more thing to consider. I just had a look in the cygwin package 
search for packages shipping files in /etc/profile.d/

It turns out that one example already shipping in Cygwin is 
http://www.cygwin.com/packages/x86_64/gnome-ssh-askpass/gnome-ssh-askpass-7.4-1

>
>   gnome-ssh-askpass: GTK+ passphrase grabber for ssh-add
>
>      2017-03-17 00:34           0 etc/
>      2017-03-17 00:34           0 etc/profile.d/
>      2017-03-17 00:34          97 etc/profile.d/gnome-ssh-askpass.csh
>      2017-03-17 00:34          52 etc/profile.d/gnome-ssh-askpass.fish
>      2017-03-17 00:34          52 etc/profile.d/gnome-ssh-askpass.sh
>      2017-03-17 00:34           0 usr/
>      2017-03-17 00:34           0 usr/lib/
>      2017-03-17 00:34           0 usr/libexec/
>      2017-03-17 00:34       14867 usr/libexec/gnome-ssh-askpass.exe
>      2017-03-17 00:34           0 usr/share/
>      2017-03-17 00:34           0 usr/share/doc/
>      2017-03-17 00:34           0 usr/share/doc/gnome-ssh-askpass/
>      2017-03-17 00:34        1253 usr/share/doc/gnome-ssh-askpass/COPYING
>      2017-03-17 00:34         531 usr/share/doc/gnome-ssh-askpass/README
There, 3 shell scripts are provided to cover users of several shells. I 
could do that.

And the contents are:

> $ cat gnome-ssh-askpass.sh
> export SSH_ASKPASS="/usr/libexec/gnome-ssh-askpass"
>
> $ cat gnome-ssh-askpass.csh
> if ( ! $?SSH_ASKPASS ) setenv SSH_ASKPASS ""
> setenv SSH_ASKPASS "/usr/libexec/gnome-ssh-askpass"
>
> $ cat gnome-ssh-askpass.fish
> set -x SSH_ASKPASS "/usr/libexec/gnome-ssh-askpass"

Is there any mileage in the argument that if we do this for Gnome's SSH 
helper, we can also reasonably do it for ssh-pageant?

I'll leave this for now and see whether anyone else has an opinion.

Best wishes,

Chris.

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

- Raw text -


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