File CVE-2022-1053-03.patch of Package keylime
From 685059fad204c1dcdd69bb0cbe75079236e465a5 Mon Sep 17 00:00:00 2001
From: Thore Sommer <mail@thson.de>
Date: Wed, 6 Apr 2022 16:08:46 +0200
Subject: [PATCH] api: bump version to 2.1
We only have a stable API between agent and server components, but the
version is still increased to indicate an API change in the verifier.
Changes in the verifier agent POST request:
- ak_tpm: Takes the AK of the agent in the same format as saved in the
registrar.
- mtls_cert (optional): Takes the agent mTLS certificate. PEM encoded.
In most cases the agent provides it to the
registrar during initial registration.
Signed-off-by: Thore Sommer <mail@thson.de>
---
keylime/api_version.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Index: keylime-v6.3.2/keylime/api_version.py
===================================================================
--- keylime-v6.3.2.orig/keylime/api_version.py
+++ keylime-v6.3.2/keylime/api_version.py
@@ -6,14 +6,15 @@ import re
from packaging import version
-CURRENT_VERSION = "2.0"
+CURRENT_VERSION = "2.1"
VERSIONS = [
"1.0",
- "2.0"
+ "2.0",
+ "2.1"
]
LATEST_VERSIONS = {
"1": "1.0",
- "2": "2.0"
+ "2": "2.1"
}
def current_version():