Comments (4)
In case user are using sbctl for generate uki:
#!/usr/bin/env bash
uki="$3"
if [[ -n $uki ]]; then
/usr/bin/sbctl sign "$uki"
else
/usr/bin/sbctl sign-all -g
fi
from sbctl.
Is there any reason to use sbctl for UKI generation when mkinitcpio already supports it? (afaict the options supported by sbctl and mkinitcpio for ukis are the same)
From the sbctl manpage:
Note that dracut(8) and mkinitcpio(8) supports unified kernel features, and they should be preferred over the sbctl implementation. It is mostly provided in the cases where this feature is not supported by the initramfs generator of the distribution.
from sbctl.
@m00nwtchr Maybe for ensuring the UKI image always been signed? But I just thought we can't leave the UKI generation feature in sbctl broken if this really get accepted.
Edit: found this already been implemented 4 months ago xd
https://github.com/Foxboron/sbctl/blob/8e0e68bc0959f4e86ffcde9e8fa3f0a1680bf06e/contrib/mkinitcpio/sbctl
wait for release then
from sbctl.
But I just thought we can't leave the UKI generation feature in sbctl broken if this really get accepted.
Fwiw, it's already "almost" broken as the ukify
wrapper from systemd
supports all the new features.
from sbctl.
Related Issues (20)
- Configuration migration: /var/lib/sbctl already exists! HOT 11
- sbctl --migrate still saying "old configuration detected" HOT 3
- sbctl requires root to run: mkdir /var/lib/sbctl: permission denied HOT 2
- Landlock sandbox prevents signing binaries HOT 4
- Failing test from vendored go HOT 1
- Issue with sbctl sign-all -g bundle generation HOT 4
- /boot fails to mount after migrate HOT 11
- signing and listing bundles fails with "permission denied" although files exist and executed with sudo HOT 2
- Cosmetic problem: sbctl is telling me to migrate the config whilst I'm migrating the config. HOT 1
- `rotate-keys` seems to enroll keys without vendor certificates/TPM Eventlog checksums HOT 8
- `sign-all` no longer updates already signed output files if input files change HOT 12
- sbctl messed up after running "sbctl setup --migrate" HOT 2
- Image signature/verification fails if PK or KEK are missing
- Support drop-in configs HOT 1
- Already signed file doesn't appear in database, can't add it either HOT 4
- enroll-keys --microsoft seems to enroll more microsoft keys than necessary for Option ROM HOT 7
- Feature Request: custom Common Name
- Allow exporting keys without efivarfs
- Feature request: warn about writing UKIs to the EFI partition on FDE setups HOT 7
- Running sbctl verify returns failed to find EFI system partition HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbctl.