-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update to accommodate for new XTT changes #46
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to see these changes being made. Thanks!
Could you please split this into multiple commits:
- remove server id and expiry checks
- use XTT functions to read from NVRAM
- handle variable-length TLS certificates (unless the changes in commit 2 implicitly fix this as well).
I've some comments inline. In particular, I think the usages of xtt_read_object
should be replaced with a new, higher-level API in XTT. I won't block merging of this PR while waiting on that, but we should discuss with Zane.
033e3c5
to
87cbc46
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good! Now we need to update the required version of XTT in CMakeLists.txt
and README
. That's blocked until @zanebeckwith cuts an XTT release with these changes.
Sorry for the delay @kathrynfejer. I've now released a new XTT (v0.10.1) |
b9c6368
to
f4e60a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the required version of XTT in CMakeLists.txt and the README.
f4e60a4
to
b1f23a1
Compare
These changes will be necessary when XTT cuts a new release since the server_id and expiry have been taken out, and the NVRAM handles and functions for initializing the sapi and tcti contexts have been added to the XTT library.
This fixes #44 because the xaptum-tpm updates will allow us to read variable length data from NVRAM.