From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: url-auth-tests hang if authinfo is encrypted Date: Fri, 07 Apr 2017 08:22:31 +0100 Message-ID: <8760igwuko.fsf@yandex.com> References: <877f311enn.fsf@yandex.com> <87k2702pi6.fsf@lifelogs.com> <87bmscvt33.fsf@yandex.com> <878tnfz75u.fsf@yandex.com> <87wpaz0yji.fsf@lifelogs.com> <87shllibcz.fsf@vabi> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1491549930 1639 195.159.176.226 (7 Apr 2017 07:25:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 07:25:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: , emacs-devel@gnu.org To: Jarno Malmari Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 07 09:25:22 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwOGd-0006cK-Ci for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 09:25:11 +0200 Original-Received: from localhost ([::1]:49359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwOGh-00037V-E9 for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 03:25:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwOEH-0001ur-Qj for emacs-devel@gnu.org; Fri, 07 Apr 2017 03:22:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwOED-0001MH-SU for emacs-devel@gnu.org; Fri, 07 Apr 2017 03:22:45 -0400 Original-Received: from forward1m.cmail.yandex.net ([5.255.216.2]:39577) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cwOED-0001Jx-HN for emacs-devel@gnu.org; Fri, 07 Apr 2017 03:22:41 -0400 Original-Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [IPv6:2a02:6b8:0:f05::117]) by forward1m.cmail.yandex.net (Yandex) with ESMTP id 19A68210A5; Fri, 7 Apr 2017 10:22:37 +0300 (MSK) Original-Received: from smtp3h.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id 0F3B244109A; Fri, 7 Apr 2017 10:22:35 +0300 (MSK) Original-Received: by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id oKpDGTj64U-MYUOfZeG; Fri, 07 Apr 2017 10:22:34 +0300 (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1491549754; bh=r9LpVQxyPnzZp9PUhdc9p0gB++eX26ZscgYxT0sKmWI=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=lOa4RmHk/cyzFv3tq0isS6+ZH6L+aUo7iLLkXd1kM3KTcLEeZJTMdSjpVzUQRgvcL WotP3woTBHP6ju+Q5MJlmJEIf34y9qQjhLk2xDUVkwbHE3i31s4jqWM2zqTJnIKTRs HADq1/EKyg1dnoNKkDxievI9bYZhCPajFFoVdCz4= Authentication-Results: smtp3h.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 0,1 0 In-Reply-To: <87shllibcz.fsf@vabi> (Jarno Malmari's message of "Thu, 06 Apr 2017 22:29:00 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAAAFz UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAxQ TFRF8d8Gwx4p07Wi////YneHdQAAAAFiS0dEAxEMTPIAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAFZ SURBVCjPZZLBasJAEIYnEgveVoiheuyhoE+RQh/AihPMnnrohsan8NAHsOAG9CRiSrNP2X8mpj10 TvPxz+7M/rNEiOFmcqU+tnV56POo+gpVdoM7b729wThlxOFZIS4UTKdIzm+Jgpkr3Es+Yi1j9wpI g+Z1vQdU7KzPG0jo6Ji3YQuwRAPPHBDMRUZDz1ag4TzDLKhSsDsauA5aUR4bPQIo9jTlTgls9zTz UC5a9k5zXtvw+QDgKxXSJhlLI4dp8hAoFtiQA3xnsTQqUIYBnswCUOICgCFRDpTKmTgROFPkpWwV gs+XFBVQLiPAEU/onoOrV4ZM3cOLoWTaTy2eFv17HDyFIVZyXpPCLIQrDFHfRPEypyq5QgWYiM+t WA9YcBf5WZbYGZ+XYnxUeoVWt1p52ZDtlj9ueO24Xzc6Hbm9/YNTqNNT/0VSl3y45e/niQzt/iCj f/EDBae52Zd5lNIAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDItMjFUMTU6MjI6MTgrMDA6MDAy vBNIAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE3LTAyLTIxVDE1OjIyOjE4KzAwOjAwQ+Gr9AAAABF0 RVh0anBlZzpjb2xvcnNwYWNlADIsdVWfAAAAIHRFWHRqcGVnOnNhbXBsaW5nLWZhY3RvcgAxeDEs MXgxLDF4MemV/HAAAAAASUVORK5CYII= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.255.216.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213731 Archived-At: Dear Jarno, On Thu, Apr 06 2017, Jarno Malmari wrote: >>>> Ted Zlatanov wrote: >>>>> I think the user's personal setup shouldn't affect the tests. > > Yes, definitely should not. > >>>> 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. > > How are people running the tests? > > The tests are currently not testing the contents of any authinfo files > so setting auth-sources to nil would work. For example: > emacs -Q -batch --eval='(setq auth-sources nil)' -l ert -l > test/lisp/url/url-auth-tests.el -f ert-run-tests-batch-and-exit This is wonderfully elegant, but a simple-minded user - like me - could perhaps blindly use 'make check' and be puzzled by the result. Best wishes, Colin.