Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Hozian chozian

View GitHub Profile
@chozian
chozian / vm-secureboot.md
Created Jun 6, 2019 — forked from gabrieljcs/vm-secureboot.md
Instructions on signing VirtualBox and VMware modules for Secure Boot
View vm-secureboot.md

Signing VirtualBox & VMware modules

Source

Creating a key

You can change "MOK".priv/.der to any desired name; "CN=" MUST hold your username, signing the modules may not work otherwise (on shim, possibly due to a bug).

$ openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=John Doe/"
View keybase.md

Keybase proof

I hereby claim:

  • I am chozian on github.
  • I am chozian (https://keybase.io/chozian) on keybase.
  • I have a public key ASCjlKva1u53SX0ULBgiIZoh6Yc1uajlYm-cGXijd7Jsfwo

To claim this, I am signing this object: