mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-05-11 17:38:52 +00:00
Don't go frenzy when a TPM is not found. Just return.
Because there is no guarantee that a TPM will eventually be found. Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
parent
7a07d5c45b
commit
aa736211af
@ -105,10 +105,7 @@ func Start(ctx context.Context, kclient *kubernetes.Clientset, reconciler *contr
|
||||
if !found {
|
||||
fmt.Println("No TPM Hash found for", hashEncoded)
|
||||
conn.Close()
|
||||
// conn.Close()
|
||||
// return
|
||||
continue //will iterate until a TPM is available
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
secret, challenge, err := tpm.GenerateChallenge(ek, at)
|
||||
|
Loading…
Reference in New Issue
Block a user