Crates.io | wot-network-rpgpie |
lib.rs | wot-network-rpgpie |
version | 0.0.1 |
created_at | 2025-09-14 19:10:07.639213+00 |
updated_at | 2025-09-14 19:10:07.639213+00 |
description | Transform OpenPGP certificate sets into a wot-network structure |
homepage | |
repository | https://codeberg.org/heiko/wot-network-rpgpie |
max_upload_size | |
id | 1839057 |
size | 65,723 |
Crate to transform OpenPGP certificate sets into a wot-network
Network
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
.
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>
See wot-observatory for a tool that generates certificate networks based on a configuration file as its input.