photoncloud-monorepo/plasmavmc/crates/plasmavmc-server/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

52 lines
1.9 KiB
TOML

[package]
name = "plasmavmc-server"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "PlasmaVMC control plane server"
[[bin]]
name = "plasmavmc-server"
path = "src/main.rs"
[dependencies]
plasmavmc-types = { workspace = true }
plasmavmc-api = { workspace = true }
plasmavmc-hypervisor = { workspace = true }
plasmavmc-kvm = { workspace = true }
plasmavmc-firecracker = { workspace = true }
tonic = { workspace = true }
tonic-health = { workspace = true }
prost = { workspace = true }
tokio = { workspace = true }
tokio-stream = { workspace = true }
async-trait = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
thiserror = { workspace = true }
clap = { workspace = true }
dashmap = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
toml = { workspace = true }
metrics-exporter-prometheus = { workspace = true }
chainfire-client = { path = "../../../chainfire/chainfire-client" }
creditservice-client = { path = "../../../creditservice/creditservice-client" }
flaredb-client = { path = "../../../flaredb/crates/flaredb-client" }
prismnet-api = { path = "../../../prismnet/crates/prismnet-api" }
[dev-dependencies]
tempfile = { workspace = true }
chrono = "0.4"
chainfire-server = { path = "../../../chainfire/crates/chainfire-server" }
flaredb-server = { path = "../../../flaredb/crates/flaredb-server" }
flaredb-proto = { path = "../../../flaredb/crates/flaredb-proto" }
iam-api = { path = "../../../iam/crates/iam-api" }
prismnet-server = { path = "../../../prismnet/crates/prismnet-server" }
prismnet-types = { path = "../../../prismnet/crates/prismnet-types" }
creditservice-api = { path = "../../../creditservice/crates/creditservice-api" }
creditservice-proto = { path = "../../../creditservice/crates/creditservice-proto" }
[lints]
workspace = true