From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lorenzo Martinico Newsgroups: gmane.emacs.bugs Subject: bug#50953: auth-source-pass should not be limited to a local directory Date: Mon, 04 Oct 2021 21:53:24 +0100 Message-ID: <87tuhw5x6k.fsf@martinico.me> References: <87pmsobfq9.fsf@martinico.me> <877devvll1.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9848"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50953@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 04 22:54:11 2021 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 1mXUyR-0002Ln-0n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Oct 2021 22:54:11 +0200 Original-Received: from localhost ([::1]:48676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXUyO-0002cz-K7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Oct 2021 16:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXUyI-0002cq-8z for bug-gnu-emacs@gnu.org; Mon, 04 Oct 2021 16:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXUyI-0002QI-1E for bug-gnu-emacs@gnu.org; Mon, 04 Oct 2021 16:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXUyH-000340-Pi for bug-gnu-emacs@gnu.org; Mon, 04 Oct 2021 16:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lorenzo Martinico Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Oct 2021 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50953 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50953-submit@debbugs.gnu.org id=B50953.163338082111747 (code B ref 50953); Mon, 04 Oct 2021 20:54:01 +0000 Original-Received: (at 50953) by debbugs.gnu.org; 4 Oct 2021 20:53:41 +0000 Original-Received: from localhost ([127.0.0.1]:38468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXUxx-00033O-3X for submit@debbugs.gnu.org; Mon, 04 Oct 2021 16:53:41 -0400 Original-Received: from mout-p-101.mailbox.org ([80.241.56.151]:19804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXUxs-000337-Fs for 50953@debbugs.gnu.org; Mon, 04 Oct 2021 16:53:39 -0400 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4HNXxP4V4wzQkBS; Mon, 4 Oct 2021 22:53:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martinico.me; s=MBO0001; t=1633380807; 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=nrw6y/u4/Q3lov36jSa6HvYUIJD2PKk6i5Y3+u4lnYg=; b=vJxOYMwHpcyTEDNp3Q3gzC8lWszXfB49HaUo3psYcXh7P57ZCFbgGJA+tMpSpN3ueQpYDU ACZGPnigKY5reVuhOvrqrtrqnnEJ4iErahSx7LC6dOg2ARQTba2zW//TG7Fd3M2S3ZYtXg U22iSvEBSOm3QNyFlVk1KW8WUW2g0Vak2ZYlkl8MQ6SlHE7653Z8tQfftoYXZPwMRhRi3e fHUDB++XgWFb61L77RY01pTwnl/1y1Ux71WN/NZqmJ3hes3zzx6UX9t/KgaG+zMjpEdIjP VqwQIL+GvEbbpA/9w98vs80fPffCu54Re2DoEvNfzptrauP8QLEgxfXlylyNdA== In-reply-to: <877devvll1.fsf@gnus.org> X-Rspamd-Queue-Id: A3892182D 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" Xref: news.gmane.io gmane.emacs.bugs:216391 Archived-At: The pass command is the command to invoke password-store, "the UNIX password manager" (passwordstore.org), which is what auth-source-pass purports to use. On my system, this is an alias for a process that fetches passwords from another host in a compatible way to password store. The vault host is not accessible through ssh, so I can't just change the gpg file location as suggested. Lars Ingebrigtsen writes: > Lorenzo Martinico writes: > >> Apologies if this is not the appropriate mailing list for this >> message. >> I would like to put in a bug report / feature request for >> auth-source-pass to stop using the local file directory and >> just rely on >> the output of the pass command (or provide an option to do that >> instead). > > What's the "pass" command? > > larsi@elva:~/src/emacs/trunk$ type pass > bash: type: pass: not found > >> For context, I would like to be able to use the pass command >> (or rather, >> an alias) to fetch files from a different host on every >> request, but >> not store the gpg files on my local machine. > > Can't you just set the gpg file location to > "/ssh:other-host:.authinfo.gpg"?