unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Store news server authentication credentials for gnus in an encrypted manner.
Date: Tue, 16 Mar 2021 09:32:03 -0700	[thread overview]
Message-ID: <878s6nt5z0.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <CAGP6POL=MEYkDDdEKFM3dF6ZgUOVqJBUwi=8CYCD8fA4-x8+yw@mail.gmail.com> (Hongyi Zhao's message of "Tue, 16 Mar 2021 23:26:14 +0800")

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.

You can just use a ~/.authinfo.gpg file, and everything will work
correctly (assuming GPG encryption/decryption is already working for you
in Emacs).

Eric



  parent reply	other threads:[~2021-03-16 16:32 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
2021-03-16 16:32 ` Eric Abrahamsen [this message]
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=878s6nt5z0.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=hongyi.zhao@gmail.com \
    /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).