Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pcr-oracle for openSUSE:Factory checked in at 2023-12-07 19:08:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcr-oracle (Old) and /work/SRC/openSUSE:Factory/.pcr-oracle.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcr-oracle" Thu Dec 7 19:08:51 2023 rev:7 rq:1130958 version:0.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/pcr-oracle/pcr-oracle.changes 2023-11-21 21:31:32.286280977 +0100 +++ /work/SRC/openSUSE:Factory/.pcr-oracle.new.25432/pcr-oracle.changes 2023-12-07 19:08:59.548131060 +0100 @@ -1,0 +2,14 @@ +Wed Nov 29 15:56:39 UTC 2023 - Alberto Planas Dominguez <apla...@suse.com> + +- Update to 0.5.3 + - Improve documentation + - Detect key format store via extension + - Replace --key-format and --policy-format options with a single + --target-platform option + - The json file can contain multiple predictions +- Remove fix_rsa.patch as is already upstream +- Add boot_entry.patch to add new parameter to point to a new systemd + boot entry +- Add fix_pcr_index.patch to fix the PCR index number in the JSON file + +------------------------------------------------------------------- Old: ---- fix_rsa.patch pcr-oracle-0.5.2.tar.xz New: ---- boot_entry.patch fix_pcr_index.patch pcr-oracle-0.5.3.tar.xz BETA DEBUG BEGIN: Old: - The json file can contain multiple predictions - Remove fix_rsa.patch as is already upstream - Add boot_entry.patch to add new parameter to point to a new systemd BETA DEBUG END: BETA DEBUG BEGIN: New:- Remove fix_rsa.patch as is already upstream - Add boot_entry.patch to add new parameter to point to a new systemd boot entry New: boot entry - Add fix_pcr_index.patch to fix the PCR index number in the JSON file BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcr-oracle.spec ++++++ --- /var/tmp/diff_new_pack.xx5c6h/_old 2023-12-07 19:09:02.484239388 +0100 +++ /var/tmp/diff_new_pack.xx5c6h/_new 2023-12-07 19:09:02.484239388 +0100 @@ -18,15 +18,17 @@ Name: pcr-oracle -Version: 0.5.2 +Version: 0.5.3 Release: 0 Summary: Predict TPM PCR values License: GPL-2.0-only Group: System/Boot URL: https://github.com/okirch/pcr-oracle Source: %{name}-%{version}.tar.xz -# PATCH-FEATURE-UPSTREAM fix_rsa.patch gh#okirch/pcr-oracle#37 -Patch: fix_rsa.patch +# PATCH-FEATURE-UPSTREAM boot_entry.patch gh#okirch/pcr-oracle#40 +Patch1: boot_entry.patch +# PATCH-FEATURE-UPSTREAM boot_entry.patch gh#okirch/pcr-oracle#44 +Patch2: fix_pcr_index.patch BuildRequires: libopenssl-devel >= 0.9.8 BuildRequires: tpm2-0-tss-devel >= 2.4.0 Requires: libtss2-tcti-device0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.xx5c6h/_old 2023-12-07 19:09:02.512240422 +0100 +++ /var/tmp/diff_new_pack.xx5c6h/_new 2023-12-07 19:09:02.516240569 +0100 @@ -7,7 +7,7 @@ <param name="url">https://github.com/okirch/pcr-oracle.git</param> <param name="filename">pcr-oracle</param> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">refs/tags/0.5.2</param> + <param name="revision">refs/tags/0.5.3</param> </service> <service name="recompress" mode="disabled"> <param name="file">pcr-oracle*.tar</param> ++++++ boot_entry.patch ++++++ ++++ 2094 lines (skipped) ++++++ fix_pcr_index.patch ++++++ >From 152f97b1b49ca12d1de1df67c892b1c35140c056 Mon Sep 17 00:00:00 2001 From: Alberto Planas <apla...@suse.com> Date: Thu, 30 Nov 2023 13:20:54 +0100 Subject: [PATCH 1/3] Remove old systemd parameter Signed-off-by: Alberto Planas <apla...@suse.com> --- man/pcr-oracle.8.in | 1 - 1 file changed, 1 deletion(-) Index: pcr-oracle-0.5.3/src/sd-boot.c =================================================================== --- pcr-oracle-0.5.3.orig/src/sd-boot.c +++ pcr-oracle-0.5.3/src/sd-boot.c @@ -233,7 +233,7 @@ sdb_policy_entry_set_pcr_mask(struct jso pcrs = json_object_new_array(); json_object_object_add(entry, "pcrs", pcrs); - for (pcr_index = 1; pcr_mask; pcr_index++, pcr_mask >>= 1) { + for (pcr_index = 0; pcr_mask; pcr_index++, pcr_mask >>= 1) { if (pcr_mask & 1) json_object_array_add(pcrs, json_object_new_int(pcr_index)); } @@ -315,7 +315,7 @@ sdb_policy_file_add_entry(const char *fi goto out; sdb_policy_entry_set_pcr_mask(entry, pcr_mask); - json_object_object_add(entry, "pfkp", + json_object_object_add(entry, "pkfp", json_object_new_string(print_hex_string(fingerprint, fingerprint_len))); json_object_object_add(entry, "sig", json_object_new_string(print_base64_value(signature, signature_len))); ++++++ pcr-oracle-0.5.2.tar.xz -> pcr-oracle-0.5.3.tar.xz ++++++ ++++ 2537 lines of diff (skipped)