Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump configuration version and fix enable_iak_idevid #682

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion keylime-agent.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# The configuration file version
#
# To override, set KEYLIME_AGENT_VERSION environment variable.
version = "2.0"
version = "2.1"

# The agent's UUID.
# If you set this to "generate", Keylime will create a random UUID.
Expand Down
7 changes: 2 additions & 5 deletions keylime-agent/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,8 @@
if let Some(ref v) = self.ek_handle {
_ = agent.insert("ek_handle".to_string(), v.to_string().into());
}
if let Some(ref v) = self.enable_iak_idevid {
_ = agent.insert(
"enable_iak_idevid".to_string(),
v.to_string().into(),
);
if let Some(v) = self.enable_iak_idevid {
_ = agent.insert("enable_iak_idevid".to_string(), v.into());

Check warning on line 302 in keylime-agent/src/config.rs

View check run for this annotation

Codecov / codecov/patch

keylime-agent/src/config.rs#L302

Added line #L302 was not covered by tests
}
if let Some(ref v) = self.iak_idevid_asymmetric_alg {
_ = agent.insert(
Expand Down
Loading