Skip to content

Commit

Permalink
config: change tpm_hash_alg to SHA1 by default
Browse files Browse the repository at this point in the history
This ensures that Keylime works out of the box on older kernel versions.

Signed-off-by: Thore Sommer <mail@thson.de>
  • Loading branch information
THS-on authored and mpeters committed Dec 15, 2021
1 parent 4b380b8 commit 33d15b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion keylime.conf
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,14 @@ max_retries = 10

# TPM2-specific options, allows customizing default algorithms to use.
# Specify the default crypto algorithms to use with a TPM2 for this agent.
# On kernel versions less than 5.10 choose sha1 as hash algorithm, because
# otherwise IMA attestation will fail.
#
# Currently accepted values include:
# - hashing: sha512, sha384, sha256 or sha1
# - encryption: ecc or rsa
# - signing: rsassa, rsapss, ecdsa, ecdaa or ecschnorr
tpm_hash_alg = sha256
tpm_hash_alg = sha1
tpm_encryption_alg = rsa
tpm_signing_alg = rsassa

Expand Down

0 comments on commit 33d15b2

Please sign in to comment.