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

ubuntu 22.04 CI Failing #825

Open
williamcroberts opened this issue Feb 27, 2023 · 1 comment
Open

ubuntu 22.04 CI Failing #825

williamcroberts opened this issue Feb 27, 2023 · 1 comment

Comments

@williamcroberts
Copy link
Member

After much debugging, I have deduced it to something wrong with swtpm. When running against ibmtpm1682, the problem does not manifest. I guess now I need to figure out what broke in swtpm.

@williamcroberts
Copy link
Member Author

With SWTPM this command sequence with EncryptDecrypt2 yeilds the problem:

Sending each chunk to the TPM
PLAINTEXT:  0102030405060708090a0b0c0d0e0f10  1112131415161718191a1b1c1d1e1f20 2122232425262728292a2b2c2d2e2f30
CIPHERTEXT: 52a99bdf57784917c71d1259667618bc  48bd58f674c975deb69feaeeb613015e 2ce1d66fc819052f08d84b9dddbcf83e
             
-----------
Decrypting, note the last chunk is wrong.
CIPHERTEXT: 52a99bdf57784917c71d1259667618bc  48bd58f674c975deb69feaeeb613015e 2ce1d66fc819052f08d84b9dddbcf83e
PLAINTEXT:  0102030405060708090a0b0c0d0e0f10  1112131415161718191a1b1c1d1e1f20 b732c53d8f42ec1941187f2d45909081

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