From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arsen =?UTF-8?Q?Arsenovi=C4=87?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67937: 30.0.50; auth-source-pass relies on epa-file being enabled Date: Wed, 20 Dec 2023 20:11:20 +0100 Message-ID: <87jzp8of97.fsf@aarsen.me> References: <8734vwq06i.fsf@aarsen.me> <83frzwhgre.fsf@gnu.org> Reply-To: Arsen =?UTF-8?Q?Arsenovi=C4=87?= Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38045"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67937@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 20 20:18:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rG25B-0009hW-9B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Dec 2023 20:18:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rG24u-0002fY-W3; Wed, 20 Dec 2023 14:18:01 -0500 Original-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 1rG24t-0002fP-3w for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 14:17:59 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rG24s-0007Z3-Rf for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 14:17:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rG24v-0003AA-NR for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2023 14:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arsen =?UTF-8?Q?Arsenovi=C4=87?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Dec 2023 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67937 X-GNU-PR-Package: emacs Original-Received: via spool by 67937-submit@debbugs.gnu.org id=B67937.170309986512133 (code B ref 67937); Wed, 20 Dec 2023 19:18:01 +0000 Original-Received: (at 67937) by debbugs.gnu.org; 20 Dec 2023 19:17:45 +0000 Original-Received: from localhost ([127.0.0.1]:41804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rG24e-00039a-SD for submit@debbugs.gnu.org; Wed, 20 Dec 2023 14:17:45 -0500 Original-Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]:43052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rG24a-00039I-0J for 67937@debbugs.gnu.org; Wed, 20 Dec 2023 14:17:43 -0500 Original-Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4SwNc728dJz9sl4; Wed, 20 Dec 2023 20:17:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1703099847; h=from:from: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; bh=/+syZnutwGkv0ZdRNoS36hEntKVV89aOwS+PJ8cqJnY=; b=IEWYsOzbE+E5gTPzyAYQOUOCs5+lciTqMqFgVVWv3mpJgQOKhxGX2CPhVz2X7a/8KOHMrB AaymdhZp0JNMrmgfdlHjR5X7VQMLgvl9op5n8GQBxtpr/gVsmYi9yse0WDjUTMI/tfUPxD zIHahOaifp/P9t+sD3GTkGyBa6I/ynZrEQwPexCILh7hbkZtOOmW2Hog8GK161Jy+ramy3 TfrBN5n4+sPqzVfhH2rfvge1JRKnL5lH8VWRpfMtrNAt9gOdZNukMcFNoR/PwMCHd5ETHt JApnysJK8HM9fudNjxgllzsGQdAA+r8XKPzPIFR43zzL58RyV+eKvHQdHCw9eQ== In-reply-to: <83frzwhgre.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276587 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Evening Eli, Eli Zaretskii writes: >> Date: Wed, 20 Dec 2023 17:57:28 +0100 >> From: Arsen Arsenovi=C4=87 via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> It would seem that auth-source-pass relies on epa-file being enabled to >> be able to decrypt passwords. >> >> Repro steps: >> - emacs -Q >> - M-x epa-file-disable >> - M-: (auth-source-pass-get 'secret "something") >> >> You will see a GPG-encrypted data string. >> >> epa-file-disable should not break the auth-source. > > Please tell more about what you mean by "break". What I mean by that is 'You will see a GPG-encrypted data string'. The source returns an encrypted string rather than its contents. This isn't auth-source-search (which is what I should be using for the demo), but the actual search returns the same result (which I noticed when debugging smtpmail failing to authenticate). > When I try the above in the latest master, I get nil and nothing else. > If that is deemed "breakage", I guess I'm missing something, so I'd > appreciate if you tell more about the problem you see. > > Thanks. > > P.S. And apologies if what I say makes no sense because I don't use > auth-source-pass. Right. "something" here is a placeholder for an actual password-store entry (e.g. email/dev.gentoo.org:smtps), and you need a password-store to reproduce the problem. Apologies for the lack of clarification, I was writing in a hurry. Have a good one! =2D- Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYKAC4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZYM9xBAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTWQAA/RoBgq0exuAP0cstZvV7gThWt+Y5SRR4SEN+ 1f1ouFcCAP4nUEM8EQ4ysCXdGMy6/8WVauy+l6by+LTkJyWIUW6DCg== =SL2J -----END PGP SIGNATURE----- --=-=-=--