A tool to enroll secure boot keys in OVMF_VARS.fd
Build & Install
python3 -m pip install --upgrade build
python3 -m build
python3 -m pip install dist/ovmfkeyenroll-*.whl
Usage
You can copy OVMF_VAR.fd to current path.
This is to enroll PK, KEK and DB keys and generate OVMF_VAR.sb.fd:
ovmfkeyenroll -fd $PWD/OVMF_VARS.fd \
-pk <pk-key-guid> <absolute-path-to-PK.cer> \
-kek <kek-guid> <absolute-path-to-KEK.cer> \
-db <db-key-guid> <absolute-path-to-DB.cer>
The keys have been successfully enrolled:
VariableFV: TimeBasedAuthenticated - Supported
Var Store: add PK - Success
Write Variable(PK) - Success
Enroll PK variable -- Success
VariableFV: TimeBasedAuthenticated - Supported
Var Store: add KEK - Success
Write Variable(KEK) - Success
Enroll KEK variable -- Success
VariableFV: TimeBasedAuthenticated - Supported
Var Store: add db - Success
Write Variable(db) - Success
Enroll db variable -- Success
VariableFV: TimeBasedAuthenticated - Supported
Var Store: add SecureBootEnable - Success
Write Variable(SecureBootEnable) - Success
Enroll SecureBootEnable variable -- Success
Metadata
Release files for ovmfkeyenroll 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovmfkeyenroll-1.2.1.tar.gz | 15.6 kB | Without provenance | Details for ovmfkeyenroll-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovmfkeyenroll-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for ovmfkeyenroll-1.2.1-py3-none-any.whl |
Total release size: 32.7 kB
Release files / ovmfkeyenroll-1.2.1.tar.gz
| Download URL | ovmfkeyenroll-1.2.1.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
512a8d4047efe85f7d65b18b763d5c27e7bf965b7d66f41e9d492513736e663a
|
|
BLAKE2b-256 checksum How to use checksums |
4b46dc753489c70102a0ae259e843ce381d44d6605f46d3b9254352e3170ff2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / ovmfkeyenroll-1.2.1-py3-none-any.whl
| Download URL | ovmfkeyenroll-1.2.1-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7748047177e80f312b3518f44f7166089551b820b057c6e532453bb2f81c2bf
|
|
BLAKE2b-256 checksum How to use checksums |
1b8b071b550425062b5317fc52500235be19403bd161ea97180f29c8d6064e14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for ovmfkeyenroll 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.