From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: A new collaborative editing package (maybe tangent) Date: Thu, 4 Jan 2024 16:33:55 -0800 Message-ID: References: <3E633CB5-B727-4933-8CF1-E1044CF39E70@gmail.com> <402A5724-BDDC-49A3-BE51-E122FB05D494@gmail.com> <87wmspwmiw.fsf@web.de> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15971"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, emacs-devel@gnu.org To: "Dr. Arne Babenhauserheide" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 05 01:34:50 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rLYAj-0003vo-Pa for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Jan 2024 01:34:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLYA7-00075e-Nv; Thu, 04 Jan 2024 19:34:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rLYA6-00075I-HP for emacs-devel@gnu.org; Thu, 04 Jan 2024 19:34:10 -0500 Original-Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rLYA5-0000Gj-02; Thu, 04 Jan 2024 19:34:10 -0500 Original-Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1d3aa0321b5so7970075ad.2; Thu, 04 Jan 2024 16:34:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704414847; x=1705019647; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hRxivmY3s2MWTTTkNGChJD2xI3eAutCD8w799/2nsDc=; b=D2Svs37CyvuIMpN8hL7IE166aC9jYfwn6i8Kcg0NztYAs0bLRYId59T7LBS8Xn5Lwp xIoTO66/Sva+PGAaHMygFnYQ5DAt3eENy87+0Zhjv9hqdBpnLiAuGYkPDcN/pjSS0Amt FTgLPpYc+Uhm/XQCu7xVJh/rYd4HPBWxV+/nHcWb1qq3XDzWHjT8bkxTFTAOw+vK+fgg pSRuuy8Hm4d6wv3W+AWgmn3oeW63B+kx4JNC0vFtTs/FY56JUV94kKvY/zkZUi5wE86w JpvWGEfWFNogpfb9HxLW07GMRLDbrVWTsvCN6D1C2+8LTDNj1HQQIDLMuoENw2i3fVY/ +wKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704414847; x=1705019647; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hRxivmY3s2MWTTTkNGChJD2xI3eAutCD8w799/2nsDc=; b=f24LJAmNE+i05DnjsInAECCkUodIJUgXJEyUtR4iqaYceNsXM3xxdzLZwHV2NUTj4R 3tDL/jmH6wpQ0pDCTtjFqOeCedugwb7skyPmM/Nm+IcA6oKJK+N04yckriAheulfbLN9 56cKdM8v5jCnMvYTyJMoIHiGFPLeZ9IcI5rZvmkJO+1XZoiNgEnewKSHMQ2sJ5YQRaM0 hsGVt/bN+QQAASySbmwmRBT5XioG9K4ySiJJrwt18s9BWepxA7HIiZ+ghaxlkJic5doW FJBiqbwnilLY4kEUR2wbesp/bkUFr376hAFXU6PYbj9fk+q1ZgjT508ZzeXTxxp7gYZU S/xg== X-Gm-Message-State: AOJu0Yyqh1j7r35P47tWs+4MabYyVvrdt0A0eaB/BHwXPXa7oi7C5HtC irPGQtkj8rDqwFoOCO5q6goSBbOoT/o= X-Google-Smtp-Source: AGHT+IGTClzXMMPwYVaABPuA6b+kfmHoeSPviDiL+DpkYABNNQKLhpf8amUQtmIh8oYdyBsMQAf3Pg== X-Received: by 2002:a17:902:e884:b0:1d4:1f0d:676c with SMTP id w4-20020a170902e88400b001d41f0d676cmr1559508plg.105.1704414846968; Thu, 04 Jan 2024 16:34:06 -0800 (PST) Original-Received: from smtpclient.apple (172-117-161-177.res.spectrum.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id s7-20020a170902ea0700b001d4160c4f97sm193611plg.188.2024.01.04.16.34.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jan 2024 16:34:06 -0800 (PST) In-Reply-To: <87wmspwmiw.fsf@web.de> X-Mailer: Apple Mail (2.3731.700.6) Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=casouri@gmail.com; helo=mail-pl1-x62b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314545 Archived-At: > On Jan 4, 2024, at 12:02 AM, Dr. Arne Babenhauserheide = wrote: >=20 >=20 > Richard Stallman writes: >> What we should do now, however, before installing anything, >> is decide what architecture we want to use for collaborative editing. I don=E2=80=99t think we are installing anything into Emacs. = Collab-mode, if ever completes, will be like any other Emacs package. >>=20 >> For instance, is this the right protocol to use? >> Do we want to base communication on this protocol? >=20 > The decision for OT seems to already be taken and may not be easy to > change midflight, so I don=E2=80=99t know whether discussing this part = has much > merit. Also, since what ever protocol collab-mode uses will be limited to = collab-mode itself, I don=E2=80=99t think the protocol is very = interesting to discuss anyway. >=20 >> Should we base access control on logging in to some other sort >> of service? Could we base it on access to a repo which is where >> the shared document is to be stored? >=20 > And which methods are already well-supported in Rust? I=E2=80=99ve thought about using public keys for authentication. Users = would share their public keys through secure side-channel, then it=E2=80=99= s easy to verify you are connecting to the person you think you are = connecting to. I also thought about adding OpenID support to the signaling server, such = that the signaling server can endorse each user=E2=80=99s identify. Is = is obviously more complicated, and requires the user to trust the = signaling server. Yuan=