Several improvements

Bump cli from v2 to v3
Drop several outdated commands
Drop unused libraries like config
Improve the log process by unifying into a single one witht he same name
Bump all deps
Add a version command so its inline with our other binaries
Add commit and go build info to version command

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka
2025-04-16 15:32:50 +02:00
parent 05eae3a7d7
commit 3d9999b170
14 changed files with 117 additions and 815 deletions

View File

@@ -73,7 +73,7 @@ func UnlockAllWithLogger(tpm bool, log types.KairosLogger) error {
func UnlockDisk(b *block.Partition) error {
pass, err := GetPassword(b)
if err != nil {
return fmt.Errorf("error retreiving password remotely: %w", err)
return fmt.Errorf("error retriving password remotely: %w", err)
}
return LuksUnlock(filepath.Join("/dev", b.Name), b.Name, pass)