Add public key into UEFI db using EDK2 #11319
kowalski100
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My PC is in User Mode. There is no option to put into Setup Mode. I have a private-public key pair which i want to use for secure boot verification. In UEFI/BIOS i can manually add public_key.cer with a GUID. I tried manually adding key and it works fine.
Now i want to do a little automation. What i want is to put public key (.esl format generated from .cer key) and use the following edk2 code to automatically insert the key but it always fails.
what it does is it reads the existing db and append my key and write back. but i get some invalid parameter error.
Can someone help me how to insert public key into uefi db using edk2 code?
Beta Was this translation helpful? Give feedback.
All reactions