1551971881.v11-5-g67fc67c.bugfix-set-pcr-bank-from-pcr-bank-not-pcr-hash-field.patch 606 B

12345678910111213141516
  1. Subject: Bugfix: set pcr_bank from pcr_bank not pcr_hash field
  2. Origin: v11-5-g67fc67c <https://github.com/latchset/clevis/commit/v11-5-g67fc67c>
  3. Upstream-Author: Markus Linnala <markus.linnala@gmail.com>
  4. Date: Thu Mar 7 17:18:01 2019 +0200
  5. --- a/src/pins/tpm2/clevis-encrypt-tpm2
  6. +++ b/src/pins/tpm2/clevis-encrypt-tpm2
  7. @@ -88,7 +88,7 @@
  8. key=`jose fmt -j- -Og key -u- <<< "$cfg"` || key="ecc"
  9. -pcr_bank=`jose fmt -j- -Og pcr_hash -u- <<< "$cfg"` || pcr_bank="sha1"
  10. +pcr_bank=`jose fmt -j- -Og pcr_bank -u- <<< "$cfg"` || pcr_bank="sha1"
  11. pcr_ids=`jose fmt -j- -Og pcr_ids -u- <<< "$cfg"` || true