From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Emacs RPC security Date: Tue, 03 May 2011 03:34:06 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87d3kal0za.fsf@lifelogs.com> <874o5mky4o.fsf@lifelogs.com> <871v0hudzo.fsf@lifelogs.com> <87vcxsswox.fsf@lifelogs.com> <87pqo0fx52.fsf@lifelogs.com> <87d3k0fuyr.fsf@lifelogs.com> <87zkn4efq0.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304386470 15369 80.91.229.12 (3 May 2011 01:34:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 May 2011 01:34:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 03 03:34:25 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 1QH4VL-00031R-Ce for ged-emacs-devel@m.gmane.org; Tue, 03 May 2011 03:34:23 +0200 Original-Received: from localhost ([::1]:59409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH4VK-0003SZ-LO for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 21:34:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH4VH-0003ST-I5 for emacs-devel@gnu.org; Mon, 02 May 2011 21:34:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QH4VG-00053i-1x for emacs-devel@gnu.org; Mon, 02 May 2011 21:34:19 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH4VF-00053e-PL for emacs-devel@gnu.org; Mon, 02 May 2011 21:34:18 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QH4VF-0002zE-3r for emacs-devel@gnu.org; Tue, 03 May 2011 03:34:17 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 May 2011 03:34:17 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 May 2011 03:34:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 20 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Mail-Copies-To: never X-Now-Playing: Beth Sorrentino's _Nine Songs, One Story_: "Amazing" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:J3o20IOPoVSvz6ufUIucqP+ehnc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:139034 Archived-At: Ted Zlatanov writes: > ssh+ssh-agent has a user name and can authenticate the host keys. Emacs Server has a secret it authenticate, which is pretty much the same thing. > It has many other feature server.el doesn't, so it's like only root > SSH access was ever allowed. Most importantly, it has PPK > authentication so there is no shared secret passed around unless the > server allows password authentication. Well, if the Emacs Server connection was encrypted, it'd be rather similar. You need access to the agent to subvert ssh+ssh-agent, and you need access to user-read-only files to access the Emacs Server. Not much difference (in principle), except for the transport layer security. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/