Skip to content
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

Enroll keys/certs in UEFI #6

Open
gdamjan opened this issue Dec 19, 2017 · 5 comments
Open

Enroll keys/certs in UEFI #6

gdamjan opened this issue Dec 19, 2017 · 5 comments
Milestone

Comments

@gdamjan
Copy link
Owner

gdamjan commented Dec 19, 2017

efi-updatevar can do it.

Preliminary support in 889cc7a

@gdamjan gdamjan added this to the v2.0 milestone Dec 19, 2017
@HermannBjorgvin
Copy link

I personally have used sbsign in the same way this script does without problem on my Thinkpad T440s via efitools KeyTool.efi. Placing my keys in the ESP partition and enrolling them through the bios.

What kind of testing by users would you like from users?

@gdamjan
Copy link
Owner Author

gdamjan commented Jan 2, 2018

Yes, I used KeyTool.efi too, it's a bit cumbersome. By using efi-updatevar (see the commit referenced above) it can be done from Linux, but I wonder if that's supported on all computers. It did work in qemu with ovmf

@HermannBjorgvin
Copy link

An ideal way would be to detect support for this. But I don't know enough about how efibootmgr or how UEFI is implemented. I've probably repaired around 500-1000 UEFI laptops though and the way manufacturers implement their BIOS is usually pretty uniform but with occasional BIOS'es that are almost hilariously crippled. Hope that helps.

@a1lu
Copy link
Contributor

a1lu commented Dec 17, 2020

The blog reads like that efi-updatevars should be supported on anything with kernel >=3.8

@gdamjan
Copy link
Owner Author

gdamjan commented Dec 18, 2020

The blog reads like that efi-updatevars should be supported on anything with kernel >=3.8

didn't work for me, last time I've tried it :(, and it was not a kernel limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants