<div class="container">
<h1>Recommended update for libnvme, nvme-cli</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-RU-2024:4269-1</td>
</tr>
<tr>
<th>Release Date:</th>
<td>2024-12-09T16:34:42Z</td>
</tr>
<tr>
<th>Rating:</th>
<td>moderate</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1216982">bsc#1216982</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1226216">bsc#1226216</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1232616">bsc#1232616</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1234217">bsc#1234217</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">Basesystem Module 15-SP6</li>
<li class="list-group-item">openSUSE Leap 15.6</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP6</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that has four fixes can now be installed.</p>
<h2>Description:</h2>
<p>This update for libnvme, nvme-cli fixes the following issues:</p>
<ul>
<li>Version update (1.8+79.g69e7772)</li>
<li>docs: update check-tls-key arguments (bsc#1216982, bsc#1226216).</li>
<li>docs: update gen-tls-key arguments (bsc#1216982, bsc#1226216).</li>
<li>docs: update TLS options (bsc#1216982, bsc#1226216).</li>
<li>fabrics: add support to connect to accept a PSK command line and configuration (bsc#1216982, bsc#1226216).</li>
<li>fabrics: fix map error level in __nvmf_add_ctrl (bsc#1216982, bsc#1226216).</li>
<li>fabrics: add ctrl connect interface (bsc#1216982, bsc#1226216).</li>
<li>fabrics: use hex numbers when generating command line options (bsc#1216982, bsc#1226216).</li>
<li>fabrics: rename first argument for argument macros (bsc#1216982, bsc#1226216).</li>
<li>fabrics: do not attempt to import keys if tls is not enabled (bsc#1216982, bsc#1226216).</li>
<li>fabrics: skip namespace scan for fabric commands (bsc#1232616).</li>
<li>json: move keystore operations out of the JSON parser (bsc#1216982, bsc#1226216).</li>
<li>json: do not escape strings when printing the configuration (bsc#1216982, bsc#1226216).</li>
<li>linux: do not do any keyring ops when no key is provided (bsc#1216982, bsc#1226216).</li>
<li>linux: do not return w/o OpenSSL support enabled (bsc#1216982, bsc#1226216).</li>
<li>linux: fix derive_psk_digest OpenSSL 1.1 version (bsc#1216982, bsc#1226216).</li>
<li>linux: fixup PSK HMAC type '0' handling (bsc#1216982, bsc#1226216).</li>
<li>linux: handle key import correctly (bsc#1216982, bsc#1226216).</li>
<li>linux: export keys to config (bsc#1216982, bsc#1226216).</li>
<li>linux: only return the description of a key (bsc#1216982, bsc#1226216).</li>
<li>linux: use ssize_t as return type for nvme_identity_len (bsc#1216982, bsc#1226216).</li>
<li>linux: reorder variable declarations (bsc#1216982 bsc#1226216 (bsc#1216982, bsc#1226216).</li>
<li>linux: Remove the use of OpenSSL Engine API.</li>
<li>linux: add import/export function for TLS pre-shared keys (bsc#1216982, bsc#1226216).</li>
<li>netapp-smdev: remove redundant code (bsc#1234217).</li>
<li>netapp-smdev: add verbose output (bsc#1234217).</li>
<li>netapp-smdev-doc: add verbose details (bsc#1234217).</li>
<li>netapp-ontapdev: fix JSON output for nsze and nuse (bsc#1234217).</li>
<li>netapp-ontapdev: fix fw version handling (bsc#1234217).</li>
<li>netapp-ontapdev-doc: add verbose details (bsc#1232616).</li>
<li>netapp-ontapdev: add verbose output (bsc#1232616).</li>
<li>nvme: use unsigned char for hmac and identity (bsc#1216982, bsc#1226216).</li>
<li>nvme: add support to append TLS PSK to keyfile for check-tls-key (bsc#1216982, bsc#1226216).</li>
<li>nvme: return correct error code in append_keyfile (bsc#1216982, bsc#1226216).</li>
<li>nvme: add support to add derive TLS PSK to keyfile (bsc#1216982, bsc#1226216).</li>
<li>nvme: rename identity to version (bsc#1216982, bsc#1226216).</li>
<li>nvme: set file permission for keyfile to owner only (bsc#1216982, bsc#1226216).</li>
<li>nvme: export tls keys honoring version and hmac (bsc#1216982, bsc#1226216).</li>
<li>nvme-netapp: update err messages (bsc#1234217).</li>
<li>nvmf-keys: add udev rule to import tls keys (bsc#1216982, bsc#1226216).</li>
<li>test: add pre-shared key json tests (bsc#1216982, bsc#1226216).</li>
<li>test: extend psk to test new 'versioned' API (bsc#1216982, bsc#1226216).</li>
<li>test: add test case for importing/exporting PSKs (bsc#1216982, bsc#1226216).</li>
<li>test: make config-diff more flexible to use (bsc#1216982, bsc#1226216).</li>
<li>tree: optionally skip namespaces during scanning (bsc#1232616).</li>
<li>tree: do no export tls keys when not provided by user (bsc#1216982, bsc#1226216).</li>
<li>tree: read tls_configured_key and tls_keyring from sysfs (bsc#1216982, bsc#1226216).</li>
<li>tree: move dhchap and tls sysfs parser into separate functions (bsc#1216982, bsc#1226216).</li>
<li>tree: add getter/setters for TLS PSK (bsc#1216982, bsc#1226216).</li>
<li>util: added error code for ENOKEY (bsc#1216982, bsc#1226216).</li>
<li>util: Add string constant for ENVME_CONNECT_IGNORED.</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
openSUSE Leap 15.6
<br/>
<code>zypper in -t patch SUSE-2024-4269=1 openSUSE-SLE-15.6-2024-4269=1</code>
</li>
<li class="list-group-item">
Basesystem Module 15-SP6
<br/>
<code>zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP6-2024-4269=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64 i586)
<ul>
<li>libnvme-devel-1.8+79.g69e7772-150600.3.12.2</li>
<li>nvme-cli-debugsource-2.8+87.g29df38e-150600.3.12.2</li>
<li>libnvme-mi1-1.8+79.g69e7772-150600.3.12.2</li>
<li>libnvme-mi1-debuginfo-1.8+79.g69e7772-150600.3.12.2</li>
<li>libnvme1-debuginfo-1.8+79.g69e7772-150600.3.12.2</li>
<li>libnvme1-1.8+79.g69e7772-150600.3.12.2</li>
<li>python3-libnvme-debuginfo-1.8+79.g69e7772-150600.3.12.2</li>
<li>nvme-cli-2.8+87.g29df38e-150600.3.12.2</li>
<li>nvme-cli-debuginfo-2.8+87.g29df38e-150600.3.12.2</li>
<li>libnvme-debugsource-1.8+79.g69e7772-150600.3.12.2</li>
<li>python3-libnvme-1.8+79.g69e7772-150600.3.12.2</li>
<li>libnvme-debuginfo-1.8+79.g69e7772-150600.3.12.2</li>
</ul>
</li>
<li>
openSUSE Leap 15.6 (noarch)
<ul>
<li>nvme-cli-bash-completion-2.8+87.g29df38e-150600.3.12.2</li>
<li>nvme-cli-zsh-completion-2.8+87.g29df38e-150600.3.12.2</li>
<li>nvme-cli-regress-script-2.8+87.g29df38e-150600.3.12.2</li>
</ul>
</li>
<li>
Basesystem Module 15-SP6 (aarch64 ppc64le s390x x86_64)
<ul>
<li>libnvme-devel-1.8+79.g69e7772-150600.3.12.2</li>
<li>nvme-cli-debugsource-2.8+87.g29df38e-150600.3.12.2</li>
<li>libnvme-mi1-1.8+79.g69e7772-150600.3.12.2</li>
<li>libnvme-mi1-debuginfo-1.8+79.g69e7772-150600.3.12.2</li>
<li>libnvme1-debuginfo-1.8+79.g69e7772-150600.3.12.2</li>
<li>libnvme1-1.8+79.g69e7772-150600.3.12.2</li>
<li>nvme-cli-2.8+87.g29df38e-150600.3.12.2</li>
<li>nvme-cli-debuginfo-2.8+87.g29df38e-150600.3.12.2</li>
<li>python3-libnvme-debuginfo-1.8+79.g69e7772-150600.3.12.2</li>
<li>libnvme-debugsource-1.8+79.g69e7772-150600.3.12.2</li>
<li>python3-libnvme-1.8+79.g69e7772-150600.3.12.2</li>
<li>libnvme-debuginfo-1.8+79.g69e7772-150600.3.12.2</li>
</ul>
</li>
<li>
Basesystem Module 15-SP6 (noarch)
<ul>
<li>nvme-cli-bash-completion-2.8+87.g29df38e-150600.3.12.2</li>
<li>nvme-cli-zsh-completion-2.8+87.g29df38e-150600.3.12.2</li>
</ul>
</li>
</ul>
<h2>References:</h2>
<ul>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1216982">https://bugzilla.suse.com/show_bug.cgi?id=1216982</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1226216">https://bugzilla.suse.com/show_bug.cgi?id=1226216</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1232616">https://bugzilla.suse.com/show_bug.cgi?id=1232616</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1234217">https://bugzilla.suse.com/show_bug.cgi?id=1234217</a>
</li>
</ul>
</div>