From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +C52COafFmCdcAAA0tVLHw (envelope-from ) for ; Sun, 31 Jan 2021 12:17:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gEA7BOafFmAVEAAAB5/wlQ (envelope-from ) for ; Sun, 31 Jan 2021 12:17:42 +0000 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 32A81940480 for ; Sun, 31 Jan 2021 12:17:41 +0000 (UTC) Received: from localhost ([::1]:40378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6Bff-0002w1-JM for larch@yhetil.org; Sun, 31 Jan 2021 07:17:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Bf2-0002vp-GQ for help-guix@gnu.org; Sun, 31 Jan 2021 07:17:02 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:58676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Bew-0007k2-St; Sun, 31 Jan 2021 07:17:00 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 88398fe1; Sun, 31 Jan 2021 12:16:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=PUZVEY54EpiPXQo0APx/Kmt1B0626wdVNtQ522vmkIo=; b=bUe7IA1TOrwK x7pFMRyo78rg66ndiA1U4MVApCBsacqLaiMldeE17Tvm7qvX2kOK44ZswRYC10wx /ySXrZXrvp0CQKwFnh3SdsvIa+AM4qReDwjOBOirp3DeWWWzELFB8Sss43pc+Sxc fLcUL0lZPdfHiHIvzclidZXtnpF+y39uofWWtKESOLxA+W1RP7N4PxbAdW+QTTB0 cwGr2Y9ZxhZsbPY8M1aNsnksav6g5a1BPMRB9LDQZAtbzTgIgDxkQuYiOy2M0ae5 /Doz9pFdyidxML9ThWIV4In57pJsR6OpgRqCucnKZYLVFK7bcw9OaRy2bZzrbv6E 4/iMKK/RHA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 0477a70a (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 31 Jan 2021 12:16:40 +0000 (UTC) Date: Sun, 31 Jan 2021 07:16:26 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <87h7mxljwx.fsf@posteo.net> References: <87h7mxljwx.fsf@posteo.net> MIME-Version: 1.0 Subject: Re: Yet another locale question on a foreign distro To: help-guix@gnu.org, Fredrik Salomonsson , help-guix From: Julien Lepiller Message-ID: Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=bUe7IA1T; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 32A81940480 X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3xe8vPBN7KTY Does gpg-agent change the locale of the system somehow? What's the locale i= t launches the pinentry with? Does it exist in $GUIX_LOCPATH? Le 31 janvier 2021 01:06:38 GMT-05:00, Fredrik Salomonsson a =C3=A9crit : > >Hi guix, > >I've developed a little tool to use rofi as a pinentry for gpg-agent >called pinentry-rofi=2E It recently landed in guix, note that version >2=2E0=2E2 that is the latest in guix only works if you don't have guile i= n >the same profile=2E > >My current setup is guix running on a foreign distro (Arch Linux)=2E And >I'm currently running pinentry-rofi installed by its package manager >and >it works fine=2E When I submitted the patch to guix, I only ran the tests >and launched the tool from the commandline to make sure it was working=2E >I never did test it with gpg-agent=2E Which was a mistake on my part, as >it seems it does not work with gpg-agent when it's installed via guix=2E > >I tracked down the root of the problem to rofi not being able to set >the >locale=2E The error it return is > >Rofi-WARNING **: 21:16:03=2E115: Failed to set locale > >As far as I can tell my locale is setup properly=2E GUIX_LOCPATH is set >to >the profile I have `glibc-locales` installed to=2E And rofi has no issue >setting the locale when I launch pinentry-rofi from the commandline=2E >It's only when gpg-agent launches it=2E > >I've tried to use both the native gpg package on the foreign distro as >well as the gnupg package on guix (installed to the same profile as >pinentry-rofi)=2E Same issue on both=2E > >If I hardcode LC_ALL=3DC, when pinentry-rofi launches rofi, it works with >gpg-agent=2E But that does not seem like a great solution=2E > >Do anyone have any idea what could be the issue? > >Thanks > >--=20 >s/Fred[re]+i[ck]+/Fredrik/g