You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gsc sign-image command fails while doing gramin-sgx-sign
Some images work with gsc (example python), however some images have issues. Looked at this one which has similar error: #44. But couldn't tell what the solution was and that issue is still open.
Let me try to reproduce it and look deeper. Definitely feels like the used Docker image contains some "weird" filenames that the TOML parser cannot understand.
Ok, debugged this. The root cause is this file in the original Docker image: /usr/lib/systemd/system/system-systemd\x2dcryptsetup.slice
Note the \x2d snippet. This is an incorrect UTF-8 escape sequence (they should have the format \uXXXX for Unicode symbols, see https://toml.io/en/v1.0.0#string). I'm working on the patch to GSC fixing this.
Thanks for the quick turnaround. Yes, that fixes the decoder issue. But as you have mentioned in #101, need to find a better solution. Maybe tomli is less buggy, but we need to confirm that it doesn't have issues such as this one.
Description of the problem
gsc sign-image command fails while doing gramin-sgx-sign
Some images work with gsc (example python), however some images have issues. Looked at this one which has similar error:
#44. But couldn't tell what the solution was and that issue is still open.
Steps to reproduce
Git commit: b7f0576
Actual results
The text was updated successfully, but these errors were encountered: