Giter Club home page Giter Club logo

otrv4-proverif's Introduction

OTRv4 Proverif models

A Proverif model of the handshakes in the OTRv4 protocol.

Results

The models themselves have been extensively documented through the Proverif comments, which should provide more information on how to interpret the below summarized results.

File Property Result
otrv4_nobrace.pv Correctness proved (partially)
Secrecy (Alice, interactive) proved
Secrecy (Bob, interactive) proved
Secrecy (Alice, non-interactive) proved
Secrecy (Bob, non-interactive) proved
Authentication unproved (timeout)
otrv4_brace.pv Any unproved (timeout)
otrv4_idake_deniable.pv Offline deniability (interactive) needs model update
otrv4_nidake_deniable.pv Offline deniability (non-interactive) needs model update
otrv4_alice_idake_deniable.pv Online deniability (Alice, interactive) needs model update
otrv4_bob_idake_deniable.pv Online deniability (Bob, interactive) needs model update
otrv4_alice_nidake_deniable.pv Online deniability (Alice, non-interactive) needs model update

All secrecy queries include forward secrecy in case long-term key material is leaked. Signed pre-keys are considered long-term for this purpose. Secrecy of of the brace-key mechanism considers forward secrecy in case elliptic curve cryptography is completely broken.

Usage

Verification of the models should be as easy as installing Proverif and running make. This may take a very long time, so the results are included in this repository as well.

Naming

There's only three hard problems in computer science: naming things and off-by-one errors. Here's a rough translation table that should help:

Model DAKES OTRv4
init Initiator (I) Bob
resp Responder (R) Alice
dakez DAKEZ Interactive DAKE
xzdh XZDH Non-interactive DAKE
cp_i "I" Bob's Client Profile
cp_r "R" Alice's Client Profile
(y, Y) (i, g^i) (y, Y)
(x, X) (r, g^r) (x, X)
(h_i, H_i) (I, g^I) (?, H_b)
(h_r, H_r) (R, g^R) (?, H_a)
(f_i, F_i) (F_I, g^{F_I}) (?, F_b)
(f_r, F_r) (F_R, g^{F_R}) (?, F_a)
(d, D) (ฮ“, g^ฮ“) (?, D)
(a, A) (a, A)
(b, B) (b, B)
id_alice "[email protected]"
id_bob "[email protected]"

Adding a column for the Double Ratchet specification is left as an exercise for the reader.

To do

  • Cleanup of the models
  • Interpret "cannot be proved" results
  • Correct initialization of the Double Ratchet (sharing extra keys from shared key)
  • Rename from names to roles

Acknowledgement

This work benefitted from the use of the CrySP RIPPLE Facility at the University of Waterloo.

References

otrv4-proverif's People

Contributors

sebastianv89 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.