emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: url-auth-tests hang if authinfo is encrypted


From: Colin Baxter
Subject: Re: url-auth-tests hang if authinfo is encrypted
Date: Wed, 05 Apr 2017 07:43:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Dear Ted,
------------ snip -----------
>>
>> 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?
>

This certainly works  - for me at least. The url-auth-tests pass
successfully. I suppose though the change might be a too major to be
accepted as standard.

Best wishes, Colin.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]