At p0s' request here's some information about how Infocalypse currently
uses WoT.

Infocalypse sets a "vcs" context on identities when they create a
repository, and inserts a list of repositories under the identity's
subspace at /vcs/. To do this it uses the insert URI from
GetOwnIdentities. It also checks for a Freemail context before trying to
send something from the identity.

To find local identities it performs its own parsing on the
GetOwnIdentities response to find them by enough of the nickname and
identity ID to be unambiguous. To find remote identities it first
attempts to use LessCrappyWebOfTrust's support for
GetIdentitiesByPartialNickname. [0] If that fails, it looks for an exact
identity ID with GetIdentity. It also checks that Freemail recipients
have a Freemail context.

To find a repository when given something like "hg pull
freenet:operhiem1/pyProbe", it will find operhiem1 as a remote identity,
fetch its /vcs/, match the name, and return the resulting URI.

It would be useful to publish a property containing the edition of the
repository list. A property would allow that information to propagate
through WoT, instead of boostrapping by fetching edition 0 and storing
the latest known edition. Using a property is currently not practical
because setting any property triggers a trust list insert. There is a
bug for this. [1]

Thanks,
operhiem1

[0]
https://github.com/tmarkus/LessCrappyWebOfTrust/blob/master/src/main/java/plugins/WebOfTrust/fcp/GetIdentitiesByPartialNickname.java#L25
[1] https://bugs.freenetproject.org/view.php?id=5789

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to