radrootsd

JSON-RPC bridge for Radroots event publishing
git clone https://radroots.dev/git/radrootsd.git
Log | Files | Refs | README | LICENSE

commit e73f6d55514a3f3340db6ea7473cd0fdb87bc668
parent 6aac206972117c5bd43621a01b64bc75eee5082c
Author: triesap <tyson@radroots.org>
Date:   Wed, 21 Oct 2026 18:42:19 +0000

deps: adopt verified shared provider and current source inputs

- Pin the published Lib revision in Cargo and Nix inputs.
- Bind exact current source archive and dependency graph identities.
- Preserve runtime behavior, public APIs and historical contracts.
- Verify native checks and actual Darwin and Linux Nix compiler lanes.

Diffstat:
MCargo.lock | 54+++++++++++++++++++++++++++++++++++-------------------
MCargo.toml | 16++++++++--------
Mflake.lock | 8++++----
Mflake.nix | 2+-
Mradroots.lib.source-lock.v1.toml | 8++++----
Msupply-chain/audits.toml | 6++++++
Msupply-chain/config.toml | 6++++--
Mtests/package_boundary.rs | 2+-
Mtests/source_boundary.rs | 2+-
9 files changed, 64 insertions(+), 40 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -891,11 +891,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" dependencies = [ "cfg-if", + "js-sys", "libc", "r-efi 6.0.0", "rand_core 0.10.1", "wasip2", "wasip3", + "wasm-bindgen", ] [[package]] @@ -1844,7 +1846,7 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "radroots_blossom" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ "mediatype", "serde", @@ -1856,7 +1858,7 @@ dependencies = [ [[package]] name = "radroots_core" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ "rust_decimal", "serde", @@ -1865,7 +1867,7 @@ dependencies = [ [[package]] name = "radroots_event" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ "hex", "jiff-tzdb", @@ -1883,7 +1885,7 @@ dependencies = [ [[package]] name = "radroots_event_codec" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ "hex", "radroots_blossom", @@ -1900,7 +1902,7 @@ dependencies = [ [[package]] name = "radroots_identity" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ "k256", "serde", @@ -1910,7 +1912,7 @@ dependencies = [ [[package]] name = "radroots_nostr" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ "nostr 0.44.7", "radroots_event", @@ -1919,20 +1921,24 @@ dependencies = [ "serde", "serde_json", "thiserror 2.0.18", + "zeroize", ] [[package]] name = "radroots_protocol" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ + "radroots_identity", "serde", + "sha2", + "zeroize", ] [[package]] name = "radroots_secrets" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ "chacha20poly1305", "sha2", @@ -1943,7 +1949,7 @@ dependencies = [ [[package]] name = "radroots_transport" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ "radroots_event", "radroots_identity", @@ -1954,23 +1960,23 @@ dependencies = [ [[package]] name = "radroots_transport_nostr" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib.git?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +source = "git+https://github.com/radrootslabs/lib.git?rev=a903133cdcd78b6a25687bd23c793d17d17b90c8#a903133cdcd78b6a25687bd23c793d17d17b90c8" dependencies = [ + "async-utility 0.3.2", "async-wsocket 0.17.0", "futures", + "getrandom 0.4.2", "nostr-sdk 0.45.4", "radroots_event_codec", "radroots_nostr", "radroots_protocol", "radroots_transport", - "rustls", "serde_json", "sha2", "tokio", - "tokio-rustls", - "tokio-tungstenite 0.28.0", "url", - "webpki-roots 0.26.11", + "wasm-bindgen-futures", + "web-time", ] [[package]] @@ -2199,9 +2205,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.15" +version = "0.103.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" dependencies = [ "ring", "rustls-pki-types", @@ -3286,19 +3292,29 @@ dependencies = [ ] [[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] name = "webpki-roots" version = "0.26.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" dependencies = [ - "webpki-roots 1.0.6", + "webpki-roots 1.0.10", ] [[package]] name = "webpki-roots" -version = "1.0.6" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22cfaf3c063993ff62e73cb4311efde4db1efb31ab78a3e5c457939ad5cc0bed" +checksum = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9" dependencies = [ "rustls-pki-types", ] diff --git a/Cargo.toml b/Cargo.toml @@ -13,14 +13,14 @@ default-members = ["."] resolver = "3" [workspace.dependencies] -radroots_event = { git = "https://github.com/radrootslabs/lib.git", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } -radroots_event_codec = { git = "https://github.com/radrootslabs/lib.git", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } -radroots_identity = { git = "https://github.com/radrootslabs/lib.git", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } -radroots_nostr = { git = "https://github.com/radrootslabs/lib.git", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } -radroots_protocol = { git = "https://github.com/radrootslabs/lib.git", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha", default-features = false } -radroots_secrets = { git = "https://github.com/radrootslabs/lib.git", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha", default-features = false } -radroots_transport_nostr = { git = "https://github.com/radrootslabs/lib.git", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha", default-features = false } -radroots_transport = { git = "https://github.com/radrootslabs/lib.git", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha", default-features = false } +radroots_event = { git = "https://github.com/radrootslabs/lib.git", rev = "a903133cdcd78b6a25687bd23c793d17d17b90c8", version = "=0.1.0-alpha" } +radroots_event_codec = { git = "https://github.com/radrootslabs/lib.git", rev = "a903133cdcd78b6a25687bd23c793d17d17b90c8", version = "=0.1.0-alpha" } +radroots_identity = { git = "https://github.com/radrootslabs/lib.git", rev = "a903133cdcd78b6a25687bd23c793d17d17b90c8", version = "=0.1.0-alpha" } +radroots_nostr = { git = "https://github.com/radrootslabs/lib.git", rev = "a903133cdcd78b6a25687bd23c793d17d17b90c8", version = "=0.1.0-alpha" } +radroots_protocol = { git = "https://github.com/radrootslabs/lib.git", rev = "a903133cdcd78b6a25687bd23c793d17d17b90c8", version = "=0.1.0-alpha", default-features = false } +radroots_secrets = { git = "https://github.com/radrootslabs/lib.git", rev = "a903133cdcd78b6a25687bd23c793d17d17b90c8", version = "=0.1.0-alpha", default-features = false } +radroots_transport_nostr = { git = "https://github.com/radrootslabs/lib.git", rev = "a903133cdcd78b6a25687bd23c793d17d17b90c8", version = "=0.1.0-alpha", default-features = false } +radroots_transport = { git = "https://github.com/radrootslabs/lib.git", rev = "a903133cdcd78b6a25687bd23c793d17d17b90c8", version = "=0.1.0-alpha", default-features = false } [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } diff --git a/flake.lock b/flake.lock @@ -45,17 +45,17 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1792224313, - "narHash": "sha256-SdpBK4wv43TsvgNXgf81XoKCMNwCEAdCMSkbabWbWpo=", + "lastModified": 1792599601, + "narHash": "sha256-7md838KxMxBzdQNo6E4uGWzq3LyH6PGHgD/FMtjA/Wc=", "owner": "radrootslabs", "repo": "lib", - "rev": "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", + "rev": "a903133cdcd78b6a25687bd23c793d17d17b90c8", "type": "github" }, "original": { "owner": "radrootslabs", "repo": "lib", - "rev": "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", + "rev": "a903133cdcd78b6a25687bd23c793d17d17b90c8", "type": "github" } }, diff --git a/flake.nix b/flake.nix @@ -8,7 +8,7 @@ # that upstream fetch defect while preserving the same locked sources. crane.url = "github:ipetkov/crane/01bc1d404a51a0a07e9d8759cd50a7903e218c82"; lib = { - url = "github:radrootslabs/lib/b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4"; + url = "github:radrootslabs/lib/a903133cdcd78b6a25687bd23c793d17d17b90c8"; inputs.crane.follows = "crane"; }; nixpkgs.follows = "lib/nixpkgs"; diff --git a/radroots.lib.source-lock.v1.toml b/radroots.lib.source-lock.v1.toml @@ -1,9 +1,9 @@ schema = "radroots.lib.source-lock.v1" repository = "https://github.com/radrootslabs/lib" -revision = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" +revision = "a903133cdcd78b6a25687bd23c793d17d17b90c8" architecture = "radroots.crates.release.v2" -workspace_catalog_sha256 = "1e679431ad70a024affc52e6c71151459aca41707429dd8015d014d27e5f40b6" +workspace_catalog_sha256 = "424909855b2af1ffc8fa6bbfd5aa0e6d17642662c18212fef4660e71700fbfc8" version = "0.1.0-alpha" -source_archive_sha256 = "3b27bbb1cacd5329b9c7f2f7f7bf8c826e6f06625ad8f6520f6e5e8e4278b54a" +source_archive_sha256 = "091ea149cdb024c0eddae00cc8124232c2a56d8254d95dadaaaad5d0fa9af850" lockfile = "Cargo.lock" -lockfile_sha256 = "ee443a4c532264e13c2e592785f337cb934f557c308b0ecc1d947a5864f84e20" +lockfile_sha256 = "c1c646caca1b064bded396bcc6c4e097403b616c78ed79672450351424b98a50" diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml @@ -191,6 +191,12 @@ criteria = "network-parser-reviewed" version = "0.3.1" notes = "Reused exact published Lib 3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f source review for the identical registry version/checksum and same private native transport composition. Rand 0.10.1 is the reviewed baseline for a separately recorded 0.10.3 delta. Original use restrictions remain binding; this is not a second independent audit. Reviewed all production source, feature gates and manifest: native std time uses a OnceLock monotonic origin and explicit wall-clock conversion; checked arithmetic returns Option and duration subtraction saturates, while duration operators can panic on overflow/underflow. There is no network parser or variable-sized input allocation. Native SDK connection durations come from validated adapter configuration, and packet timestamps do not supply Instant arithmetic. The no_std/WASM provider is a separately linked Sync static and is not admitted as the Radroots browser clock. This automated native-use source review is not independent audit, arbitrary-duration panic freedom or browser/no_std runtime qualification." +[[audits.web-time]] +who = "Codex (automated single-owner source review)" +criteria = "safe-to-deploy" +version = "1.1.0" +notes = "Reused exact published RHI fa61581f3aaa6e6714288ba06e7e94f5b6a43b01 review for the identical archive and native std-clock composition. Original restrictions remain binding; this is not a second independent audit. Automated single-owner review of all seven production Rust modules, both manifests and exact registry archive SHA-256 5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb. The current daemon macOS/Linux composition selects only the cfg-gated std::time reexport; no build script, filesystem/network access, unsafe code or independent native clock implementation is present. Browser modules use fixed Duration arithmetic and thread-local Performance/Date bindings; missing Performance, negative wall time and unchecked duration operators can panic, and host clocks are not trusted authorization time. Optional Serde checks numeric epoch-offset overflow and duplicate/missing/unknown fields, but the caller must bound deserializer input and normalize errors. The daemon does not select those browser/Serde modules. This audit admits the exact native daemon dependency use; it is not an independent review, browser clock/resource qualification, a guarantee about hostile JavaScript globals or permission to deserialize unbounded network input." + [[audits.zeroize]] who = "Codex (automated single-owner source review)" criteria = "safe-to-deploy" diff --git a/supply-chain/config.toml b/supply-chain/config.toml @@ -745,8 +745,9 @@ version = "1.14.0" criteria = "safe-to-deploy" [[exemptions.rustls-webpki]] -version = "0.103.15" +version = "0.103.16" criteria = "safe-to-deploy" +notes = "Existing version-specific TLS review debt follows the patched provider selection. Independent full-crate audit remains outstanding; no advisory ignore or audit claim is added." [[exemptions.rustversion]] version = "1.0.22" @@ -1145,8 +1146,9 @@ version = "0.26.11" criteria = "safe-to-deploy" [[exemptions.webpki-roots]] -version = "1.0.6" +version = "1.0.10" criteria = "safe-to-deploy" +notes = "Existing version-specific TLS review debt follows the patched provider selection. Independent full-crate audit remains outstanding; no advisory ignore or audit claim is added." [[exemptions.windows-link]] version = "0.2.1" diff --git a/tests/package_boundary.rs b/tests/package_boundary.rs @@ -34,7 +34,7 @@ fn public_error_is_redacted_and_source_free() { #[test] fn nix_outputs_are_real_owned_and_exactly_bounded() { for required in [ - "github:radrootslabs/lib/b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", + "github:radrootslabs/lib/a903133cdcd78b6a25687bd23c793d17d17b90c8", "\"aarch64-darwin\"", "\"x86_64-linux\"", "craneLib.buildPackage", diff --git a/tests/source_boundary.rs b/tests/source_boundary.rs @@ -198,7 +198,7 @@ fn transport_publish_sources_reject_removed_protocol_identifiers() { } assert!( manifest_source.contains( - "radroots_transport_nostr = { git = \"https://github.com/radrootslabs/lib.git\", rev = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\", version = \"=0.1.0-alpha\"" + "radroots_transport_nostr = { git = \"https://github.com/radrootslabs/lib.git\", rev = \"a903133cdcd78b6a25687bd23c793d17d17b90c8\", version = \"=0.1.0-alpha\"" ), "Cargo.toml must pin radroots_transport_nostr to the approved Lib revision and exact version" );