-
Notifications
You must be signed in to change notification settings - Fork 91
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
Enhance certificate decoding in attestation API #651
Comments
Interesting problem. My understanding is that the certificate decoding happens in the In that case, the entire |
Another solution I can imagine is to provide a pure-go implementation of |
Right.
Good point.
That's what I was thinking, so I would not attempt the libcurl path right away. Yet another approach to consider is to do the decoding at conversion time in the attestation api. |
The certificate decoding procedure in the attestation API should consider using a more robust implementation, possibly based on CURL lib (see https://curl.se/libcurl/c/curl_unescape.html).
Problem: IAS certificates are downloaded and saved in URL encoded form, then passed the attestation API in C++, where they are decoded. The decoder uses an optimistic procedure, which is not robust. A better approach would require libcurl. However, this is currently not available inside FPC enclaves.
The text was updated successfully, but these errors were encountered: