diff --git a/keylime-agent.conf b/keylime-agent.conf index 143e5141..6dfc8ac1 100644 --- a/keylime-agent.conf +++ b/keylime-agent.conf @@ -6,7 +6,6 @@ version = "2.0" # The agent's UUID. -# Set to "openstack", it will try to get the UUID from the metadata service. # If you set this to "generate", Keylime will create a random UUID. # If you set this to "hash_ek", Keylime will set the UUID to the result # of 'SHA256(public EK in PEM format)'. diff --git a/keylime-agent/src/config.rs b/keylime-agent/src/config.rs index 4ae5a226..c4d9601b 100644 --- a/keylime-agent/src/config.rs +++ b/keylime-agent/src/config.rs @@ -601,10 +601,6 @@ fn config_get_file_path( fn get_uuid(agent_uuid_config: &str) -> String { match agent_uuid_config { - "openstack" => { - info!("Openstack placeholder..."); - "openstack".into() - } "hash_ek" => { info!("Using hashed EK as UUID"); // DO NOT change this to something else. It is used later to set the correct value. @@ -728,7 +724,6 @@ mod tests { #[test] fn test_get_uuid() { - assert_eq!(get_uuid("openstack"), "openstack"); assert_eq!(get_uuid("hash_ek"), "hash_ek"); let _ = Uuid::parse_str(&get_uuid("generate")).unwrap(); //#[allow_ci] assert_eq!(