[MLS] P2P operation of MLS?
Ian <firstname.lastname@example.org> Fri, 14 June 2019 16:57 UTC
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E344120186 for <email@example.com>; Fri, 14 Jun 2019 09:57:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=protonmail.com
Received: from mail.ietf.org ([220.127.116.11]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9QB8XHVia0bC for <firstname.lastname@example.org>; Fri, 14 Jun 2019 09:57:53 -0700 (PDT)
Received: from mail2.protonmail.ch (mail2.protonmail.ch [18.104.22.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF4BD1205FC for <email@example.com>; Fri, 14 Jun 2019 09:57:51 -0700 (PDT)
Date: Fri, 14 Jun 2019 16:57:45 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1560531469; bh=kZnE5uMT1EvDUPA5IevvM6GDn6kk8Z3cqKn5si0B1+s=; h=Date:To:From:Reply-To:Subject:Feedback-ID:From; b=LCCgIyblKI8zNresgE4tVumm+7UftoIFvcHczIixu45imU+K4C/HdZ6X+P2DrEBHv iq0ptvuTaghV/pNxiktR0sBhYVf7mE3GTsOmdzrFfYwVDJUIziEQBGR09jH98KfzBQ iMCMzVvyahOzxgF9K4jTS7RJuf1IUkNWsO2IKfR0=
To: "firstname.lastname@example.org" <email@example.com>
From: Ian <firstname.lastname@example.org>
Reply-To: Ian <email@example.com>
Content-Type: multipart/alternative; boundary="b1_4c5431713387cd5910384d98eee34995"
Subject: [MLS] P2P operation of MLS?
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:firstname.lastname@example.org?subject=unsubscribe>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:email@example.com?subject=subscribe>
X-List-Received-Date: Fri, 14 Jun 2019 16:57:56 -0000
Hi All, I'm the founder of Peergos , a decentralised end-to-end encrypted storage and social network built on top of IPFS . I'm looking for an appropriate protocol for large group chats and was pointed toward MLS. I am looking into the possibility of implementing and using MLS in Peergos in the future. The main thing I currently have questions about is the delivery service (We have a pki that fits perfectly the authentication service). The main question is whether MLS will still work in a fully P2P store and forward network. The setup I'm imagining is logically equivalent to each member of a group storing their own append only list of messages in the group. When they themselves send a message they just append to their own copy. Other members have access to each other member's version, and periodically merge in any new messages to their own copy. This preserves the order of messages from a given user, and ensures that dependent messages are before those that depend on them. Would this suffice? The other related question is if there is a network partition, my understanding so far is the two halves of a group can still continue messaging amongst their partition (in their view the other half is just offline), and eventually the halves could reconnect and merge and receive all the messages from the other half, updating the treekem as they go. Is this correct? One small comment on my readings so far: In my opinion the directory service where the initial key material is obtained from is logically distinct from the delivery service and should be described as such, giving three architectural dependencies. p.s. I live in Oxford (UK) and would love to meet the Oxford based members if they are interested. Many thanks, Ian Preston  https://github.com/peergos/peergos  https://ipfs.io -- Dr Ian Preston Peergos @peergos https://peergos.org