commit 47716611e2aa056264bbce7ef546d238f23c18f3d11e9d1cf4223a67259c683c Author: Marcus Meissner Date: Thu Jun 1 06:58:04 2023 +0000 Accepting request 1090117 from SUSE:ALP This tool is needed to support Full Disk Encryption on ALP and hopefully other projects. OBS-URL: https://build.opensuse.org/request/show/1090117 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcr-oracle?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pcr-oracle-0.4.2.tar.bz2 b/pcr-oracle-0.4.2.tar.bz2 new file mode 100644 index 0000000..1b95f34 --- /dev/null +++ b/pcr-oracle-0.4.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ffaad61b8690dfca28d553906817f5cb77a99aa844f441aac6a3bd6520d756f +size 65365 diff --git a/pcr-oracle.changes b/pcr-oracle.changes new file mode 100644 index 0000000..931a44a --- /dev/null +++ b/pcr-oracle.changes @@ -0,0 +1,34 @@ +------------------------------------------------------------------- +Mon Jan 16 08:52:50 UTC 2023 - Olaf Kirch + +- Updated to version 0.4.2 + +------------------------------------------------------------------- +Thu Jan 5 13:54:40 UTC 2023 - Michal Suchanek + +- Fix project URL + +------------------------------------------------------------------- +Wed Jan 4 11:50:54 UTC 2023 - Olaf Kirch + +- add --rsa-generate-key option + +------------------------------------------------------------------- +Tue Jan 3 15:00:08 UTC 2023 - Olaf Kirch + +- Updated to version 0.4.1: + - disable debug messages from authenticode PECOFF parser + - add --tpm-eventlog option + - add manpage + +------------------------------------------------------------------- +Mon Jan 2 16:36:29 UTC 2023 - Olaf Kirch + +- Updated to version 0.4: + - drop the dependency on tss2 fapi + - introduce authorized policies + +------------------------------------------------------------------- +Tue Nov 8 11:18:07 UTC 2022 - Olaf Kirch + +- Establish pcr-oracle as standalone package, apart from fde-tools diff --git a/pcr-oracle.spec b/pcr-oracle.spec new file mode 100644 index 0000000..2168569 --- /dev/null +++ b/pcr-oracle.spec @@ -0,0 +1,59 @@ +# +# spec file for package pcr-oracle +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# +# needssslcertforbuild + + +Name: pcr-oracle +Version: 0.4.2 +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.bz2 +BuildRequires: openssl >= 0.9.8 +BuildRequires: tpm2-0-tss-devel +ExclusiveArch: x86_64 aarch64 ppc64le riscv64 + +%description +This utility tries to predict the values of the TPM's Platform +Configuration Registers following an update of system components +like shim, grub, etc. + +%prep +%setup -q + +%build +# beware, this is not autoconf +./configure --prefix /usr +make + +%install +make install DESTDIR=%{buildroot} + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + + +%files +%defattr(-,root,root) +%doc README.md +%doc test-authorized.sh +/bin/pcr-oracle +%{_mandir}/man8/pcr-oracle.8* + +%changelog