From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CDcFNG1a02aYEAEAe85BDQ:P1 (envelope-from ) for ; Sat, 31 Aug 2024 18:01:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CDcFNG1a02aYEAEAe85BDQ (envelope-from ) for ; Sat, 31 Aug 2024 20:01:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lipklim.org header.s=key1 header.b=O7z0oWhZ; dmarc=pass (policy=quarantine) header.from=lipklim.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725127277; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fZIKLFaS9yjANn0sj4hJKu9uMIOFbxWKUwr7gw4DUPs=; b=WJAPSBj/pmFPIijuSVcQ3f9cNIo//UzHj6s6saTIF7j1dOlGOtwr9dQRIkcHfZC6cXRErw 4x725HamjJtja/EUhXrnZyng+QKPUn5diqC1Rm5yZRQQhV3SAg75V5n2BO0LCURfkoKBoQ 4Y42vBciDyflIrVNmTAqIjzE2WePblIxe+LsrL3IKCE6w/7/btsTKc7wC0QpTbRT1opZO8 agWB35JpjqRascIEI7+7g4x8G4JmkZR9hQ4wEUUYJ+82Em9P0VqmjVEukmchFrye0IQeAG zDik9V4+nV8BN8Ze4zkv1SJK6smKZ6Jxah8qBuBtu3adn4kMxz3E7LId/FOuoA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725127277; a=rsa-sha256; cv=none; b=rKUU34SquGNpbbTzQTmKrZe+S5y/NlWBniZcgDPsgg1DwSjmVDWTYBvjgg9HmFvXWyuHwK GPRcl7PX5+upn+0SONG9LIGFnuY5NzKHZbE5JjueCdIxObGBvJM/v6HGUhVvVlfqnis9Lv ptldokIir2L4UuGsVqidk3ifWmpeYC73gyTy3Z7reiGqybJ5xmiPWo3wfGWrUqVwq3eLuy nPCm66QP+bNn/3gcjXvMUdDXU5dkBMuL6eeYQIXSwjqyLMrlGmLNJcvt4b+8U/jNv3lFFb BDMaYO4bgI5Xm1csSZYyC+0eqgeu7YqSMTMXxlg4jcIISPEkQrcy21M9IFiYNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lipklim.org header.s=key1 header.b=O7z0oWhZ; dmarc=pass (policy=quarantine) header.from=lipklim.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 36EE562B54 for ; Sat, 31 Aug 2024 20:01:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1skSP1-0006yK-Pi; Sat, 31 Aug 2024 14:00:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skRem-00031S-KJ for help-guix@gnu.org; Sat, 31 Aug 2024 13:13:00 -0400 Received: from out-183.mta0.migadu.com ([91.218.175.183]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skRek-0003sA-7N for help-guix@gnu.org; Sat, 31 Aug 2024 13:13:00 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lipklim.org; s=key1; t=1725124374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=fZIKLFaS9yjANn0sj4hJKu9uMIOFbxWKUwr7gw4DUPs=; b=O7z0oWhZISN20+MWJNg6RIZTdkFFyvmx8K49yR65IrgitF6KPlXqEGTspKT/beUgEFM1Yn x88Ph7DJzvrTGMO/cUkpiPTt4Bf6PQbpTyVg1eAxN0M4K29Q4ppPYKUNFZh1flUt7T5aw1 R2ysjWkGw91E818mRsRCV6y0kFuSIYI= From: Evgenii Klimov To: help-guix@gnu.org Subject: How to properly use ssh-askpass in Guix? Date: Sat, 31 Aug 2024 18:12:49 +0100 Message-ID: <878qwcobu6.fsf@lipklim.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=91.218.175.183; envelope-from=eugene.dev@lipklim.org; helo=out-183.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 31 Aug 2024 14:00:42 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 36EE562B54 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.68 X-Spam-Score: -6.68 X-TUID: Jh0e/LrE9pPo Hi, I tried to use Emacs' `vc-pull' and `vc-push' commands, but since my ssh key is passphrase-protected it requires some kind of ssh-askpass type of program. >From output I see that it tries to find ssh-askpass in openssh directory, but there's nothing here (as far as I understand, ssh-askpass is not part of openssh project directly): Running "git pull --stat"... ssh_askpass: exec(/gnu/store/78x0r0r72y865rkbs6vk78wmvd2404c0-openssh-9.8p1/libexec/ssh-askpass): No such file or directory I guess each window manager offers its own variant of ssh-askpass, but I use DWM, so I guess I need something WM independent. I found x11-ssh-askpass package, but it doesn't provide any environment variables or something to make the ssh process aware of it. I get to use this package, binding SSH_ASKPASS variable myself, like: export SSH_ASKPASS="$(guix package -I x11-ssh-askpass | cut -f4)/libexec/ssh-askpass" But it doesn't look clean to me. Am I missing something, or is there a better way? Or does this package need a fix?