2012-11-14 21:10:05 +00:00
|
|
|
The Scyther tool repository
|
|
|
|
===========================
|
|
|
|
|
|
|
|
This README describes the organization of the repository of the Scyther
|
|
|
|
tool for security protocol analysis. Its intended audience are
|
|
|
|
interested users and future developers of the Scyther tool, as well as
|
|
|
|
protocol modelers. For installation and usage instructions of the
|
|
|
|
Scyther tool see:
|
2020-10-28 14:19:47 +00:00
|
|
|
<https://people.cispa.io/cas.cremers/scyther/>.
|
2012-11-14 21:10:05 +00:00
|
|
|
|
2012-12-17 09:14:31 +00:00
|
|
|
Installing from source
|
|
|
|
----------------------
|
2012-11-14 21:10:05 +00:00
|
|
|
|
|
|
|
We use Linux during the development of Scyther, but development on
|
|
|
|
Windows and MAC OS X should be equally feasible. Note that the below
|
|
|
|
instructions are written from a Linux/Ubuntu perspective, and probably
|
|
|
|
need modifications for other platforms.
|
|
|
|
|
2020-10-28 07:41:44 +00:00
|
|
|
Scyther is written partly in Python 3 (for the GUI, using wxPython) and
|
2012-11-14 21:10:05 +00:00
|
|
|
partly in C (for the backend).
|
|
|
|
|
|
|
|
In order to run the tool from a repository checkout, it is required to
|
|
|
|
compile the C sources into a working binary for the backend. The
|
|
|
|
simplest way to achieve this is to run the `build.sh` script in the
|
|
|
|
`./src` directory. This script compiles a binary version of the tool on
|
|
|
|
the native platform. Thus, in the Linux case, it should produce
|
|
|
|
`./src/scyther-linux`. This file is automatically copied to the related
|
|
|
|
directory under `./gui`, and if successful you can attempt to run
|
|
|
|
`./gui/scyther-gui.py` to use the graphical user interface.
|
|
|
|
|
|
|
|
The build process depends on the following
|
|
|
|
(Debian/Ubuntu) packages:
|
|
|
|
|
|
|
|
* `cmake`
|
|
|
|
* `build-essential`
|
|
|
|
* `flex`
|
|
|
|
* `bison`
|
2014-02-18 12:21:04 +00:00
|
|
|
* `gcc-multilib`
|
2017-12-14 16:23:09 +00:00
|
|
|
* `python-minimal`
|
2012-11-14 21:10:05 +00:00
|
|
|
|
|
|
|
If you are using Ubuntu, installing these may be as simple as running
|
|
|
|
|
2017-12-14 16:23:09 +00:00
|
|
|
`sudo apt-get install cmake build-essential flex bison gcc-multilib python-minimal`
|
2012-11-14 21:10:05 +00:00
|
|
|
|
|
|
|
In case you also want to be able to compile Windows binaries from Linux,
|
|
|
|
you also need:
|
|
|
|
|
2022-12-14 21:29:21 +00:00
|
|
|
* `i686-w64-mingw32`
|
2012-11-14 21:10:05 +00:00
|
|
|
|
|
|
|
Note that welcome all contributions, e.g., further protocol models. Just send
|
|
|
|
us a pull request.
|
|
|
|
|
|
|
|
|
|
|
|
Manual
|
|
|
|
------
|
|
|
|
|
2012-12-17 09:14:31 +00:00
|
|
|
We are currently rewriting the manual. The current (incomplete) snapshot
|
2013-12-13 22:33:10 +00:00
|
|
|
of the manual can be found in the following location:
|
2012-12-17 09:14:31 +00:00
|
|
|
|
2013-12-13 22:26:16 +00:00
|
|
|
* [./gui/scyther-manual.pdf](gui/scyther-manual.pdf)
|
2012-11-14 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
Protocol Models
|
|
|
|
---------------
|
|
|
|
|
|
|
|
The protocol models have the extension `.spdl` and can be found in the following directories:
|
|
|
|
|
2013-12-13 22:26:16 +00:00
|
|
|
* [./gui/Protocols](gui/Protocols), containing the officially released models, and
|
|
|
|
* [./testing](testing), containing models currently under development.
|
2012-11-14 21:10:05 +00:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
Currently these Scyther sources are licensed under the GPL 2, as indicated in
|
|
|
|
the source code. Contact Cas Cremers if you have any questions.
|
|
|
|
|