[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to set gnus authinfo file
From: |
Ted Zlatanov |
Subject: |
Re: how to set gnus authinfo file |
Date: |
Mon, 11 Jul 2016 11:18:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
On Sat, 09 Jul 2016 10:17:50 +0200 Tassilo Horn <tsdh@gnu.org> wrote:
TH> asjo@koldfront.dk (Adam Sjøgren) writes:
>>> Ha, this is my idead: since `authinfo.gpg' is only for Gnus mail
>>> authentication, why not put it under emacs directory? File under
>>> home (~/.authinfo.gpg) should be used for the whole user
>>> account. Is this reasonable?
>>
>> Do any other programs use ~/.authinfo.gpg?
TH> I think so.
TH> ,----[ (info "(auth)Overview") ]
TH> | The auth-source library is simply a way for Emacs and Gnus, among
TH> | ^^^^^
TH> | others, to answer the old burning question “What are my user name and
TH> | ^^^^^^
TH> | password?”
TH> `----
TH> And looking at my ~/.authinfo.gpg, I have at least two entries which are
TH> not mail servers although I cannot remember why I've put them there.
TH> One of them is the old Gnus git repository, so maybe Magit/VC are able
TH> to read credentials there when pushing?
Outside Emacs, I wrote a credentials plugin for Git that uses it:
https://git.kernel.org/cgit/git/git.git/tree/contrib/credential/netrc
Ted