Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2021-02-22 14:58:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and      /work/SRC/openSUSE:Factory/.s390-tools.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "s390-tools"

Mon Feb 22 14:58:08 2021 rev:36 rq:873225 version:2.15.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes    2021-02-01 
14:41:32.576653965 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.2378/s390-tools.changes  
2021-02-22 14:58:09.765773977 +0100
@@ -1,0 +2,9 @@
+Wed Feb 17 20:47:26 UTC 2021 - Mark Post <[email protected]>
+
+- Added s390-tools-sles15sp3-zkey-Fix-APQN-property-names.patch
+  (bsc#1182113)
+  Problem:  The KMS configuration property names to store the CCA and
+            EP11 APQNs are incorrect, i.e. swapped.
+  Solution: Correct the KMS configuration property names.
+
+-------------------------------------------------------------------

New:
----
  s390-tools-sles15sp3-zkey-Fix-APQN-property-names.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ s390-tools.spec ++++++
--- /var/tmp/diff_new_pack.tu1msV/_old  2021-02-22 14:58:10.765775135 +0100
+++ /var/tmp/diff_new_pack.tu1msV/_new  2021-02-22 14:58:10.769775140 +0100
@@ -97,6 +97,7 @@
 Patch8:         s390-tools-sles15sp3-02-genprotimg-fix-two-memory-leaks.patch
 Patch9:         
s390-tools-sles15sp3-03-genprotimg-require-argument-for-ramdisk-and-parmfile.patch
 Patch10:        
s390-tools-sles15sp3-04-genprotimg-add-host-key-document-verification-suppor.patch
+Patch11:        s390-tools-sles15sp3-zkey-Fix-APQN-property-names.patch
 
 # SUSE patches
 Patch900:       s390-tools-sles12-zipl_boot_msg.patch

++++++ s390-tools-sles15sp3-zkey-Fix-APQN-property-names.patch ++++++
Subject: [PATCH] [BZ 189965] zkey: Fix APQN property names
From: Ingo Franzki <[email protected]>

Description:   zkey: Fix KMS plugin configuration to store APQNs correctly.
Symptom:       When a KMS plugin is configured with APQNs, the set of 
               APQNs is stored per card type, i.e. the set of CCA APQNs and
               the set of EP11 APQNs is stored separately in the KMS
               plugin configuration file. Unfortunately, the names of the
               configuration properties are swapped, so that CCA APQNs are
               stored as EP11 APQNs, and vice versa.
               This does not cause any malfunction as of today, however 
               if this is fixed later, while a KMS plugin configuration
               already exists, then the KMS plugin will fail to work once
               the fix is applied. A KMS plugin reconfiguration would then
               be needed to make the plugin work again.
Problem:       The KMS configuration property names to store the CCA and
               EP11 APQNs are incorrect, i.e. swapped.
Solution:      Correct the KMS configuration property names.
Reproduction:  Configure a KMS plugin with APQNs and check the KMS config
               file.
Upstream-ID:   07d181e29b484108bce5ea07c1561ffb62a1b56e
Problem-ID:    189965

Upstream-Description:

              zkey: Fix APQN property names

              Signed-off-by: Ingo Franzki <[email protected]>
              Signed-off-by: Jan Hoeppner <[email protected]>


Signed-off-by: Ingo Franzki <[email protected]>
---
 zkey/kms.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/zkey/kms.c
+++ b/zkey/kms.c
@@ -46,8 +46,8 @@
 #define KMS_CONFIG_PROP_KMS            "kms"
 #define KMS_CONFIG_PROP_KMS_CONFIG     "config"
 #define KMS_CONFIG_PROP_APQNS          "apqns"
-#define KMS_CONFIG_PROP_CCA_APQNS      "ep11_apqns"
-#define KMS_CONFIG_PROP_EP11_APQNS     "cca_apqns"
+#define KMS_CONFIG_PROP_CCA_APQNS      "cca_apqns"
+#define KMS_CONFIG_PROP_EP11_APQNS     "ep11_apqns"
 #define KMS_CONFIG_LOCAL               "local"
 
 #define KMS_KEY_PROP_NAME              "zkey-name"

Reply via email to