Public bug reported:

Description:   zkey: Fix CCA host version detection for newer CCA
versions

Symptom:       The zkey tool fails with an error message like 'zkey: CCA 
               library version is invalid: <version>' when using newer CCA 
               host library versions.

Problem:       The zkey tool parses the version string returned by CCA verbs
               CSUACFV and CSUACFQ with keyword STATCCA and expects the
               delimiter character 'z' at the end of the version string. 
               Newer CCA versions use different delimiter characters and thus
               parsing the version string fails.

Reproduction:  Use a zkey command that requires the CCA host library, e.g.
               'zkey reencipher seckey.bin --to-new --output seckey2.bin'. 

Solution:      Fix the parsing code to allow any delimiter character.

Upstream-ID:   33fc534a81b7c163936064c96f1fb902255f7ff1

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: New


** Tags: architecture-s39064 bugnameltc-221012 severity-high 
targetmilestone-inin---

** Tags added: architecture-s39064 bugnameltc-221012 severity-high
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)

** Package changed: ubuntu => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163182

Title:
  [UBUNTU 22.04] zkey: Fix CCA host version detection for newer CCA
  versions (s390-tools)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2163182/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to