[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: url-auth-tests hang if authinfo is encrypted
From: |
Ted Zlatanov |
Subject: |
Re: url-auth-tests hang if authinfo is encrypted |
Date: |
Wed, 05 Apr 2017 09:33:21 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
On Wed, 05 Apr 2017 07:43:09 +0100 Colin Baxter <address@hidden> wrote:
>> Ted Zlatanov wrote:
>>> I think the user's personal setup shouldn't affect the tests.
>>>
>>> The solution can be either automatic (auth-source knows it's inside a
>>> test, or EPG doesn't try to decrypt in a test environment) or explicit
>>> (tests override `auth-sources' and/or EPG). For the automatic
>>> option, I can add the code to auth-source if anyone can suggest how to
>>> tell it's inside a test environment.
>>>
>>> Maybe others can think of other options?
>>>
>>
>> Would it help if users like me were to move their encrypted authinfo
>> away from $HOME by using something like
>>
>> (setq auth-sources
>> '((:source "~/some/other/path/to/.authinfo.gpg")))
>>
>> in their ~/.emacs?
CB> This certainly works - for me at least. The url-auth-tests pass
CB> successfully. I suppose though the change might be a too major to be
CB> accepted as standard.
Your suggestion is the explicit option, which has the downside that
every test has to do it, but yeah that would work.
On Tue, 04 Apr 2017 18:04:39 +0200 Andreas Schwab <address@hidden> wrote:
AS> I think the test environment should set up a separate HOME for emacs to
AS> read all its startup files.
I think that's better than the explicit option. At least for this case,
and probably in general. Can anyone think of reasons not to do it?
Ted
- Re: url-auth-tests hang if authinfo is encrypted, (continued)
Re: url-auth-tests hang if authinfo is encrypted, Ted Zlatanov, 2017/04/04
- Re: url-auth-tests hang if authinfo is encrypted, Andreas Schwab, 2017/04/04
- Re: url-auth-tests hang if authinfo is encrypted, Colin Baxter, 2017/04/04
- Re: url-auth-tests hang if authinfo is encrypted, Colin Baxter, 2017/04/05
- Re: url-auth-tests hang if authinfo is encrypted,
Ted Zlatanov <=
- Re: url-auth-tests hang if authinfo is encrypted, Jarno Malmari, 2017/04/06
- Re: url-auth-tests hang if authinfo is encrypted, Colin Baxter, 2017/04/07
- Re: url-auth-tests hang if authinfo is encrypted, Eli Zaretskii, 2017/04/07
- Re: url-auth-tests hang if authinfo is encrypted, Colin Baxter, 2017/04/07