From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 04:43:40 2022 Received: (at submit) by debbugs.gnu.org; 4 May 2022 08:43:40 +0000 Received: from localhost ([127.0.0.1]:41747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAbk-0002Fk-4G for submit@debbugs.gnu.org; Wed, 04 May 2022 04:43:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:41802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAbi-0002Fc-Ap for submit@debbugs.gnu.org; Wed, 04 May 2022 04:43:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmAbi-0004JN-2H for bug-guix@gnu.org; Wed, 04 May 2022 04:43:38 -0400 Received: from jpoiret.xyz ([206.189.101.64]:48930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmAbg-0003Us-7V for bug-guix@gnu.org; Wed, 04 May 2022 04:43:37 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id BA0A6183B04 for ; Wed, 4 May 2022 08:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1651653811; 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=2NTKk9gk/CT8bLPfdTHY2hWuRVt+xfpbDppbdSjmez0=; b=cC9pvQ5XkGG6NNLqcXapvK500Icplxz6lSW4mlYxZVdmuJSL5XVxLyobXrrCvc4E6fRbz0 lsJy9sUN5ppIqTUjdsAH6ueor/r/mD5jpBc07yBp9ELgKZv5yD0/sm1KACOE30HmmAEBD3 1/T8TDcLgdk2NumADzS0uoHaXqp26fqNSO6FDRULOF3EpVAoIRlBUzFuQojNuT0LKD3GBx KHIST888g4uBTjUDGThcYqJ5ZKA0XSECczT2Jl90WcQ2RMM7zZkzZHEvgOczw7iBykHQPG 0dyj69KGrom8mJ9v+evrwdczqQLb6yOMgNgInpVX9jX9MeepSdf5d7Ly4s97FQ== From: Josselin Poiret To: bug-guix@gnu.org Subject: Icedove, external OpenGPG configuration and ld path Date: Wed, 04 May 2022 10:43:30 +0200 Message-ID: <87zgjx6631.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 24 X-Spam_score: 2.4 X-Spam_bar: ++ X-Spam_report: (2.4 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello everyone, Currently, if you want to use a smart card with icedove, you have to enable mail.openpgp.allow_external_gnupg in the config editor, but on Guix, icedove will still not find the key that's on your smar [...] Content analysis details: (2.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=dev%40jpoiret.xyz; ip=209.51.188.17; r=debbugs.gnu.org] 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Hello everyone, Currently, if you want to use a smart card with icedove, you have to enable mail.openpgp.allow_external_gnupg in the config editor, but on Guix, icedove will still not find the key that's on your smart card, because it's unable to dlopen the GPGME library (understandably). For now, my workaround is to launch icedove via `LD_LIBRARY_PATH="$(guix build gpgme)/lib" icedove` I outlined something similar to get icecat to be able to share desktops under wayland [1], this time with the pipewire libraries. This doesn't seem like a great out-of-the-box experience for users, especially since nothing indicates that this is the root of the problem. Is there anything we could do about this? Adding all possible optional deps to LD_LIBRARY_PATH in a wrapper seems a bit overkill, since for example PipeWire's closure is ~800 MiB, depending for example on X libraries, and packagers won't always be able to find 100% of the optional deps that are dlopen'd. WDYT? [1] https://lists.gnu.org/archive/html/guix-devel/2022-04/msg00205.html (8735hx74qw.fsf@jpoiret.xyz) -- Josselin Poiret From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 08:19:56 2022 Received: (at 55258) by debbugs.gnu.org; 4 May 2022 12:19:56 +0000 Received: from localhost ([127.0.0.1]:42012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmDz2-0001l7-K4 for submit@debbugs.gnu.org; Wed, 04 May 2022 08:19:56 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:64273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmDz0-0001ky-KL for 55258@debbugs.gnu.org; Wed, 04 May 2022 08:19:55 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KtbVv0vZ2z3xZc; Wed, 4 May 2022 14:19:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1651666791; bh=vd/kUQYH1mfDxKb/EmCZvfO5LmoWRq889v4OssE8sjE=; h=Subject:From:To:Date:In-Reply-To:References; b=gpuc4Q9uJgsuTxlwjzzmWVWIf0k2vxowfc/k1kXU9Z0kXUyGbvfuyVGgf9VnzbSFD EHv9yQjXwVWxwEvhJJ4S4VqVgqGRrTm9H0kBxp9nJkfPEzZRnNKhr3so9Dax4PizVM BkeAtfOJkJ+5TexNp6sc7QJQKZAtwPa0z6Y3xSQ4= Message-ID: <757b52686b44fc81ca71bccfbbf5ee156091aeeb.camel@ist.tugraz.at> Subject: Re: Icedove, external OpenGPG configuration and ld path From: Liliana Marie Prikler To: Josselin Poiret , 55258@debbugs.gnu.org Date: Wed, 04 May 2022 14:19:50 +0200 In-Reply-To: <87zgjx6631.fsf@jpoiret.xyz> References: <87zgjx6631.fsf@jpoiret.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55258 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Mittwoch, dem 04.05.2022 um 10:43 +0200 schrieb Josselin Poiret: > Hello everyone, > > Currently, if you want to use a smart card with icedove, you have to > enable mail.openpgp.allow_external_gnupg in the config editor, but on > Guix, icedove will still not find the key that's on your smart card, > because it's unable to dlopen the GPGME library (understandably). > > For now, my workaround is to launch icedove via > > `LD_LIBRARY_PATH="$(guix build gpgme)/lib" icedove` > > I outlined something similar to get icecat to be able to share > desktops under wayland [1], this time with the pipewire libraries.  > This doesn't seem like a great out-of-the-box experience for users, > especially since nothing indicates that this is the root of the > problem.  Is there anything we could do about this? Rather than adjusting LD_LIBRARY_PATH, we typically patch the dlopen() call to point to the store. Would this be a workable solution for your problem? > Adding all possible optional deps to LD_LIBRARY_PATH in a wrapper > seems a bit overkill, since for example PipeWire's closure is ~800 > MiB, depending for example on X libraries, and packagers won't always > be able to find 100% of the optional deps that are dlopen'd. True, in the general case we do rely on both rgrep and the package developer making sane decisions, which might not always work out in our favour. As for debugging, strace might be useful to see what the program is trying to do and should be able to detect a failing dlopen call. Cheers From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 28 18:25:28 2022 Received: (at 55258) by debbugs.gnu.org; 28 Sep 2022 22:25:28 +0000 Received: from localhost ([127.0.0.1]:35117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odfUc-0000E5-81 for submit@debbugs.gnu.org; Wed, 28 Sep 2022 18:25:28 -0400 Received: from mout.web.de ([217.72.192.78]:45867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odfUV-0000Dj-NP for 55258@debbugs.gnu.org; Wed, 28 Sep 2022 18:25:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1664403911; bh=6OABFs15V+HqGoSTTY5U7EgyVsZvpMPISCRyy1TAdWY=; h=X-UI-Sender-Class:Date:To:Subject:From; b=BiFIr35xF8NxPVY9nYckvlXJ65yCA+BBHh+U/WeKsWPPO3+W2y4uPsQ8t0EXrPZnk gKjkcWnkE7aKvVuCh2YkXyr/LjqFMzB7RkDE0ffQqtemJk31CpwPK3N+cQYM9pSbT4 kWYcg1H4ejK33N2b0CITD6GnZlUAZCWODefM9M4wu04Cm5cXa/yxJf/O3HFMhKsjrS lbmhvzhMp5hKDntdOXFNbnqnxGzQNXct9JtMSVMeKrL8lJa55dB6+TvnnLArcmScsq 11vl9o3hDX/l/LDtp7mrzCbdofNXOW0SBzpoHJXfFz9wTcVlPEog02oGqSBkESdknK 99LSMmEMDTxhQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.23] ([77.12.172.47]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MbCDq-1pEv3H23ZI-00bigO for <55258@debbugs.gnu.org>; Thu, 29 Sep 2022 00:25:11 +0200 Message-ID: Date: Thu, 29 Sep 2022 00:25:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 To: 55258@debbugs.gnu.org Subject: Icedove, external OpenGPG configuration and ld path Content-Language: de-DE, en-GB From: Jonathan Brielmaier Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:igYRtXiJ8HZed6ySxFPZ9+aw7Anv0SAUj6atFHoOkpJL2TPUwzt GJ9JMUVNgigNywSMIEV779RTVCd6rqyPaNwt2AvWQ/erqttXbUUIhy9FsvVfvnX7Z1OZMjl LxV9elOCUkS5iyBuqltlLgfC91FpEgaoIX08AV2QU8sY59K6Kg9PoOl4v/AZ8zywMQzOviP Ces26ql/LJ7S8HOZufUnQ== X-Spam-Flag: NO X-UI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prh+uWt5gjuHKtFX0 yzUlHvBOkj5ol3/HYuDsNp8bjsb0b5E1Ua0eSkliNdyirAiNkJuiF7XExPufK/xh1IYe4wh0o pxbf00X8OsT5KknW1Ba4edBwslLSo4H+tT1cfVrQDjx5o5DMw+0Gvz0TAU7czySFiYD9m57Mw uNlvf/yOTgzpva3UrHHqd0NSlp X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55258 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) In case of gpgme the size isn't a real problem as it increases the closure of Icedove by about 2-3 MiB. Does it help to set `mail.openpgp.alternative_gpg_path` to something meaningful? From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 29 05:31:33 2022 Received: (at 55258) by debbugs.gnu.org; 29 Sep 2022 09:31:33 +0000 Received: from localhost ([127.0.0.1]:36003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odptF-00068G-7p for submit@debbugs.gnu.org; Thu, 29 Sep 2022 05:31:33 -0400 Received: from jpoiret.xyz ([206.189.101.64]:52948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odptD-000687-J1 for 55258@debbugs.gnu.org; Thu, 29 Sep 2022 05:31:32 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 1108C184D43; Thu, 29 Sep 2022 09:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1664443890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7yIkT46HBFgazcBL8cPLprfsN6kS9DtcaWIONsPUZ3o=; b=qS2atKoS473iqSSI4+yLe7Y1eIMTLEZIRyt7NcL2YlZ1n6+YaTyXZ0rqqHlEjfMPP4zNJ/ f8UUpwFOKtBDf8ApR+1hS8+2zT1vdGKghlySfHNXV31VdkluHuY66x5Wez9C5zcEkN3wgI IoYQxAtIClr1GGwu+wjQJdmRvbu5iPsk4vT4g41jCTf3VyEiJ8SrtWwlX5ljQdawTTFk6l FOhGG084dzB6bFruPwvMa0QtiLKt14Oknmxtnc4OIL/k1roXxkdkJUxCQwBDJssWFx8dpB KON1groXvUN6HFCcYbMvvQ7sTgk0tuNNwlZFINJhx1Ty+jO9h1gfQRU6fsj/cA== From: Josselin Poiret To: Jonathan Brielmaier , 55258@debbugs.gnu.org Subject: Re: bug#55258: Icedove, external OpenGPG configuration and ld path In-Reply-To: References: <87zgjx6631.fsf@jpoiret.xyz> Date: Thu, 29 Sep 2022 11:31:29 +0200 Message-ID: <8735cabk7i.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Jonathan, Jonathan Brielmaier writes: > In case of gpgme the size isn't a real problem as it increases the > closure of Icedove by about 2-3 MiB. > > Does it help to set `mail.openp [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 55258 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Jonathan, Jonathan Brielmaier writes: > In case of gpgme the size isn't a real problem as it increases the > closure of Icedove by about 2-3 MiB. > > Does it help to set `mail.openp [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi Jonathan, Jonathan Brielmaier writes: > In case of gpgme the size isn't a real problem as it increases the > closure of Icedove by about 2-3 MiB. > > Does it help to set `mail.openpgp.alternative_gpg_path` to something > meaningful? IIUC, this variable only denotes the location of the gpg executable, not of the gpgme library itself. I think the only option would be to add LD_LIBRARY_PATH=/gnu/store/xxx-gpgme/lib/:$LD_LIBRARY_PATH to the wrapper unfortunately. Best, -- Josselin Poiret