litellm/.github/actions/restore-rust-bridge
yucheng 77fb630bd3 fix(rust-auth-aws): compute SigV4 in the AWS-LC FIPS module in the fips build
aws-sigv4 hard-wires RustCrypto hmac and sha2 for the SigV4 signing key,
signature and payload hash, with no hook to swap them. It is patched to
the vendored 1.5.3 copy, whose new fips feature computes those three
functions through aws-lc-rs. Every bridge signing path goes through them,
including Bedrock and the other SigV4 providers, the explicit AWS login
for Vertex, S3 logging, ElastiCache IAM, and the STS, Secrets Manager,
KMS and S3 SDK clients.

litellm-auth-aws gets a fips feature that turns it on, and computes its
own SHA-256 (botocore Date-header signing, the S3 logging payload hash)
through aws-lc-rs too. The bridge's fips feature enables it. The default
build compiles exactly the code it did before.

An aws-sigv4 bump that the vendored copy cannot satisfy now fails cargo
resolution, since the registry crate has no fips feature.
2026-11-25 06:46:38 -08:00
..
action.yml fix(rust-auth-aws): compute SigV4 in the AWS-LC FIPS module in the fips build 2026-11-25 06:46:38 -08:00