From 1926138487c4e903f42b8bb1a015d81f0da74193 Mon Sep 17 00:00:00 2001
From: Antonio Murdaca <runcom@linux.com>
Date: Fri, 10 Dec 2021 14:55:01 +0100
Subject: [PATCH] chore: add ALLOW_NONINTEROPABLE_KDF for client and onboarding
unit
Signed-off-by: Antonio Murdaca <runcom@linux.com>
---
examples/systemd/fdo-client-linuxapp.service | 1 +
examples/systemd/fdo-owner-onboarding-server.service | 1 +
2 files changed, 2 insertions(+)
diff --git a/examples/systemd/fdo-client-linuxapp.service b/examples/systemd/fdo-client-linuxapp.service
index 4a4d8a2..9b78dde 100644
--- a/examples/systemd/fdo-client-linuxapp.service
+++ b/examples/systemd/fdo-client-linuxapp.service
@@ -7,6 +7,7 @@ After=network-online.target
Type=oneshot
Environment=DEVICE_CREDENTIAL=/boot/device-credentials
Environment=LOG_LEVEL=info
+Environment=ALLOW_NONINTEROPABLE_KDF=1
ExecStart=/usr/libexec/fdo/fdo-client-linuxapp
ExecStartPost=/usr/bin/mv /boot/device-credentials /etc/device-credentials
diff --git a/examples/systemd/fdo-owner-onboarding-server.service b/examples/systemd/fdo-owner-onboarding-server.service
index 97d3ee4..48ce0c2 100644
--- a/examples/systemd/fdo-owner-onboarding-server.service
+++ b/examples/systemd/fdo-owner-onboarding-server.service
@@ -4,6 +4,7 @@ After=network-online.target
[Service]
Environment=LOG_LEVEL=info
+Environment=ALLOW_NONINTEROPABLE_KDF=1
ExecStart=/usr/libexec/fdo/fdo-owner-onboarding-server
# restart and failure condition
--
2.33.1