-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd4e546
commit d278754
Showing
10 changed files
with
85 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Tamarin model for Diffie-Hellman | ||
[![DH & WireGuard Protocol Model Verification](https://github.com/soundverification/wireguard/actions/workflows/model.yml/badge.svg?branch=main)](https://github.com/soundverification/wireguard/actions/workflows/model.yml?query=branch%3Amain) | ||
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](../../LICENSE) | ||
|
||
|
||
## Files | ||
|
||
- The `dh.spthy` file contains the Tamarin model, including the security properties and the auxiliary lemmas. | ||
|
||
|
||
## Prerequisite | ||
|
||
To verify our model of DH, you need **Tamarin** | ||
which can be obtained from [its website](https://tamarin-prover.github.io). | ||
Version 1.6.0 is known to work. | ||
|
||
**Python2** is also required to run the oracle. | ||
|
||
|
||
|
||
## Instructions | ||
|
||
To verify the model with Tamarin, use the following command: | ||
|
||
`tamarin-prover --prove dh.spthy` | ||
|
||
|
||
## Verification with Docker | ||
The model together with Tamarin and its dependencies are provided as a Docker image. | ||
The image can be pulled and the Tamarin model can be verified as follows (assuming that Docker has been installed): | ||
``` | ||
docker run -it ghcr.io/soundverification/tamarin:latest tamarin-prover --prove dh.spthy | ||
``` |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters