From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jarno Malmari Newsgroups: gmane.emacs.devel Subject: url-digest-auth QOP implementation Date: Sat, 09 May 2015 15:25:03 +0300 Message-ID: <1431174303.2676729.264800413.4752B154@webmail.messagingengine.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1431174330 10196 80.91.229.3 (9 May 2015 12:25:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 May 2015 12:25:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 09 14:25:21 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yr3on-0001KH-ID for ged-emacs-devel@m.gmane.org; Sat, 09 May 2015 14:25:21 +0200 Original-Received: from localhost ([::1]:59167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yr3om-00058Q-UE for ged-emacs-devel@m.gmane.org; Sat, 09 May 2015 08:25:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yr3oa-00056l-HJ for emacs-devel@gnu.org; Sat, 09 May 2015 08:25:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yr3oX-0003X7-Bv for emacs-devel@gnu.org; Sat, 09 May 2015 08:25:08 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yr3oX-0003Tc-0Y for emacs-devel@gnu.org; Sat, 09 May 2015 08:25:05 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 79AE32071A for ; Sat, 9 May 2015 08:25:03 -0400 (EDT) Original-Received: from web2 ([10.202.2.212]) by compute4.internal (MEProxy); Sat, 09 May 2015 08:25:03 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=malmari.fi; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=0uY mIpCXfWQtSxvVXnkOYd2Q3x4=; b=gWStl55BlTjvp1EOHLonlee6Vpq2dfCtkQt QzEEiMt3LFUgqjNNJRVNDbhFdDMAekTLxMmFwceKQ7991GbO7kSULbeFsDk/7x0U QktZV7lZTt5+mPWGNEcTp6Q99brJeZ09qZ86S5QlVGrShjvPCWvxfr3QyF1zewsE nZPulMbw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=0uYmIpCXfWQtSxvVXnkOYd2Q3x4=; b=Abmyd duxTykdbNU9qJS+WyNO7DgjSl0+3hhEsySshGzZuEJYMtqlrF79GHuGgd7l9s3DL C1mka6UCexpw1/lJ1rHeZRtBMoudKSadsf098mf7utdI26b/RCJ35bVNTUkir/x+ IaeRJ+KS1M7hdJS3tIKRWoUfmWMi79TarR0MoY= Original-Received: by web2.nyi.internal (Postfix, from userid 99) id 5362254025B; Sat, 9 May 2015 08:25:03 -0400 (EDT) X-Sasl-Enc: WgpitVkD7D77bUoBBB4Ozg5qBNVxcQ+P1cVXVRI0Lmyf 1431174303 X-Mailer: MessagingEngine.com Webmail Interface - ajax-102d4956 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186359 Archived-At: Greetings. I've partially implemented the qop=auth in HTTP Digest Authentication (RFC 2617) for the Emac Url package. Change was motivated by running into servers that had dropped backward compatibility for qop-less clients. In order to implement the qop=auth I needed to refactor the old url-digest-auth* functions. I added some tests to check I don't break too much of the old functionality. Git summarizes the change as follows: lisp/url/url-auth.el | 391 ++++++++++++++++++++++++++++++++++++++++++++++++----------------- test/automated/url-auth-tests.el | 293 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 582 insertions(+), 102 deletions(-) If we were to get these changes in, to who should I send the patches for a review? Other ideas and concerns are welcome also, of course. Thanks -- Jarno Malmari