From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Store news server authentication credentials for gnus in an encrypted manner. Date: Tue, 16 Mar 2021 17:09:34 +0100 Message-ID: <87tupb6pry.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11432"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.10; emacs 28.0.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 16 17:19:46 2021 Return-path: Envelope-to: geh-help-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 1lMCQ4-0002pb-0Y for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 17:19:44 +0100 Original-Received: from localhost ([::1]:45084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMCQ3-0000rs-21 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 12:19:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMCJU-0003bu-HU for help-gnu-emacs@gnu.org; Tue, 16 Mar 2021 12:12:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41100) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMCJU-0007FJ-AO for help-gnu-emacs@gnu.org; Tue, 16 Mar 2021 12:12:56 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:34893) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lMCJS-0005NZ-3j for help-gnu-emacs@gnu.org; Tue, 16 Mar 2021 12:12:55 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id A124C27C0054 for ; Tue, 16 Mar 2021 12:12:53 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 16 Mar 2021 12:12:53 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefvddgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvffuffgjkfggtgesthdtre dttdertdenucfhrhhomhepvfgrshhsihhlohcujfhorhhnuceothhsughhsehgnhhurdho rhhgqeenucggtffrrghtthgvrhhnpeeuieejtddufffgteekleeuteeuvdefvdehiedtud fghfduudetvdffvdfgheevgfenucffohhmrghinhepghhnuhdrohhrghenucfkphepgeei rdektddrjeehrddvfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidq keeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmh grihhlrdhfmh X-ME-Proxy: Original-Received: from thinkpad-t440p (p2e504be7.dip0.t-ipconnect.de [46.80.75.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 0B24F108005F for ; Tue, 16 Mar 2021 12:12:52 -0400 (EDT) In-reply-to: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128424 Archived-At: Hongyi Zhao writes: > I noticed the FAQ 3-3 for gnus at > , > which uses the file ~/.authinfo to store the news server > authentication information with file mode bits set to 600. > > But I want to know if there are some encrypted methods for such a job. > Any hints will be highly appreciated. Yes, you can simply use an encrypted ~/.authinfo.gpg, and emacs will query you for a passphrase when accessing it. Usually, you'd also setup the GPG agent, see (info "(auth) GnuPG and EasyPG Assistant Configuration") Bye, Tassilo