update readme

This commit is contained in:
Radon 2025-09-23 19:09:31 -05:00
parent 155a49f097
commit d882455619

View File

@ -1,4 +1,3 @@
```bash
# Enable/disable automatic signing on kernel updates# Kernel Signer
A secure boot kernel signing utility for Red Hat based systems (RHEL, CentOS, Fedora, Rocky Linux, AlmaLinux, etc.).
@ -17,11 +16,9 @@ This package provides a comprehensive solution for signing Linux kernels with cu
### Building the RPM
1. Install build dependencies:
```bash
# RHEL/CentOS/Rocky/Alma
sudo dnf install rpm-build rpmdevtools
# Create build environment
rpmdev-setuptree
```
@ -86,26 +83,15 @@ Edit `/etc/ksigner/ksigner.conf` to customize behavior:
# Enable/disable automatic signing on kernel updates
SIGN_ON_UPDATE=true
# Type of automatic signing (sign, sign-lts, sign-all, sign-all-lts)
AUTO_SIGN_TYPE="sign-lts"
# Define which kernel versions are considered LTS
LTS_VERSIONS=(
"6.12"
"6.6"
"6.1"
"5.15"
"5.10"
)
# Type of automatic signing (sign, sign-all)
AUTO_SIGN_TYPE="sign-all"
```
## Commands
- `ksigner setup` - Create and install signing keys
- `ksigner sign [kernel_file]` - Sign a kernel (latest if no file specified)
- `ksigner sign-lts [kernel_file]` - Sign an LTS kernel
- `ksigner sign-all` - Sign all available kernels
- `ksigner sign-all-lts` - Sign all LTS kernels
- `ksigner status` - Show signing key status
- `ksigner version` - Show version information