debian/0000755000000000000000000000000012146362172007172 5ustar debian/wotsap.examples0000644000000000000000000000005512146362172012247 0ustar debian/dl-latest.wot pks2wot Webware-Main.py debian/control0000644000000000000000000000322012146362172010572 0ustar Source: wotsap Section: misc Priority: extra Maintainer: Giovanni Mascellani Build-Depends: debhelper (>= 5) Build-Depends-Indep: xsltproc, docbook-xml, docbook-xsl Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/collab-maint/wotsap.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/wotsap.git;a=summary Homepage: http://www.lysator.liu.se/~jc/wotsap/index.html Package: wotsap Architecture: all Depends: python, python-imaging, ttf-freefont | ttf-dejavu, ${misc:Depends} Suggests: gnupg, wget Description: OpenPGP Web of Trust analyzer and pathfinder Wotsap is a tool that analyzes a OpenPGP Web of Trust description and reports to the user stastistics about the single keys and the whole network, or searches for paths from one key to another. . OpenPGP is the most widely used email encryption standard, used by encryption software such as the GNU Privacy Guard (gpg). To encrypt to someone or verify someone's signature, you need that persons OpenPGP key. Say you want to verify a digital signature made by Bob. To get Bob's key is easy with some help from keyservers, being sure you got the right key is the tricky part. This is accomplished either by meeting Bob in person and exchanging signatures, or by trusting someone else, who you have met in person, who claims to have met Bob. Or by trusting someone who has met someone who has met Bob. This gives rise to a completely decentralized network of trusts between people. . Wotsap lets you explore the Web of Trust. It works on a compressed copy of the Web of Trust in the .wot file format, generated daily and distributed on the site of wotsap main writer. debian/changelog0000644000000000000000000000214712146362172011050 0ustar wotsap (0.7-4) unstable; urgency=low * Upload to sid. -- Giovanni Mascellani Mon, 20 May 2013 10:52:49 +0200 wotsap (0.7-3) experimental; urgency=low * Email address updated * Switch source version to 3.0 and convert upstream modifications to patches. * Update download URL in dl-latest.wot. * Fix parsing of ttfsize as integer (closes: #702172). * Bump Standards-Version to 3.9.4 (no changes required). * Add Vcs-* fields in debian/control. -- Giovanni Mascellani Mon, 11 Mar 2013 16:54:03 +0100 wotsap (0.7-2) unstable; urgency=low * Updated to policy 3.7.3. * Homepage tag moved from the description to the control field. * Removed references to ttf-bitstream-vera, which will be removed soon. (Closes: #461298) * Added debian/watch. (Closes: #466599) * Moved to machine-interpretable debian/copyright. -- Giovanni Mascellani Sun, 24 Feb 2008 17:43:12 +0100 wotsap (0.7-1) unstable; urgency=low * Initial release. (Closes: #434395) -- Giovanni Mascellani Wed, 08 Aug 2007 10:50:52 +0200 debian/rules0000755000000000000000000000156012146362172010254 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DB2MAN=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl XP=xsltproc -''-nonet build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir ( cd debian/man ; $(XP) $(DB2MAN) wotsap.dbk ) touch $@ clean: dh_testdir dh_testroot rm -f build-stamp rm -fr *~ core *.pyc ( cd debian/man ; rm -fr wotsap.1 *~ ) dh_clean install: build dh_testdir dh_testroot dh_installdirs binary-indep: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples dh_install dh_installman dh_compress dh_fixperms dh_gencontrol dh_md5sums dh_builddeb binary-arch: build install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/watch0000644000000000000000000000012012146362172010214 0ustar version=3 http://www.lysator.liu.se/~jc/wotsap/download/wotsap-(.*)\.tgz debian debian/copyright0000644000000000000000000000451612146362172011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: wotsap Files: * Copyright: Copyright 2003, 2004 Jörgen Cederlöf License: GPL-2+ Files: wotsap Copyright: Copyright 2003, 2004 Jörgen Cederlöf Copyright 2004 Marco Bodrato Copyright 1984-1989, 1994 Adobe Systems Incorporated Copyright 1988, 1994 Digital Equipment Corporation License: GPL-2+ and font-Adobe Files: debian/* Copyright: Copyright 2007-2013 Giovanni Mascellani License: GPL-2+ License: GPL-2+ 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 St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. License: font-Adobe Adobe is a trademark of Adobe Systems Incorporated which may be registered in certain jurisdictions. Permission to use these trademarks is hereby granted only in association with the images described in this file. . Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notices appear in all copies and that both those copyright notices and this permission notice appear in supporting documentation, and that the names of Adobe Systems and Digital Equipment Corporation not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Adobe Systems and Digital Equipment Corporation make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. debian/compat0000644000000000000000000000000212146362172010370 0ustar 5 debian/man/0000755000000000000000000000000012146362172007745 5ustar debian/man/wotsap.dbk0000644000000000000000000002443012146362172011747 0ustar Giovanni"> Mascellani"> July 2007"> 1"> g.mascellani@gmail.com"> WOTSAP"> Debian"> GNU"> GPL"> ]>
&dhemail;
2007 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; Web of Trust statistics and pathfinder &dhpackage; bottomkey topkey DESCRIPTION &dhpackage; is a pathfinder for the OpenPGP Web of Trust, which also produces some statistics and similar things. It obtains the description of the Web of Trust from a .wot file. OpenPGP is the most widely used email encryption standard, used by encryption software such as the GNU Privacy Guard (see gnupg (7)). To encrypt to someone or verify someone's signature, you need that persons OpenPGP key. Say you want to verify a digital signature made by Bob. To get Bob's key is easy with some help from keyservers, being sure you got the right key is the tricky part. This is accomplished either by meeting Bob in person and exchanging signatures, or by trusting someone else, who you have met in person, who claims to have met Bob. Or by trusting someone who has met someone who has met Bob. This gives rise to a completely decentralized network of trusts between people. &dhpackage; lets you explore the Web of Trust. It works on a compressed copy of the Web of Trust in the .wot file format, generated daily and distributed on the site of &dhpackage; main writer. Running &dhpackage; you can specify on the command line just bottomkey, bottomkey and topkey or neither of them. They are the hexadecimal ID of the keys you want to investigate: If you don't specify any of bottomkey and topkey, &dhpackage; will just produce some piece of information on the Wot of Trust, such as the total number of key and signatures and the average signatures per key. If you specify only bottomkey, &dhpackage; will output detailed statistics about that key: how far are the other key in the Web from this, the Mean Shortest Distance for this key, which key have signed this key or are signed by this key. The Mean Shortest Distance is the average of the distances from all the keys in the Web of Trust to the key you under considaration. The distance from a key to another is the length of a minimal path from the first to the second. If you specify either bottomkey and topkey, &dhpackage; will search for all the minimal paths from bottomkey to topkey and output them. OPTIONS Show help. Show version. Read Web of Trust information from FILE. Defaults to ~/.wotsapdb. You can find the latest version of this file (generated daily) at http://www.lysator.liu.se/~jc/wotsap/wots2/latest.wot. Use STR of WoT modification string. Print signature matrix of comma separated keys. If there aren't any commas in the key specification, &dhpackage; will interpret it as a search string, and print the signature matrix of all the key, whose name or email contains the string. Don't print unknown keys in the signature matrix. Write an image of the graph of all the minimal paths between the two specified keys in FILE, in .png file format. Like , but shows the image with PRG instead of writing it in a file. More precisely, it saves the minimal paths image in a temporary file, the executes 'PRG image_file' and, when PRG is over, deletes the temporary file. With or options, set the size of the generated image to NNNxMMM. Use FILE as the font file, in .pil/.pbm format. Point it to the .pil file, with the .pbm file in the same directory. If no font specifications are given, &dhpackage; will try to use some fonts installed in the system, or fall back to a built-in one. Like , but with a TrueType font file. With , set the TrueType font size. Defaults to 16. Print the whole Web of Trust in human readable format (very long output). Print the debug information in the .wot file. Print all differences between two .wot files (namely, between the file specified with and that specified with this option). Just show MSD for the specified key instead of full statistics. Show the NUM (defaults to 10) 'most wanted signatures' for key (very long calculation time, try using ). Restrict wanted signatures with STR, implies -W. SEE ALSO gnupg (7), gpg (1). AUTHOR This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others), beacause the original program doesn't have a manual page. Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/wotsap.docs0000644000000000000000000000003112146362172011353 0ustar wotfileformat.txt README debian/patches/0000755000000000000000000000000012146362172010621 5ustar debian/patches/fonts0000644000000000000000000000214312146362172011675 0ustar Description: Prefer TTF system fonts By default wotsap ships a bitmap font used to raster images if no other is specified. Such font is rather ugly, so we modify the code in order to default to some TTF fonts available in the system. Author: Giovanni Mascellani Forwarded: no Last-Update: 2013-03-11 --- wotsap-0.7.orig/wotsap +++ wotsap-0.7/wotsap @@ -1494,6 +1494,20 @@ class Wot: self.font = ImageFont.load(fontfile) return + # Modified by Giovanni Mascellani for Debian packaging + # If no fonts are specified on command line tries first for existing TTF + # before falling back to the built-in one. + try: + self.font = ImageFont.truetype("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf", ttffilesize) + return + except IOError: + pass + try: + self.font = ImageFont.truetype("/usr/share/fonts/truetype/freefont/FreeSans.ttf", ttffilesize) + return + except IOError: + pass + import StringIO, base64, zlib self.font = ImageFont.ImageFont() debian/patches/series0000644000000000000000000000002212146362172012030 0ustar fonts ttfsize_int debian/patches/ttfsize_int0000644000000000000000000000140712146362172013110 0ustar Description: Argument ttfsize must be and int Argument ttfsize for ImageFont must be an integer, so we parse it accordingly. Author: Claudius Hubig Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702172 Forwarded: no Last-Update: 2013-03-11 Index: wotsap/wotsap =================================================================== --- wotsap.orig/wotsap 2013-03-11 16:10:53.126307855 +0100 +++ wotsap/wotsap 2013-03-11 16:11:56.535090483 +0100 @@ -1720,7 +1720,7 @@ elif o in ("-T", "--ttffile"): ttffile = a elif o in ("-S", "--ttfsize"): - ttfsize = float(a) + ttfsize = int(a) elif o in ("-p", "--print"): prnt=1 elif o in ("-D", "--print-debug"): debian/wotsap.manpages0000644000000000000000000000002412146362172012220 0ustar debian/man/wotsap.1 debian/source/0000755000000000000000000000000012146362172010472 5ustar debian/source/format0000644000000000000000000000001412146362172011700 0ustar 3.0 (quilt) debian/dl-latest.wot0000644000000000000000000000207312146362172011620 0ustar #!/bin/bash # dl-latest.wot - Downloads latest description of the OpenPGP Web of Trust from # the site of wotsap main writer # Copyright © 2007-2013 Giovanni Mascellani # Written for wotsap (Web of Trust statistics and pathfinder) Debian package # # 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., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. WGET=/usr/bin/wget if [ -x $WGET ] ; then wget http://wot.christoph-egger.org/latest.wot -O ~/.wotsapdb fi debian/wotsap.install0000644000000000000000000000001712146362172012075 0ustar wotsap usr/bin