Comments (2)
Here is a good example how to test a command-line tool that requires root
+ some complex testing environment (special kernel, kernel modules, user tools, etc...)
https://github.com/anatol/luks.go/blob/master/integration_test.go to run kernel + special image inside QEMU
https://github.com/anatol/luks.go/blob/master/examples/end2end_test.go a test that needs to be run as root
from sbctl.
This has now been partially implemented https://github.com/Foxboron/sbctl/tree/master/tests
from sbctl.
Related Issues (20)
- Disable landlock required for migration HOT 14
- `sbctl setup --migrate` results in empty file database HOT 2
- /var/lib/sbctl already exists HOT 1
- sbctl requires root to run: open /usr/share: permission denied HOT 10
- 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
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.