From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Vegard Vesterheim <vegard.vesterheim@uninett.no>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Store news server authentication credentials for gnus in an encrypted manner.
Date: Thu, 18 Mar 2021 11:34:14 +0800 [thread overview]
Message-ID: <CAGP6POJMq8HX7GT0JA-Kz-KHSFPppeUwwaU78CgsQgroa+jyew@mail.gmail.com> (raw)
In-Reply-To: <871rcfqe5e.fsf@uninett.no>
On Wed, Mar 17, 2021 at 12:03 AM Vegard Vesterheim
<vegard.vesterheim@uninett.no> wrote:
>
> On Tue, 16 Mar 2021 23:26:14 +0800 Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> > 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.
>
> Encrypt the data with GPG and save the data in ~/.authinfo.gpg.
>
> https://www.masteringemacs.org/article/keeping-secrets-in-emacs-gnupg-auth-sources
> https://www.emacswiki.org/emacs/GnusEncryptedAuthInfo
To be frank, the notes/instructions on emacswiki were written a long
time ago, while the ones on masteringemacs is up to date. So, I prefer
the former.
Regards
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China
next prev parent reply other threads:[~2021-03-18 3:34 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 [this message]
2021-03-16 16:09 ` Tassilo Horn
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGP6POJMq8HX7GT0JA-Kz-KHSFPppeUwwaU78CgsQgroa+jyew@mail.gmail.com \
--to=hongyi.zhao@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=vegard.vesterheim@uninett.no \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.