crates/installer/plugin-door-wire/Cargo.toml
[package]
name = "plugin-door-wire"
version = "0.1.1"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://git.gunnar.rs/nordisk/Skidbladnir"
description = "The wires between a product estate and the ONE monetize box: the attach enrolment and the install notice, plus the plugin-door registration (what the door holds, the registration, the answer, the mTLS client) — generic over the product id; no monetize runs on a Gunnar front"
# **Why here** (owner 2026-09-25, "the product registers its own plugin";
# moved 2026-09-27): the door lives in the front's program and the client in
# each product server, so the one wire both speak cannot live in either
# product. gunnar wrote it as `gunnar/crates/plugin-door-wire` and said so:
# "holger and njord will follow the same pattern; when they do, this crate
# moves ... unchanged". holger followed, so it moved — beside nordisk-pairing,
# whose installer CA and box certificates are the mutual TLS it speaks. The
# code is gunnar's `plugin-door-wire` at gunnar c45406b, unchanged.
[dependencies]
nordisk-pairing = { path = "../nordisk-pairing", version = "0.5.4" }
tokio = { version = "1", default-features = false, features = ["net", "io-util", "time"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["ring"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
base64 = "0.23"
blake3 = "1"
# attach: the owner's SSHSIG over an enrolment (f-attach-enrol).
ssh-key = { version = "0.7.0-rc.11", default-features = false, features = ["ed25519", "std", "alloc"] }
[dev-dependencies]
# tests/register_over_mtls.rs: a fake door over real mutual TLS.
tokio = { version = "1", features = ["macros", "rt", "net", "io-util", "sync"] }
tempfile = "3"