Itxaka
9ce82c2059
Add label to trusted boot part as well
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-03-21 15:45:07 +01:00
Itxaka
b0b2518e6a
Add label to luks partition and dont gate on label ( #471 )
...
* Add label to luks partition and dont gate on label
Instead of gating on labels, lets just add the label to the luks
partition, the same way we do to the underlying unlocked partition, so
they share the fs label. That way, the locking and unlocking refer to
the same label always
---------
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-03-13 10:34:23 +01:00
Itxaka
84b9223b87
Use kairos logger from sdk ( #437 )
2024-09-18 10:10:39 +02:00
Itxaka
33ce07902b
Add discard flags during format ( #424 )
2024-07-31 17:58:42 +02:00
Itxaka
5c513aee21
Allow passing extra args to luks device creation ( #418 )
2024-07-24 15:13:33 +02:00
Itxaka
2bc901ed2c
Fix wrong arg used ( #408 )
2024-06-19 16:45:33 +02:00
Itxaka
9773d5ce7e
Do not settle, just trigger ( #382 )
2024-05-28 21:08:37 +02:00
Itxaka
ad07ced68b
Avoid calling udevadm with -v flag ( #380 )
2024-05-28 15:24:37 +02:00
Itxaka
418027453d
Rework TPM workflow ( #318 )
...
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-28 11:48:37 +02:00
Dimitris Karakasilis
3655d3d81e
Try a simpler version of "udevadm trigger"
...
in case the other options are not supported
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-27 09:29:52 +03:00
Dimitris Karakasilis
a6ec42e638
Trigger udev events also on lock
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-23 15:11:00 +03:00
Itxaka
1d16082bb3
Update lock.go ( #316 )
2024-05-21 13:13:50 +02:00
Itxaka
5274499e1a
Drop uneeded lib ( #97 )
2024-04-24 10:40:39 +02:00
Itxaka
99c1c93d26
Sign uki tpm stuff with a policy ( #39 )
2023-12-15 16:47:56 +01:00
Itxaka
554e350fb7
Fix issue when closing the device ( #34 )
2023-11-30 18:10:15 +01:00
Itxaka
e73e33b26d
cryptenroll needs the actual password
...
Also remove password from the luksdevice once we are finished
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-11-30 11:29:20 +01:00
Itxaka
e43da08f2d
Allow passing flags to luksify
...
flags for luks version and use tpm
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-11-30 11:01:39 +01:00
Itxaka
365f16e8f1
Move all functions under pkg
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-11-30 10:24:55 +01:00