wot-network-rpgpie

Crates.iowot-network-rpgpie
lib.rswot-network-rpgpie
version0.0.1
created_at2025-09-14 19:10:07.639213+00
updated_at2025-09-14 19:10:07.639213+00
descriptionTransform OpenPGP certificate sets into a wot-network structure
homepage
repositoryhttps://codeberg.org/heiko/wot-network-rpgpie
max_upload_size
id1839057
size65,723
Heiko Schaefer (hko-s)

documentation

README

Crate to transform OpenPGP certificate sets into a wot-network Network

Library

This crate is mostly intended for use as a library. One main entrypoint is wot_network_rpgpie::from_file(path: &Path, reference_time: DateTime<Utc>) -> Network.

CLI tool

Alternatively, for easy exploratory use of the library, a CLI tool (wnr) is provided. Note, however that this CLI tool uses simple output formats, which are a great fit for simple test networks, but are not applicable for more complex OpenPGP data!

A certificate file can be exported into "simple text" format (also see wot_network::util::simple_text):

$ wnr export <certs>

Additionally, a certificate name mapping can be applied via

$ wnr export <certs> --map <mapping>

Mermaid graphs can be generated analogously, with the graph command:

$ wnr graph <certs>

Generating example WoT network certificates

See wot-observatory for a tool that generates certificate networks based on a configuration file as its input.

Commit count: 0

cargo fmt