Home

Awesome

Automated Verification for Secure Messaging Protocols and their Implementations: A Symbolic and Computational Approach

Supporting Materials

WARNING: EXPERIMENTAL SOFTWARE

PS2PV, the ProScript-to-ProVerif compiler, is currently in a highly experimental implementation state. Bugs are numerous and to be expected.

Overview

This repository contains supporting materials for our paper, "Automated Verification for Secure Messaging Protocols and their Implementations: A Symbolic and Computational Approach":

The messaging protocol implementation included in this repository is exactly the same code that is used by the Cryptocat secure messaging software in production.

Instructions

First, install the required OCaml dependencies using opam:

opam install ocamlbuild merlin menhir ulex pcre

Now, you can compile:

cd ps2pv
make
cd ..
make property-messages-principals-direction

This will generate a model by translating whatever is in ps/sp.js and adding the appropriate top-level process for the queries.

Note: Not all combinations are currently available. ls tl for current ones.

Benchmarks

On a reasonably fast Intel Xeon machine, these were the verification times we obtained for ProVerif:

Authors

Nadim Kobeissi, Karthikeyan Bhargavan and Bruno Blanchet. Special thanks and acknowledgments to Antoine Delignat-Lavaud.