CCSecureBoot
With CCSecureBoot, a computer can refuse to run any program that lacks a valid signature, and the signing key is stored on a physical key disk.
What it does
CCSecureBoot implements boot security for CC: Tweaked computers. Installation means placing the built JAR in the mods folder alongside CC: Tweaked, which is required. The mod operates on the server only, so multiplayer clients need nothing installed. Enrollment starts with the enroll-secure-boot command, which first presents a summary of the protections it provides and waits for confirmation before continuing, then prompts for a password for the key. Setting a password is optional but recommended, to guard against accidental key leakage. If no disk is detected, the command waits until a key disk is inserted.
Once enrollment is ready, a key is generated and saved to the key disk, with a recovery boot configuration placed on the same disk. After Secure Boot is enabled, a computer only boots files that carry a signature beside them. Files are signed with the sign command, which creates a .sig file next to the program, using the key disk in a drive. Secure Boot disables direct shell access. Only startup.lua is booted by default, and it must be signed. Holding a key disk in the drive during boot brings up a menu with an option to start the shell.
Secure Boot is disabled with unenroll-secure-boot, run on a computer with the key card inserted. An unenrolled computer can no longer boot, and its boot files cannot be modified. Keys can be revoked to block abuse after a leak, and a lost key leaves no way to recover the computer, so the key disk should be kept safe and away from other players. The mod does not protect against every program: holding Ctrl+T terminates the shell when a disk with a startup file is inserted. Ideally programs should handle terminate events safely instead of erroring. For developers, CCSecureBoot exposes a library built on the same code the boot manager uses, for code signing.
Key features
Signed boot files
Only files with a valid signature beside them are booted, and startup.lua must be signed by default.
Key disk enrollment
The enroll command generates a key, saves it to a disk with a recovery configuration, and can require a password.
Customizable pxboot menu
The boot screen can gain extra entries and a different default, timeout and style, with additional configs also signed.
Key revocation and unenrolling
A leaked key can be revoked, and unenrolling a computer removes Secure Boot so its boot files can be changed again.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Required by 1 mod
Questions
Does CCSecureBoot require CC: Tweaked?
Do players need CCSecureBoot installed?
Which loaders and game versions does CCSecureBoot support?
In the catalog
CCSecureBoot is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 17,695 mods support Minecraft 1.21.8.
Similar mods
What the author says
Simply install a built JAR into your mods folder. This mod only operates on the server side, so multiplayer clients do not need it installed. enroll-secure-boot will first display some important information about secure boot, and asks for confirmation to continue. Then it will prompt for a password for the key - this…
Official listing
- Modrinth page
- modrinth.com/mod/ccsecureboot
- Owner
- JackMacWindows
- Published
- 2025-07-05
- Updated on Modrinth
- 2025-12-05
- Facts verified
- 2026-10-15
