From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67937: 30.0.50; auth-source-pass relies on epa-file being enabled Date: Thu, 21 Dec 2023 11:45:41 +0200 Message-ID: <83y1dnga7u.fsf@gnu.org> References: <8734vwq06i.fsf@aarsen.me> <83frzwhgre.fsf@gnu.org> <87jzp8of97.fsf@aarsen.me> <83bkakhe8s.fsf@gnu.org> <87msu4myau.fsf@aarsen.me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21027"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67937@debbugs.gnu.org To: Arsen =?UTF-8?Q?Arsenovi=C4=87?= , Damien Cassou , "F. Jason Park" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 21 10:47:38 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 1rGFeT-0005HI-Bi for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Dec 2023 10:47:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGFe6-0005pX-QI; Thu, 21 Dec 2023 04:47:14 -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 1rGFdq-0005of-G4 for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2023 04:47:05 -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 1rGFdq-0001q3-76 for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2023 04:46:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGFdt-00007q-LL for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2023 04:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Dec 2023 09:47: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.170315197332071 (code B ref 67937); Thu, 21 Dec 2023 09:47:01 +0000 Original-Received: (at 67937) by debbugs.gnu.org; 21 Dec 2023 09:46:13 +0000 Original-Received: from localhost ([127.0.0.1]:42425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGFd6-0008KT-VG for submit@debbugs.gnu.org; Thu, 21 Dec 2023 04:46:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGFd1-00087D-4y for 67937@debbugs.gnu.org; Thu, 21 Dec 2023 04:46:11 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGFcq-0001fk-IG; Thu, 21 Dec 2023 04:45:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=m+wOow8a8u+xoiMbpZ+cVGmt+941Uu2ss9reInW3g5M=; b=o3+ns/XiP/WdrWqPYLbZ +/72PuFsf1aMeHeskrS/0YLBRLchWq1alCizVKKGB6lSkUAfUCBOyEY3Tfpf9OX0TcSKxyAmlesh5 wSrJCE7l/n76uJhoI/m4jL46dfXzwSRZad8AfvPqlcxbeodpTxJCyH2ACJ5rQsWOp540/4ywfMBI/ lCEJbWwUN4addI0Oe4z6WGWQ1lKfk6neIuB65e0KJ2mhg46mEh58K7N+hUMAMuS7h9reqA2ELl2XE oA8QClryVU+Lqo2YjoP87ji9owQejNKcwbokaU2N5I9DBUYxOgCgmGqC+FxhUnkyzVtA681U9qKuI AQzqZhXAX9iOxA==; In-Reply-To: <87msu4myau.fsf@aarsen.me> (message from Arsen =?UTF-8?Q?Arsenovi=C4=87?= on Wed, 20 Dec 2023 20:58:08 +0100) 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:276619 Archived-At: > From: Arsen Arsenović > Cc: 67937@debbugs.gnu.org > Date: Wed, 20 Dec 2023 20:58:08 +0100 > > > How can it decrypt the string when you disable decryption? What is > > the replacement of epa-file that would decrypt the data string? > > Even with epa-disable, it could use epa-decrypt-region to decrypt the > password from the file. > > For some context, I'll briefly summarize how password-store (pass) > works: pass stores credentials as one line representing the secret and > the rest being aux data (usually usernames and similar) in each file. > One file represents one set of credentials, encrypted via PGP (an > example filename is > ~/.password-store/gentoo/gentoo.org/arsen@gentoo.org.gpg). > > To get a given password from a given password store entry, > auth-source-pass needs to decrypt this file and get the first line of > the decrypted contents. > > Currently, auth-source-pass relies on epa-file facilities to decrypt the > password entries, but those do nothing after epa-file-disable. Instead, > it should use something like epa-decrypt-region or such (sorry, not too > familiar with EasyPG). > > AIUI, epa-file-disable disables *automatic* decryption, not all forms of > decryption. Thanks. So it sounds like you are asking for a feature that currently doesn't exist, AFAIU. I added a couple of people to this discussion who were involved with auth-source-pass, in the hope that they will have suggestions and comments.