- Replace form_urlencoded with RFC 3986 compliant URI encoding - Implement aws_uri_encode() matching AWS SigV4 spec exactly - Unreserved chars (A-Z,a-z,0-9,-,_,.,~) not encoded - All other chars percent-encoded with uppercase hex - Preserve slashes in paths, encode in query params - Normalize empty paths to '/' per AWS spec - Fix test expectations (body hash, HMAC values) - Add comprehensive SigV4 signature determinism test This fixes the canonicalization mismatch that caused signature validation failures in T047. Auth can now be enabled for production. Refs: T058.S1
33 lines
869 B
TOML
33 lines
869 B
TOML
[package]
|
|
name = "prismnet-server"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "prismnet-server"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
prismnet-types = { workspace = true }
|
|
prismnet-api = { workspace = true }
|
|
chainfire-client = { path = "../../../chainfire/chainfire-client" }
|
|
|
|
tokio = { workspace = true }
|
|
tonic = { workspace = true }
|
|
tonic-health = { workspace = true }
|
|
prost = { workspace = true }
|
|
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
metrics = { workspace = true }
|
|
metrics-exporter-prometheus = { workspace = true }
|
|
clap = { workspace = true }
|
|
dashmap = { workspace = true }
|
|
uuid = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
toml = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
anyhow = { workspace = true }
|