Expand description
Data structures for OpenPGP Web of Trust calculations.
These data structures model the bare minimum level of detail for Web of Trust calculations.
A Network (the top level WoT object) models a set of Certification and Delegation edges, which represent relationships between Certificate and Identity objects.
The goal of the representation in this crate is to model an absolutely minimal view of a WoT network. This minimalism keeps the task of correctly forming a WoT Network graph cleanly separated from the WoT algorithm that performs searches in the graph:
All OpenPGP semantics considerations (such as validity, e.g. regarding expiration and
revocation) are normalized out of the wot-network
representation.
Invalid objects (Certificates, Identities or Certifications) are simply not rendered in a Network view.
It is the task of a separate “network formation” subsystem to interpret the semantics of OpenPGP certificates and transform them into a normalized Network graph.
In particular, there is no notion of the passage of time in this WoT Network graph representation. A Network represents a snapshot of the Web of Trust relations within a set of Certificates at a given reference time.
Searches in a Network are modeled with the search::WotSearch trait.
Modules§
- search
- Data structures and traits for path searches in a Web of Trust
- util
- Utilities to transform WoT graphs to and from
wot-network
format
Structs§
- Binding
- A relationship between a Certificate and an Identity
- Certificate
- Representation of an OpenPGP certificate
- Certification
- A type of Edge that represents a certification over a binding
- Delegation
- A type of Edge that represents a delegation to a second certificate
- Identity
- An identity claim, which can be associated with a certificate by a Binding
- Network
- A “Web of Trust” network consisting of Certifications and Delegations.
- Regex
- A regular expression that can be used to limit the applicability of Delegations
Enums§
- Edge
- An edge in the WoT network (either a Certification or a Delegation)
- Trust
Depth - The “trust depth” of a delegating certification.