aneesh-neelam / uefi-secureboot-signtool Goto Github PK
View Code? Open in Web Editor NEWScript to sign external Linux kernel modules for UEFI Secure Boot.
License: GNU General Public License v2.0
Script to sign external Linux kernel modules for UEFI Secure Boot.
License: GNU General Public License v2.0
Some modules are configured to be compressed and stored in formats such as *.ko.xz (XZ compression)
Must update script to uncompress, sign and recompress modules compressed using gzip or xz.
> sb-signtool-sign
Usage: scripts/sign-file [-dp] <hash algo> <key> <x509> <module> [<dest>]
Usage: scripts/sign-file [-dp] <hash algo> <key> <x509> <module> [<dest>]
At main.c:245:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: /lib/modules/4.4.0-128-generic/#/updates/dkms/snapapi26.ko.~signed~: No such file or directory
At main.c:245:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: /lib/modules/4.4.0-128-generic/#/updates/dkms/snumbd26.ko.~signed~: No such file or directory
At main.c:268:
- SSL error:0200B015:system library:fread:Is a directory: bss_file.c:251
- SSL error:20082002:BIO routines:FILE_READ:system lib: bss_file.c:252
At main.c:303:
- SSL error:0200B015:system library:fread:Is a directory: bss_file.c:251
- SSL error:20082002:BIO routines:FILE_READ:system lib: bss_file.c:252
sign-file: /lib/modules/4.4.0-128-generic/: Is a directory
Must find a way to integrate with DKMS for this to work perfectly. What if DKMS signs the module when it builds it? We could provide a script that DKMS could call automatically when a kernel module is built.
The current script and service can still be used for certain things that may not use DKMS like Oracle VirtualBox sourced directly from Oracle. Someone correct me if I'm wrong.
the instructions to run the cert import need to be updated to
/etc/sb-signtool/keyfiles/sb_pub.der
or the path to which the certs are created needs to be changed in the preceding command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.