Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

cre8-util-raw-route-auth crates cargo crate

Caller authentication for RouteMeta::raw gateway routes — the signed-header wire the corpus lane established, in one place, so every raw route that moves bytes or runs code proves who called it the same way.

crates/cre8-util-raw-route-auth · level 7 · 887 lines (632 code) · 2 files · 53 fns (26 tests) · cyclomatic Σ 91

6workspace deps
7direct dependents
92transitive dependents
28calls out
17calls in
47.5call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

normal dep · 2 calls · source referencenormal dep · 2 calls · source referencenormal dep · 9 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 3 calls · source referencenormal dep · 5 calls · source referencenormal dep · 1 calls · source referencenormal dep · 2 calls · source referencenormal dep · 8 calls · source referencedev dep · 9 calls · source referenceutil-raw-route-authL7 · 632 linescre8-util-raw-route-authapp-causal-capsuleL18 · 8,926 linescre8-app-causal-capsuleapp-computeL14 · 94,808 linescre8-app-computeapp-conduitL14 · 79,226 linescre8-app-conduitapp-deviceL9 · 14,646 linescre8-app-deviceapp-emulationL13 · 17,269 linescre8-app-emulationapp-gatewayL13 · 24,179 linescre8-app-gatewayapp-networkL11 · 15,383 linescre8-app-networkapp-network-modelL4 · 2,198 linescre8-app-network-modelplatform-envL3 · 316 linescre8-platform-envplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsutil-cryptoL3 · 749 linescre8-util-cryptotest-helpersL29 · 557 linescre8-test-helpers

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 53 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
public_gateway_bind_requested_from_envsrc/lib.rs:174fn245222.8
contextsrc/tests.rs:17fn2312322.5
authenticate_raw_callersrc/lib.rs:223fn3352552.5
signed_caller_headerssrc/lib.rs:391fn3441952.3
RawAuthError::newsrc/lib.rs:137method31502.1
auth_gate_modesrc/lib.rs:159fn101331.9
headersrc/lib.rs:446fn81301.8
enforcingsrc/tests.rs:72fn311611.8
header_mapsrc/tests.rs:45fn311501.7
credentialssrc/tests.rs:41fn311301.6
raw_route_auth_requiredsrc/lib.rs:204fn87421.3
canonical_assertion_bytessrc/lib.rs:440fn31301.2
local_peer_seedsrc/lib.rs:427fn101301.1
claim_noncesrc/lib.rs:483fn122201
verified_caller_from_assertionsrc/lib.rs:257fn384190.9
declared_peer_idsrc/lib.rs:457fn31110.9
fresh_noncesrc/lib.rs:468fn61110.9
VerifiedCaller::is_verifiedsrc/lib.rs:114method31500.8
signsrc/tests.rs:51fn71430.8
assertionsrc/tests.rs:59fn121420.8
VerifiedCaller::receipt_labelsrc/lib.rs:120method73400.8
is_canonical_sha256src/lib.rs:461fn32100.6
decode_assertionsrc/lib.rs:296fn71110.6
verify_assertion_shapesrc/lib.rs:306fn5114140.6
trusted_peer_public_keysrc/lib.rs:362fn131110.6
VerifiedCaller::peer_idsrc/lib.rs:107method62000.5
RawAuthError::fmtsrc/lib.rs:143trait impl31000.5
an_ungated_node_admits_an_unsigned_callersrc/tests.rs:79fn71050.5
an_ungated_node_keeps_the_declared_peer_header_but_marks_it_unverifiedsrc/tests.rs:88fn81060.5
an_off_posture_node_is_ungated_and_a_public_bind_closes_itsrc/tests.rs:98fn191050.5
the_env_override_wins_over_posture_in_both_directionssrc/tests.rs:119fn111030.5
an_enforcing_node_refuses_an_unsigned_callersrc/tests.rs:134fn61030.5
an_enforcing_node_refuses_a_signed_assertion_with_no_signature_headersrc/tests.rs:142fn81050.5
an_enforcing_node_refuses_a_foreign_signersrc/tests.rs:152fn121060.5
an_enforcing_node_refuses_a_trusted_peer_id_signed_by_the_wrong_keysrc/tests.rs:166fn121060.5
a_trusted_signed_caller_is_admittedsrc/tests.rs:180fn101080.5
an_assertion_for_another_route_does_not_open_this_onesrc/tests.rs:194fn101060.5
an_assertion_does_not_carry_a_different_bodysrc/tests.rs:206fn91060.5
an_assertion_aimed_at_another_peer_is_refused_heresrc/tests.rs:217fn91060.5
an_assertion_from_another_network_is_refusedsrc/tests.rs:228fn81050.5

Outside the workspace

base64 serde serde_json sha2