From: Tassilo Horn <tsdh@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Store news server authentication credentials for gnus in an encrypted manner.
Date: Tue, 16 Mar 2021 17:09:34 +0100 [thread overview]
Message-ID: <87tupb6pry.fsf@gnu.org> (raw)
In-Reply-To: <CAGP6POL=MEYkDDdEKFM3dF6ZgUOVqJBUwi=8CYCD8fA4-x8+yw@mail.gmail.com>
Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> I noticed the FAQ 3-3 for gnus at
> <https://www.gnu.org/software/emacs/manual/html_node/gnus/FAQ-3_002d3.html>,
> 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
next prev parent reply other threads:[~2021-03-16 16:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 15:26 Store news server authentication credentials for gnus in an encrypted manner Hongyi Zhao
2021-03-16 16:03 ` Vegard Vesterheim
2021-03-18 3:34 ` Hongyi Zhao
2021-03-16 16:09 ` Tassilo Horn [this message]
2021-03-16 16:32 ` Eric Abrahamsen
2021-03-18 2:36 ` Hongyi Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tupb6pry.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).