From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] lisp/server.el: Introduction of server-auth-key variable Date: Sun, 1 May 2011 02:58:55 +0200 Message-ID: References: <835b9d42b15c18e5adf7381138f347061fbc17e8.1298381336.git.mina86@mina86.com> <87fwoz5oz1.fsf@erwin.mina86.com> <87bozn5jxp.fsf@erwin.mina86.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304211585 13103 80.91.229.12 (1 May 2011 00:59:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 May 2011 00:59:45 +0000 (UTC) Cc: Michal Nazarewicz , Stefan Monnier , emacs-devel@gnu.org To: Michal Nazarewicz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 01 02:59:40 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QGL0e-0004pz-G3 for ged-emacs-devel@m.gmane.org; Sun, 01 May 2011 02:59:40 +0200 Original-Received: from localhost ([::1]:44345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGL0e-00051Q-17 for ged-emacs-devel@m.gmane.org; Sat, 30 Apr 2011 20:59:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGL0b-000519-Dk for emacs-devel@gnu.org; Sat, 30 Apr 2011 20:59:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGL0a-0003UO-AZ for emacs-devel@gnu.org; Sat, 30 Apr 2011 20:59:37 -0400 Original-Received: from mail-yi0-f41.google.com ([209.85.218.41]:61360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGL0a-0003UK-6X for emacs-devel@gnu.org; Sat, 30 Apr 2011 20:59:36 -0400 Original-Received: by yib18 with SMTP id 18so2011632yib.0 for ; Sat, 30 Apr 2011 17:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=EeHs3XEGwQ0MON/sQmC/0JrB3DoUhfdnW5lZhl9odfQ=; b=hHmmoQtK9V/X9Q/tqnytEBrjI9ZKcdvypgUmTMvHKOpSf3Bts2c+oF8kjzjxCczZY9 oyq2JMa5Z1dVSXaBkj6LZOfDu7pxmbaPjXZKxH1YIk1gAH/zW4NzOgFqTNdKrXTxUUAh a1SpGV+eWO2l9U6p2tNNj9G8KrIKZ/Vp9uxxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=NbGP/SBfj2t8mYpGfxaGA4g3jMgNCQXl/LmB9pQTABEsmPMYlD2dNIGqOnn4P+E+aH aTqAyC8AYfr1eLNDShoBZIZaJpZK4Bk9VOGVEH2uY/urMmBtTe73EnKl1fpx2h4uMi4e PF6DgK1i7r1RMyDbParner/4/aNSYkLrdV91A= Original-Received: by 10.146.33.3 with SMTP id g3mr5475775yag.23.1304211575190; Sat, 30 Apr 2011 17:59:35 -0700 (PDT) Original-Received: by 10.147.182.5 with HTTP; Sat, 30 Apr 2011 17:58:55 -0700 (PDT) In-Reply-To: <87bozn5jxp.fsf@erwin.mina86.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.218.41 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:138937 Archived-At: 2011/5/1 Michal Nazarewicz : > My reading of searver.el is that anything other then -auth is consider > a failed authentication. Yes, sorry, my mistake. > How about adding additional information to the server file which would > just be ignored by old clients but new client would read it and use the > new authentication. =C2=A0My reading of emacsclient.c is that it ignores > anything after reading the key. That's a good idea. > Actually, now that I look at it, it seems that the patch needs some more > works since both server and client have some assumption about the key > (eg. client reads exactly 64 bytes). =C2=A0I'll take care of it on Monday= . Which patch, yours adding server-auth-key you mean? =C2=A0 =C2=A0 Juanma