all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vegard Vesterheim <vegard.vesterheim@uninett.no>
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 17:03:41 +0100	[thread overview]
Message-ID: <871rcfqe5e.fsf@uninett.no> (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")

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

-- 
Vennlig hilsen/Best regards
Vegard Vesterheim
Senior Software engineer
+47 48 11 98 98
vegard.vesterheim@uninett.no



  reply	other threads:[~2021-03-16 16:03 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 [this message]
2021-03-18  3:34   ` Hongyi Zhao
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=871rcfqe5e.fsf@uninett.no \
    --to=vegard.vesterheim@uninett.no \
    --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.
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.