keylime-agent-rust/rust-keylime-adjust-features.patch
Anderson Toshiyuki Sasaki c7b2752739 Backport some upstream bug fixes
- Set supplementary groups when dropping privileges
- Show more descriptive error messages on missing files errors
- Create /usr/libexec/keylime directory

Related: rhbz#2084552

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2022-07-01 14:11:24 +02:00

32 lines
1.2 KiB
Diff

--- a/Cargo.toml 2022-07-01 10:59:27.103854970 +0200
+++ b/Cargo.toml 2022-07-01 11:02:07.772529002 +0200
@@ -37,25 +37,15 @@
static_assertions = "1"
tempfile = "3.0.4"
tokio = {version = "1", features = ["full"]}
-tss-esapi = "7.0.0"
+tss-esapi = {version = "7.0.0", features = ["generate-bindings"]}
thiserror = "1.0"
uuid = {version = "0.8", features = ["v4"]}
-zmq = {version = "0.9.2", optional = true}
[dev-dependencies]
actix-rt = "2"
-wiremock = "0.5"
[features]
-# The features enabled by default
-default = ["with-zmq", "legacy-python-actions"]
+# Removed default features to drop ZeroMQ and the need for the python shim
+default = []
# this should change to dev-dependencies when we have integration testing
testing = []
-# Whether the agent should be compiled with support to listen for notification
-# messages on ZeroMQ
-with-zmq = ["zmq"]
-# Whether the agent should be compiled with support for python revocation
-# actions loaded as modules, which is the only kind supported by the python
-# agent (unless the enhancement-55 is implemented). See:
-# https://github.com/keylime/enhancements/blob/master/55_revocation_actions_without_python.md
-legacy-python-actions = []