-
Notifications
You must be signed in to change notification settings - Fork 15
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
Issues following bg-prov instructions, may be several bugs or user error #356
Comments
Hello. Do you mind sharing the files you used to reproduce this problem? Or otherwise could you try branch |
You can download an example BIOS at https://www.supermicro.com/en/support/resources/downloadcenter/firmware/MBD-X13SEM-TF/BIOS (I suspect all X13 LGA4677 boards will have the same issues). I see there is an SPR-SP branch too, which is probably needed as well for these boards. Running bugfix branch, this problem seems unrelated to your change (codegen?):
Continuing on:
Note that trying the above with 2048 keys/algo 14 also fails with a similar message. |
Does not look right. Are you sure you are working from that branch? In that branch it should get to I hope I won't forget to investigate this on the next week :( |
I have exactly the same issue on main branch. Also template-v-1 does not create a JSON file, but a binary, and looking at the code it seems that the template-v-1 and template-v-2 commands indeed don't create JSON files, but BPM files. See here: converged-security-suite/cmd/bg-prov/cmd.go Lines 949 to 955 in d249aa6
|
I'm definitely still interested in getting this project working for SPR, though I ran into some other annoyances with Supermicro particularly DRMing their board to their own keys with an external FPGA (something they call RoT, but I might dispute the T). This may be bypassable, but I have another board which is hopefully less annoying. Let me know if there's anything I can test, I'll likely try again soon. |
Related to #355 |
Thanks for this project, it's awesome!
I am trying to write new bootguard metadata to a sapphire rapids board, and found this, which is perfect. I ran into a few issues.
I'm following use case 1 here: https://github.com/9elements/converged-security-suite/blob/main/cmd/bg-prov/README.md
First,
bg-prov template foo.cfg
doesn't exist, but I looked at the help output and foundbg-prov template-v-2 foo.cfg
should be right. I get a nil pointer dereference:I can
read-config
, so I generated a config.json from an existing image. You can take a publically available image from SuperMicro for example, but I suspect any Sapphire Rapids (or W790?) image will suffice. This works, so I keep following the steps.I get as far as:
/bg-prov bpm-gen-v-2 ./bpm_unsigned.bin ./oem_bios.bin --config=./oem.cfg
which just gives me
I'm new to this, so I may be doing something terribly wrong here. Let's assume the fuses are not locked in the ME, so replacing keys here should be ok if I understand correctly. I'd like to resign an existing BIOS with my own keys.
The text was updated successfully, but these errors were encountered: