[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Store news server authentication credentials for gnus in an encrypte
From: |
Tassilo Horn |
Subject: |
Re: Store news server authentication credentials for gnus in an encrypted manner. |
Date: |
Tue, 16 Mar 2021 17:09:34 +0100 |
User-agent: |
mu4e 1.5.10; emacs 28.0.50 |
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