Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observing random behaviour (rate limit?) #95

Closed
pkel opened this issue Mar 28, 2019 · 1 comment
Closed

Observing random behaviour (rate limit?) #95

pkel opened this issue Mar 28, 2019 · 1 comment

Comments

@pkel
Copy link

pkel commented Mar 28, 2019

I have a Lenovo T470s in front of me and am trying to luks open my disk on boot. I'm following this guide. I'm on Fedora 29 with the latest updates. UEFI is also up to date.

I don't know much about TPMs and never used one under Linux.

echo Hello World | clevis encrypt tpm2 '{}' > test.txt
clevis decrypt < test.txt

When doing this hello world, I observe inconsistent behavior. Sometimes I hit one of the following two lines, sometimes decryption succeeds.

echo "Loading jwk to TPM2 failed!" >&2

echo "Unsealing jwk from TPM failed!" >&2

A small sample suggest that success correlates with preceding idle time. Thus I suspect this is caused by some kind of rate limit. If intentional, the error reporting should be improved.

@pkel
Copy link
Author

pkel commented May 17, 2019

Not an issue any more on Fedora 30.

@pkel pkel closed this as completed May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant