KIT | KIT-Bibliothek | Impressum | Datenschutz

Towards System-Oriented Formal Verification of Local-First Access Control

Jacob, Florian ORCID iD icon 1; Stuber, Johanna; Hartenstein, Hannes 1
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract:

Conflict-free replicated data types (CRDTs) and the local-first concept are increasingly employed not only in small-scale collaboration systems among few users who trust each other, but also in large-scale systems, like Matrix for instant messaging and Keyhive for collaborative documents. Since mutual trust is no longer warranted, these systems require Byzantine fault tolerance and fine-grained access control. As of today, Matrix and Keyhive pair an informal specification with an unverified reference implementation. In this work, we follow a bottom-up approach towards constructing formally verified authorization algorithms for Byzantine fault-tolerant local-first systems. As intermediate target for formal verification, we contribute semantics and invariants of a replicated data type for managing simplified collaboration groups, based on capabilities for access control and hash chronicles for replication. To enable future integration into local-first systems like Matrix and Keyhive, we strive for accessibility to system engineers by using the Rust programming language for formal specification, verification, and implementation, enabled by the Verus framework using the Z3 theorem prover at zero runtime cost. ... mehr


Volltext §
DOI: 10.5445/IR/1000193171
Veröffentlicht am 13.05.2026
Originalveröffentlichung
DOI: 10.48550/arXiv.2604.23560
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Kompetenzzentrum für angewandte Sicherheitstechnologie (KASTEL)
Publikationstyp Forschungsbericht/Preprint
Publikationsdatum 26.04.2026
Sprache Englisch
Identifikator KITopen-ID: 1000193171
HGF-Programm 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems
Verlag arxiv
Serie Computer Science - Distributed, Parallel, and Cluster Computing
Schlagwörter Distributed, Parallel, and Cluster Computing (cs.DC), Cryptography and Security (cs.CR)
Nachgewiesen in arXiv
OpenAlex
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page