Subject: Bugfix: set pcr_bank from pcr_bank not pcr_hash field Origin: v11-5-g67fc67c Upstream-Author: Markus Linnala Date: Thu Mar 7 17:18:01 2019 +0200 --- a/src/pins/tpm2/clevis-encrypt-tpm2 +++ b/src/pins/tpm2/clevis-encrypt-tpm2 @@ -88,7 +88,7 @@ key=`jose fmt -j- -Og key -u- <<< "$cfg"` || key="ecc" -pcr_bank=`jose fmt -j- -Og pcr_hash -u- <<< "$cfg"` || pcr_bank="sha1" +pcr_bank=`jose fmt -j- -Og pcr_bank -u- <<< "$cfg"` || pcr_bank="sha1" pcr_ids=`jose fmt -j- -Og pcr_ids -u- <<< "$cfg"` || true