oscap-anaconda-addon/oscap-anaconda-addon-2.0.1-fix_fingerprint-PR_177.patch
Matej Tyc b20d8baf36 Port various fixes:
- Fix handling of content archives
- Fix handling of content fingerprint
- Fix crash when a previously selected hardening has been cancelled
- Pull latest translations

Resolves: rhbz#1996129
Resolves: rhbz#1993065
Resolves: rhbz#2014108
2021-11-10 13:48:42 +01:00

23 lines
844 B
Diff

From c72b95146650b0debc36b8da546b60a9d5482ab3 Mon Sep 17 00:00:00 2001
From: Matej Tyc <matyc@redhat.com>
Date: Fri, 15 Oct 2021 15:28:24 +0200
Subject: [PATCH] Fix bad destination for the parsed content fingerprint
---
org_fedora_oscap/service/kickstart.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org_fedora_oscap/service/kickstart.py b/org_fedora_oscap/service/kickstart.py
index d6f22ac..dc1a100 100644
--- a/org_fedora_oscap/service/kickstart.py
+++ b/org_fedora_oscap/service/kickstart.py
@@ -140,7 +140,7 @@ def _parse_fingerprint(self, value):
msg = "Unsupported fingerprint"
raise KickstartValueError(msg)
- self.fingerprint = value
+ self.policy_data.fingerprint = value
def _parse_certificates(self, value):
self.policy_data.certificates = value