Kyle Rankin c42084406d
Use HOTP TPM counter instead of Heads when signing, if present
TPM v1.2 has a limitation in that only a single monotonic counter can be
incremented between reboots [1]. So in the event we are using HOTP
monotonic counters, we need to reference those for the Heads rollback
counter when we update file signatures in /boot, otherwise the increment
stage at kexec-sign-config will fail since at each boot, the HOTP
monotonic counter has already been incremented.

[1] https://projects.csail.mit.edu/tc/tpmj/UsersGuide.html#inccounter
2018-06-19 16:18:10 -07:00
..
2017-04-05 17:59:49 -04:00
2017-09-02 14:13:29 -04:00
2018-06-19 12:27:27 -07:00
2018-06-19 12:27:27 -07:00
2018-05-02 14:29:27 -07:00