https://github.com/fxzxmic/sign-module
Kernel module signing tool for Fedora Linux with XZ compression support.
https://github.com/fxzxmic/sign-module
c17 compression fedora linux linux-kernel-module openssl security signing
Last synced: 5 days ago
JSON representation
Kernel module signing tool for Fedora Linux with XZ compression support.
- Host: GitHub
- URL: https://github.com/fxzxmic/sign-module
- Owner: fxzxmic
- License: mit
- Created: 2025-09-01T15:51:36.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-09-01T16:35:47.000Z (8 months ago)
- Last Synced: 2025-09-01T18:25:14.421Z (8 months ago)
- Topics: c17, compression, fedora, linux, linux-kernel-module, openssl, security, signing
- Language: C
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sign-module
A kernel module signing tool for Fedora Linux with XZ compression support.
## Features
- Kernel-standard module signing
- XZ compressed module support (.ko.xz)
- Memory-optimized processing
- Automatic signature stripping
## Requirements
- OpenSSL 3.x
- liblzma 5.4+
- GCC with C17 support
## Build
```bash
make
```
## Usage
```bash
./sign-module
```
Example:
```bash
./sign-module sha256 signing_key.pem signing_key.x509 nvidia.ko.xz
```
## Why this tool?
Fedora Linux kernel modules are XZ compressed, requiring decompression before signing and recompression afterward. This tool handles the entire workflow automatically.
Future compression formats (zstd, etc.) can be added as Fedora adopts them.
## License
MIT License