From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oDyDHTscH2WcWQEAauVa8A:P1 (envelope-from ) for ; Thu, 05 Oct 2023 22:27:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oDyDHTscH2WcWQEAauVa8A (envelope-from ) for ; Thu, 05 Oct 2023 22:27:39 +0200 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 3BAE446FEB for ; Thu, 5 Oct 2023 22:27:39 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="mSJtjE+/"; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696537659; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GIn3XaxzlVRJL1fZhJ+ktYzyPjzoLHAmeoyFccIdrX4=; b=VTW1gTe4wPS8GF7rF/8Jmk+8n18n65PP2x64RsIAkv4mcq794nDqWvXum6H+o8Yd6+eOtP bIlZjRT3aTvUp0aueWnMuwxOA+cRdRUq/yNiiCYqzLaCsbF95L+QBdJV3nDMUKk00OHiru sNRm480BFthm41Na2mDsJSZJF/z84/Ve1UF3ShiYokPnw98IxRk3hFNP2nn3yePMdR0ErO juI8oZNuvyEmi0nv+6MNIhlnf9dI+78H2Tq10ckeKwvKfLcxKykREkE8AY+lkbia93Qm7F 4BEySjfcWrzFt8oTyttV/notNQ0Yfu9TCBs27SUDFeBbm0f0V1lHrAL8z2LckQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696537659; a=rsa-sha256; cv=none; b=apOKfh3R22X6DH/mAILw2RX5lKeIw8kfc4p9v1jOhQWTzQan3r2vGst560xE4A8lAXJJUR EvDPm9XT9XjBp08xtZga4AXwJvSE4u4RZ6mcJPHsb/1K0v0rVkOxYbN3JdaXq2gECb529r 3bSm/0FtgS+PAmTLQ8XcYdE6WMhoeXUxV8j/8IxhRZ4c5sGuVGpO9Ur4Zzfc4D7O09mib+ 2gZZK+o81SWnJbb/fRMBIV08yAEYXe3iEHq8Q43rI9v2fOh87qillOVXINsS7zY6WLy9J4 PqCJRngAkw58gfx6jME7LYQFhuTbHrN2QezO9hWUGQuYSss0ppAs6hoB78czgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="mSJtjE+/"; 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"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoUw3-0001uX-Dc; Thu, 05 Oct 2023 16:27:03 -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 1qoUw1-0001uN-1j for help-guix@gnu.org; Thu, 05 Oct 2023 16:27:01 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qoUvx-0001Ya-Uw for help-guix@gnu.org; Thu, 05 Oct 2023 16:27:00 -0400 Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-65d5a6230fcso7366266d6.0 for ; Thu, 05 Oct 2023 13:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696537616; x=1697142416; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=GIn3XaxzlVRJL1fZhJ+ktYzyPjzoLHAmeoyFccIdrX4=; b=mSJtjE+/SWnW2+pfwnCzeAEMk6ZTc9fg2m9XxYLfMaQjkaBy5GlBsDP+2E+lfQjksT wY046ZkvU/hD7m+shkFIjXWBuqTnWCrJMkEPzMHbZAfNHofRmmWCxCOyIsib4a5hHzDG ljcyWOEalxC1Jdlv5MYeiKexVFWWOzWPUSapktdgD/wgDONCBvLTv30ZSw4fZjBl0gz8 b1emQebfjkY2oKZj7dUjr51EWVBJjz94bBTPaKMWfHHaeOQSSyMbnn8Mb8aQ4mUqxkxi h5npfd45Gy48K2FhAVk8oqNyPhFTpbfHw1uG1mJMZjrH0F5OckMwofTHLa8sMrXude2U 8uiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696537616; x=1697142416; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GIn3XaxzlVRJL1fZhJ+ktYzyPjzoLHAmeoyFccIdrX4=; b=ABNJvH3gv2p5FSzBUObJoKai0JhWarkadtgZFssrfgr2ulM5I2TM96WdDR73erNIep cNYSOrnWiXrnPFI2gtkatE9T+p/Vr5UpaIa/LgiqrkvoF/JjGYyJnsqH3mjw+qb6vkBP 1gyeC5KIBqh96IK1HJc1L8icMO5AC/cXL4/zfA1JW6GMSixS+eiII+Quj+ecJjxfA97f ZR+MYG1pYTpCejfRVTvMXdw2hq1wYc/C5NAtrDQWNuhPLbJPsayiGaAUBQeYXZBZId8F dRfLqLLGbjxcyNviIFPjcXgkqC6dO42AvWnc6VAGQHfRRRQgN/CWG3uuN3gkkv7AzNHz U6yQ== X-Gm-Message-State: AOJu0YwmAONCp0171/yA6sWQlCW7HCWII96G4h9DGn9YrWqxwhM7H2XB PxT30XoqGXWHVDPrYLtk9WCsroXgSOU= X-Google-Smtp-Source: AGHT+IH/cRxPVTUJR89MpPO+HFa63Z/grtguvYXLtdMKsICydUc7WJQxDqQGfAOVdpFBA7ly4CoKvA== X-Received: by 2002:ad4:5806:0:b0:65a:fc2a:c2ab with SMTP id dd6-20020ad45806000000b0065afc2ac2abmr6554571qvb.49.1696537616685; Thu, 05 Oct 2023 13:26:56 -0700 (PDT) Received: from hurd (dsl-151-116.b2b2c.ca. [66.158.151.116]) by smtp.gmail.com with ESMTPSA id v11-20020a05620a122b00b0076f1d8b1c2dsm748110qkj.12.2023.10.05.13.26.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 13:26:56 -0700 (PDT) From: Maxim Cournoyer To: Caleb Herbert Cc: Subject: Re: Guix Home: SSH won't ask for GPG password In-Reply-To: <1696522726.1167@bluehome.net> (Caleb Herbert's message of "Thu, 05 Oct 2023 09:18:49 -0700 (PDT)") References: <1696522726.1167@bluehome.net> Date: Thu, 05 Oct 2023 16:26:55 -0400 Message-ID: <87jzs0olww.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf34.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -9.54 X-Spam-Score: -9.54 X-Migadu-Queue-Id: 3BAE446FEB X-TUID: saSTlfhxlBKc Hi, Caleb Herbert writes: > Guix System. > > In home-configuration.scm: > (service home-gpg-agent-service-type > (home-gpg-agent-configuration > (pinentry-program > (file-append pinentry-gnome3 "/bin/pinentry")) > (ssh-support? #t))) > > caleb@bender ~$ ssh csh@tty.sdf.org > csh@tty.sdf.org's password: > > This shouldn't happen. Pinentry should come up and ask me for my GPG password. > > gpg-agent.conf looks normal. > > caleb@bender ~$ cat /home/caleb/.gnupg/gpg-agent.conf > pinentry-program /gnu/store/6rlqjdc9ginn4gnkwg8mhqwm015phhrm-pinentry-gnome3-1.2.1/bin/pinentry > default-cache-ttl 600 > max-cache-ttl 7200 > default-cache-ttl-ssh 1800 > max-cache-ttl-ssh 7200 I don't use guix home, but my hand-crafted gpg-agent.conf reads like: --8<---------------cut here---------------start------------->8--- # PIN entry program enable-ssh-support allow-emacs-pinentry # Remember GPG/SSH passwords for longer. default-cache-ttl 28800 # cache GPG on access for 8 hours max-cache-ttl 57600 # keep GPG on cache for a maximum of 16 hours default-cache-ttl-ssh 28800 # cache SSH on access for 8 hours max-cache-ttl-ssh 57600 # keep SSH on cache for a maximum of 16 hours --8<---------------cut here---------------end--------------->8--- Also, it could be caused by the pinentry-gnome3 variant. I remember wrestling with a similar problem in the past, only to find out that it was limited. I now use the canonical 'pinentry' package, which seems most featureful. HTH, -- Maxim