Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka
2025-04-16 15:39:06 +02:00
parent 3d9999b170
commit faf0b097ea
2 changed files with 4 additions and 4 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 retriving password remotely: %w", err)
return fmt.Errorf("error retrieving password remotely: %w", err)
}
return LuksUnlock(filepath.Join("/dev", b.Name), b.Name, pass)