Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This stage allows you to create new (random) ed25519 keys as used by `ostree sign`. The primary usecase for this is composefs. You can generate a transient key-pair during the build (unique to the build) that binds the initrd to the userspace tree. You put the public key in the initrd, sign the resulting commit with the private key and then throw away the private key. During boot of a (secureboot trusted) initrd, we use this public key to validate that we're booting the right commit. This is similar to how the transient kernel module signatures work. It similarly generates a keypair during the kernel rpm build, sign the modules, throw away the private key and embed the public key in the kernel binary. Of course, this stage can also be used to generate keys used for persistant signatures.
- Loading branch information