Bugzilla – Bug 1218390
"fdectl tpm-present" fails with the combination fdectl v0.7.2 / pcr-oracle v0.5.4
Last modified: 2024-04-19 17:08:02 UTC
At initial installation of tumbleweed fdectl v0.7.2 and pcr-oracle v0.5.4 are installed. Using this combination the command "fdectl tpm-present" fails with " . . . . Excess argument(s) Usage: pcr-oracle [options] pcr-index [updates...] . . . . " when executing "pcr-oracle --algorithm sha256 --input /dev/shm/fde.LD7ot9/sealed_secret --output /dev/shm/fde.LD7ot9/recovered unseal-secret 0,2,4,7,9" The problem is solved if for example pcr-oracle is downgraded to v0.5.2
I can confirm the issue with TW20231222 and that downgrading pcr-oracle to version 0.5.2 solves it.
JFYI: The issue starts with pcr-oracle-0.5.3-1.1.x86_64.
Doesn't work for pcr-oracle 0.5.4 as well, see https://paste.opensuse.org/1f1bed46ac79
@okir@suse.com: Is there any news/progress?
I have this problem with pcr-oracle 0.5.4 and fdectl 0.7.2.
pcr-oracle unsel-secret now needs "--target=platform=oldgrub" when using PCR list. Cc Gary Lin.
It'd require the following patch plus a minor tweak in tpm_test(). https://github.com/openSUSE/fde-tools/commit/fcabeca594d090e4172b88ae5176c947b2dd7c45 I'll work on that.
The fix is on the way to factory: https://build.opensuse.org/request/show/1169081
(In reply to Gary Ching-Pang Lin from comment #8) > The fix is on the way to factory: > https://build.opensuse.org/request/show/1169081 Works for me, thanks.