From 440cf21e0bab8ab0b61d8b70ab0518f71a8f2eac Mon Sep 17 00:00:00 2001 From: Jeff Thomas Date: Wed, 22 Jan 2025 15:51:13 -0800 Subject: [PATCH] Vend warp w/ patch for TLS w/ cert + key in same pem Summary: Broken by: D68332922 [rust] Update warp package 0.3.0 -> 0.3.7 In the old code the builder roughly did: "give me the pkcs8 private key" nope, give me the "rsa private key" ok/nope ... In the 3.7 code it checks that _all_ of the entries in the pem file are keys before using the last entry. filed an issue w/ the maintainer: https://github.com/seanmonstar/warp/issues/1113 sent them a PR and this diff vends it back to us NOTE: looks like I picked up master with this which also includes some dependency bumps but no warp code changes. Reviewed By: neagan Differential Revision: D68513414 fbshipit-source-id: 9667a2afa5fb9fdeb43a1f7b6b106c103d71d1d5 --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 71d35effc..8b04ecac3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,7 @@ pyo3-build-config = { package = "pyo3-build-config", version = "0.21.2", git = " quickcheck = { git = "https://github.com/jakoschiko/quickcheck", rev = "6ecdf5bb4b0132ce66670b4d46453aa022ea892c" } uefisettings = { git = "https://github.com/linuxboot/uefisettings", rev = "f16daed1d2bd1216204fd24e876c6477d03aebb3" } uefisettings_backend_thrift = { git = "https://github.com/linuxboot/uefisettings", rev = "f16daed1d2bd1216204fd24e876c6477d03aebb3" } +warp = { git = "https://github.com/jdthomas/warp.git", rev = "c794232d182abaa3add8184e7d661e084cc516c5", features = ["tls"] } [patch."https://github.com/rust-vmm/vfio"] vfio-bindings = "0.3.1"