Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

(Own)Identity / Trust / Score: Make toString() output everything which

equals() compares

This will be very useful when debugging the output of DebugFCPClient:
Its purpose is to catch mismatches of (Own)Identity/Trust/Score objects.
It already uses the toString() functions to log the mismatching objects,
but the toString() didn't contain the values of all member variables so
it was impossible to tell WHAT is mismatching.

- The toString() of Trust/Score did already contain most of the member
variables, if not all. I've reformatted the output nevertheless so it
matches what (Own)Identity does.
- Synchronization of toString() is removed in both Trust and Score. We
always synchronize upon the WebOfTrust when consistency of such objects
is needed, there is no need for internal synchronization in them.
- The truster and trustee are NOT added to the String of Trust/Score
anymore because their ID is already fully contained in mID. When
analyzing logs, one will typically search them for identity IDs and not
for  things such as nicknames. Also, equals() does not care about
truster/trustee, it only cares about mID as well.
- Not fixing this for (Own)IntroductionPuzzle yet since they are not
wired into event-notifications yet, and thus are not affected by what
DebugFCPClient does. Adding a TODO to them nevertheless so this doesn't
get forgotten about.
latest commit dd95458cc7
xor-freenet xor-freenet authored



WOT copyright is held by Freenet Project Incorporated.  WOT is
distributed under the GPL license. You can find it in the file called

Copyright (C) 2008-2014 Freenet Project Incorporated

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
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, see <>.


In order to compile WOT, you need to obtain the source code of Freenet ("fred") and WOT:

The "staging" repositories are the latest development versions. Replace staging with "official" to get only
the latest official release versions.

We recommend using Eclipse: The repositories ship with an Eclipse project configuration.
To use Eclipse:
- Add the EGit plugin to Eclipse so you don't have to use command-line Git. Newer Eclipse versions 
(4.2 aka Kepler at least) ship with it by default.
-  When having EGit installed, use "File" / "Import" in Eclipse to import the Git projects.
- Rename the "fred-staging" project in Eclipse to "fred" and the "plugin-WoT-staging"
project to "WebOfTrust". Renaming can be done by right-clicking a project, selecting "Refactor", then "Rename".
- Create a file called "" in the fred project. Write 'lib.contrib.get = true' into it.
This will make the builder download the latest official freenet-ext.jar so you don't have to compile it yourself.
- Download the Bouncycastle crypto library from and store it as "fred/lib/bcprov.jar"
If you have a working Freenet installation, you can also just copy it from your Freenet directory.
It might be called something similar to "bcprov-jdk15on-149.jar".

Now building should work using Eclipse's "Project" menu. 
We recommend disabling "Build automatically" in the menu because compiling Fred and WOT can take 
a long time and therefore it's better to do it manually only when you need it.

If you don't want to use Eclipse but instead want to compile manually from the shell, it can be done like this:
  $ git clone fred
  $ cd fred
  $ echo 'lib.contrib.get = true' >>
  # Download the Bouncycastle crypto library from and put it in lib/bcprov.jar
  # If you have a working Freenet installation, you can also just copy it from your Freenet directory.
  # It might be called something similar to "bcprov-jdk15on-149.jar".
  $ ant
  $ cd ..
  $ git clone WebOfTrust
  $ cd WebOfTrust
  $ ant


Visit the plugins page (" by default) with your Web browser.

In the Load Plugin box, enter: /your-eclipse-workspace-path/WebOfTrust/dist/WebOfTrust.jar and click the Load button.

After the plugin is loaded, WOT will be accessible at the "Community" menu of your Freenet web interface.




See the files in the "developer-documentation" folder.

Also, see the following pages in the Freenet wiki:
Something went wrong with that request. Please try again.