Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libnvme for openSUSE:Factory checked in at 2024-11-01 21:00:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libnvme (Old) and /work/SRC/openSUSE:Factory/.libnvme.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libnvme" Fri Nov 1 21:00:56 2024 rev:31 rq:1219892 version:1.11 Changes: -------- --- /work/SRC/openSUSE:Factory/libnvme/libnvme.changes 2024-08-06 09:07:46.908351581 +0200 +++ /work/SRC/openSUSE:Factory/.libnvme.new.2020/libnvme.changes 2024-11-01 21:01:05.794218863 +0100 @@ -1,0 +2,50 @@ +Thu Oct 31 13:06:35 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com> + +- Update to version 1.11: + * prefix: Use Request or Response Length in DLEN and DOFF for MI + * types: Add ETPVDS and SSI fields of sanitize status log + * json: do not escape strings when printing the configuration + * tree: do no export tls keys when not provided by user + * types: add struct nvme_id_ctrl_nvm ver and lbamqf member variables + * types: add NVMe 2.1 get log page LIDs + * type: Added enums for ANSAN and RGCNS bit of OAES field + * linux: fixup PSK HMAC type '0' handling + * util: added error code for ENOKEY + * fabrics: fix map error level in __nvmf_add_ctrl + * fabrics: add ctrl connect interface + * fabrics: use hex numbers when generating command line options + * fabrics: rename first argument for argument macros + * linux: handle key import correctly + * linux: export keys to config + * tree: read tls_configured_key and tls_keyring from sysfs + * tree: move dhchap and tls sysfs parser into separate functions + * json: move keystore operations out of the JSON parser + * tree: add getter/setters for TLS PSK + * linux: add import/export function for TLS pre-shared keys + * linux: only return the description of a key + * linux: use ssize_t as return type for nvme_identity_len + * linux: reorder variable declarations + * types: Added enum for SMVES event of PEL log + * libnvme: add lockdown log page support(LID : 0x14) + * libnvme: add EMVS support to sanitize command + * types: Add TP4159 PCIe Infrastructure for Live Migration definitions + * types: add NVME_CTRL_OAES get macro definitions + * types: add NVME_CTRL_OAES_TTHR definition + * types: add NVME_CTRL_FNA definitions to get field values + * types: add NVME_VAL() definition + * tree: fix tls key mem leak (bsc#1231668) + * tree: fix dhchap_ctrl_key mem leak (bsc#1231668) + * tree: fix dhchap_key mem leak (bsc#1231668) + * types: add NVME_CHECK() definition to check nvme register field value + * types: add kv opcodes + * types: added new fields in nvme_nvme_id_ns + * types: Add enum for Completion Condition of Get LBA status command + * ioctl: refactoring set_features + * types: add new fields added in TP4142 + * mi: add control primitive command + * linux: Correct error handling for derive_psk_digest (bsc#1228376) + * types: Added new field CSER in enum as per TP4167 +- build fix for OpenSSL 1.1 + * add 0001-linux-fix-derive_psk_digest-OpenSSL-1.1-version.patch + +------------------------------------------------------------------- @@ -7,3 +57,3 @@ - * types: add new fields added in TP4165 - * types: Changed the space into tap space - * tree: handle no address phy slot dirs + * types: add new fields added in TP4165 (bsc#1231668) + * types: Changed the space into tap space (bsc#1231668) + * tree: handle no address phy slot dirs (bsc#1229193) @@ -17 +67 @@ - * types: add new field added in TP4090 + * types: add new field added in TP4090 (bsc#1231668) @@ -19 +69 @@ - * tree: fix segfault in nvme_free_tree() + * tree: fix segfault in nvme_free_tree() (bsc#1231668) @@ -78 +128 @@ - * tree: Add NVM subsystem controller identifier + * tree: Add NVM subsystem controller identifier (bsc#1224024) @@ -116 +166 @@ - * ioctl: export nvme_submit_passthru{64} as weak symbol + * ioctl: export nvme_submit_passthru{64} as weak symbol (bsc#1231668) Old: ---- libnvme-1.10+0.gdd51fa8.obscpio New: ---- 0001-linux-fix-derive_psk_digest-OpenSSL-1.1-version.patch libnvme-1.11.obscpio BETA DEBUG BEGIN: New:- build fix for OpenSSL 1.1 * add 0001-linux-fix-derive_psk_digest-OpenSSL-1.1-version.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnvme.spec ++++++ --- /var/tmp/diff_new_pack.4GZArF/_old 2024-11-01 21:01:06.594252213 +0100 +++ /var/tmp/diff_new_pack.4GZArF/_new 2024-11-01 21:01:06.594252213 +0100 @@ -21,12 +21,13 @@ %bcond_without check Name: libnvme -Version: 1.10+0.gdd51fa8 +Version: 1.11 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later URL: https://github.com/linux-nvme/libnvme/ Source0: libnvme-%{version}.tar.gz +Patch01: 0001-linux-fix-derive_psk_digest-OpenSSL-1.1-version.patch BuildRequires: dbus-1-devel BuildRequires: gcc BuildRequires: gcc-c++ ++++++ 0001-linux-fix-derive_psk_digest-OpenSSL-1.1-version.patch ++++++ From 81073a178c198a1b7f08964300905cbec595c14e Mon Sep 17 00:00:00 2001 From: Daniel Wagner <wagi@kernel.org> Date: Thu, 31 Oct 2024 14:54:21 +0100 Subject: [PATCH] linux: fix derive_psk_digest OpenSSL 1.1 version The reordering of the variables broke derive_psk_digest OpenSSL 1.1 version. Fixes: 4cc727d19221 ("linux: reorder variable declarations") Signed-off-by: Daniel Wagner <wagi@kernel.org> --- src/nvme/linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvme/linux.c b/src/nvme/linux.c index e74fac20ba18..0d48792431d0 100644 --- a/src/nvme/linux.c +++ b/src/nvme/linux.c @@ -881,14 +881,14 @@ int nvme_gen_dhchap_key(char *hostnqn, enum nvme_hmac_alg hmac, } static int derive_psk_digest(const char *hostnqn, const char *subsysnqn, - int version, int hmac, + int version, int cipher, unsigned char *retained, size_t key_len, char *digest, size_t digest_len) { static const char hmac_seed[] = "NVMe-over-Fabrics"; - const EVP_MD *md = select_hmac(hmac, &hmac_len); _cleanup_hmac_ctx_ HMAC_CTX *hmac_ctx = NULL; _cleanup_free_ unsigned char *psk_ctx = NULL; + const EVP_MD *md; size_t hmac_len; size_t len; -- 2.47.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.4GZArF/_old 2024-11-01 21:01:06.634253881 +0100 +++ /var/tmp/diff_new_pack.4GZArF/_new 2024-11-01 21:01:06.638254048 +0100 @@ -3,8 +3,8 @@ <param name="scm">git</param> <param name="url">https://github.com/linux-nvme/libnvme.git</param> <param name="filename">libnvme</param> - <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@.g%h</param> - <param name="revision">dd51fa8550564c93436423a4d8ed4be92ae50290</param> + <param name="versionformat">@PARENT_TAG@</param> + <param name="revision">v1.11</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.4GZArF/_old 2024-11-01 21:01:06.658254882 +0100 +++ /var/tmp/diff_new_pack.4GZArF/_new 2024-11-01 21:01:06.662255048 +0100 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/linux-nvme/libnvme.git</param> - <param name="changesrevision">dd51fa8550564c93436423a4d8ed4be92ae50290</param> + <param name="changesrevision">2b3cb1746451f58583408a25857ca897d18cd4ca</param> </service> </servicedata> (No newline at EOF) ++++++ libnvme-1.10+0.gdd51fa8.obscpio -> libnvme-1.11.obscpio ++++++ ++++ 14227 lines of diff (skipped) ++++++ libnvme.obsinfo ++++++ --- /var/tmp/diff_new_pack.4GZArF/_old 2024-11-01 21:01:07.266280228 +0100 +++ /var/tmp/diff_new_pack.4GZArF/_new 2024-11-01 21:01:07.270280395 +0100 @@ -1,5 +1,5 @@ name: libnvme -version: 1.10+0.gdd51fa8 -mtime: 1722585273 -commit: dd51fa8550564c93436423a4d8ed4be92ae50290 +version: 1.11 +mtime: 1730365599 +commit: 2b3cb1746451f58583408a25857ca897d18cd4ca