本模组由开发者用心编写——每一行代码都经过人工审查与理解!
AI 是工具,而非替代品。请用心进行“氛围编码” <3
这是什么模组?
一个为 CCSecureBoot 添加的附加组件,为 Secure Boot(安全启动)增加证书颁发机构(CA)支持。
为什么?
我最初是为 Create New Age 模组向 Create 模组添加计量功能的项目而构建此模组。我希望使用 CA 对内容进行签名,并在已预装该 CA 的计算机上使用。
如果你希望在不担心篡改的情况下部署计算机,普通的 Secure Boot 适合你。但如果只需管理单个证书,PKI 才是最佳选择。
这个模组还添加了什么?
一套 PKI API!通过 require("pki") 你可以访问此处描述的所有可用函数。
如何使用它?
在设置 Secure Boot 时,使用 install-ca 命令将 CA 添加到本地计算机。插入包含公钥的软盘即可自动安装。
要启用 Secure Boot,请运行 enroll-secure-boot 并插入该计算机密钥所在的磁盘。
PKI 常见问题解答
什么是 PKI?
PKI(公钥基础设施)是一种用于管理数字证书和公私钥对的系统。它允许你使用加密签名来验证软件的真实性及完整性——从而确保程序未被篡改。
什么是 CA?
证书颁发机构(CA)是一个受信任的实体,负责签发和签署数字证书。当一台计算机信任某个 CA 时,它会自动信任该 CA 所签署的一切内容——这使得在一个统一框架下管理多个已签名程序变得轻松便捷。
我应该使用 CA 吗?
如果你需要在多台计算机上签署并部署多个程序或脚本,CA 能简化一切操作。只需在每个计算机上注册一次 CA,任何由该 CA 签署的内容都将自动受到信任——无需为每个程序单独管理密钥。
我不应该使用 CA 的情况有哪些?
如果你只需签署一个程序并保护一台计算机,引入 CA 会增加不必要的复杂性。在这种情况下,使用单一密钥对的普通 Secure Boot 更简单且完全足够。
This mod was vibe coded with care — each line has been hand reviewed and understood by the dev!
AI is a tool, not a replacement. Vibe code with care <3
What Is This Mod?
An addon for CCSecureBoot that adds Certificate Authority support to Secure Boot.
Why?
I originally built the mod for a project adding metering to Create mod via Create New Age. I wanted to sign things with a CA and use it on computers with the enrolled CA already in place.
If you want to deploy computers without worrying about tampering, regular Secure Boot is for you. But if you only need to manage a single certificate, PKI is the way to go.
What Else Does The Mod Add?
A PKI API! Using require("pki") you can access all the available functions described here.
How Do I Use It?
When setting up Secure Boot, use the install-ca command to add a CA to the local computer. Insert a floppy with the public key and it installs automatically.
To enable Secure Boot, run enroll-secure-boot and insert a disk for that computer's key.
PKI Q&A
What is PKI?
PKI (Public Key Infrastructure) is a system for managing digital certificates and public-private key pairs. It lets you verify the authenticity and integrity of software using cryptographic signatures — so you can be sure a program hasn't been tampered with.
What is a CA?
A Certificate Authority (CA) is a trusted entity that issues and signs digital certificates. When a computer trusts a CA, it automatically trusts anything that CA has signed — making it easy to manage many signed programs under one umbrella.
Why should I use a CA?
If you need to sign and deploy multiple programs or scripts across many computers, a CA simplifies everything. Just enroll the CA once on each computer, and anything signed by that CA will be trusted automatically — no need to manage individual keys per program.
When shouldn't I use a CA?
If you only have one program to sign and one computer to secure, a CA adds unnecessary complexity. Regular Secure Boot with a single key pair is simpler and more than sufficient in that case.
评论 0
登录后参与评分
还没有评论,来抢沙发吧