1
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
On decentralized secure channel setup using Ethereum accounts
Ramses Fernandez
Vac – Applied Cryptography & ZK
Institute of Free Technology
2
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Structure
This presentation is divided into the following parts:
3
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Main results
We introduce a protocol which combines:
4
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Motivation
The usual approach to group messaging is based on a ratcheting scheme called Sender Keys.
Sender Keys offers good security properties, and is a great solution for 1 – to – 1 communications but it is not that efficient in group communications
This is where MLS comes into play, offering an efficient and well established mechanism for setting a common group key which can be used for communications in group of thousands of users.
The main problem in our setting is that MLS is not decentralized by design. And that’s the main motivation of this research: we present an architecture which makes use of smart contracts for the management of groups, with the view on a decentralized communication protocol.
5
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
6
Sender Keys
Sender Keys is the backbone of WhatsApp, Signal, and others.
Its main components are:
6
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Basics on the MLS protocol…
The MLS protocol is designed to facilitate efficient and secure messaging within groups ranging from just a couple of users to potentially thousands. It brings:
1. Flexible implementation.
2. Forward secrecy.
3. Post-compromise security.
7
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
… and treeKEM
It is the underlying mechanism for the MLS protocol.
It works as a combination of recursive hashing and a final KDF step.
8
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Confusing concepts
9
9
Forward secrecy ensures the confidentiality of past messages in the event of a key exposure.
Post-compromise security ensures that security can be restored after a key exposure.
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
MLS
The main drawbacks of the MLS protocol for our interests are:
10
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
The smart contract approach
The way we plan to increase the decentralization level is creating a smart contract in charge of managing the state of a group.
In this first stage, since MLS has tools for group authentication, the smart contract will only store an Access Control List (ACL).
11
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Login Protocol
One of the main differences between our decentralized version of the MLS and solutions currently available will be the inclusion of a modular decentralized login protocol.
This protocol will include session management, and will be controlled by a separate smart contract.
12
This
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Basic architecture
13
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Basic architecture (user connection)
Below follows the connection between users:
14
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Comparison with other solutions
Currently, most of the existing messaging applications:
Our deMLS project aims at providing:
15
15
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Future work
Next steps in this project include:
16
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
Questions?
17
_
IFT Research Call
Institute of Free Technology – Vac
_
October 2024
18
IFT Research Call
Institute of Free Technology – Vac
_
October 2024