#!/usr/bin/python """ Scyther : An automatic verifier for security protocols. Copyright (C) 2007-2013 Cas Cremers This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. """ #--------------------------------------------------------------------------- """ Import externals """ import wx import wx.html import os.path #--------------------------------------------------------------------------- """ Import scyther-gui components """ import Scyther #--------------------------------------------------------------------------- """ Globals """ basedir = "" #--------------------------------------------------------------------------- def setBaseDir(mybasedir): global basedir basedir = mybasedir #--------------------------------------------------------------------------- class AboutScyther(wx.Dialog): def __init__(self,parent,mybasedir=None): from Version import SCYTHER_GUI_VERSION global basedir self.text = '''
Scyther is an automatic tool for the verification and falsification of security protocols.
For news and updates visit the Scyther pages at http://people.inf.ethz.ch/cremersc/scyther/index.html
Scyther : An automatic verifier for security protocols.
Copyright (C) 2007-2013 Cas Cremers
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
$DETAILS
Cas Cremers (Scyther theory, backend, and main GUI code), Gijs Hollestelle (Python parser for Scyther XML output).
''' if mybasedir: basedir = mybasedir # Debugging output of some parameters splashdir = os.path.join(basedir,"Images") splashimage = os.path.join(splashdir,"scyther-splash.png") details_html = "Base directory: %s