Skip to content
1 viewer

rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.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 6 · 893 lines (637 code) · 2 files · 54 fns (26 tests) · cyclomatic Σ 92

6workspace deps
7direct dependents
96transitive dependents
24calls out
17calls in
49.9call-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.

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). 54 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
public_gateway_bind_requested_from_envsrc/lib.rs:175fn245222.8
contextsrc/tests.rs:17fn2312322.5
authenticate_raw_callersrc/lib.rs:224fn3352552.5
signed_caller_headerssrc/lib.rs:392fn3441952.4
hex_sha256src/lib.rs:462fn41402.1
RawAuthError::newsrc/lib.rs:138method31502.1
auth_gate_modesrc/lib.rs:160fn101331.9
headersrc/lib.rs:447fn81301.8
enforcingsrc/tests.rs:72fn311611.8
header_mapsrc/tests.rs:45fn311501.7
credentialssrc/tests.rs:41fn311301.7
raw_route_auth_requiredsrc/lib.rs:205fn87421.3
canonical_assertion_bytessrc/lib.rs:441fn31301.2
local_peer_seedsrc/lib.rs:428fn101301.1
claim_noncesrc/lib.rs:489fn122201
verified_caller_from_assertionsrc/lib.rs:258fn384190.9
declared_peer_idsrc/lib.rs:458fn31110.9
fresh_noncesrc/lib.rs:474fn61110.9
VerifiedCaller::is_verifiedsrc/lib.rs:115method31500.8
signsrc/tests.rs:51fn71430.8
assertionsrc/tests.rs:59fn121420.8
VerifiedCaller::receipt_labelsrc/lib.rs:121method73400.8
is_canonical_sha256src/lib.rs:467fn32100.6
decode_assertionsrc/lib.rs:297fn71110.6
verify_assertion_shapesrc/lib.rs:307fn5114140.6
trusted_peer_public_keysrc/lib.rs:363fn131110.6
VerifiedCaller::peer_idsrc/lib.rs:108method62000.5
RawAuthError::fmtsrc/lib.rs:144trait 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

Outside the workspace

base64 serde serde_json sha2