photoncloud-monorepo/prismnet/Cargo.toml
centra d2149b6249 fix(lightningstor): Fix SigV4 canonicalization for AWS S3 auth
- 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
2025-12-12 06:23:46 +09:00

49 lines
1 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/prismnet-types",
"crates/prismnet-api",
"crates/prismnet-server",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
authors = ["PrismNET Team"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/example/prismnet"
[workspace.dependencies]
# Internal crates
prismnet-types = { path = "crates/prismnet-types" }
prismnet-api = { path = "crates/prismnet-api" }
# Async runtime
tokio = { version = "1", features = ["full"] }
# gRPC
tonic = "0.12"
tonic-health = "0.12"
prost = "0.13"
prost-types = "0.13"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# Utilities
uuid = { version = "1", features = ["v4", "serde"] }
thiserror = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
clap = { version = "4", features = ["derive"] }
dashmap = "6"
anyhow = "1"
# Metrics
metrics = "0.23"
metrics-exporter-prometheus = "0.15"
[workspace.dependencies.tonic-build]
version = "0.12"