An open API service indexing awesome lists of open source software.

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.

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