osbuild2: add LUKS2 format stage and device

Co-Authored-By: Christian Kellner <christian@kellner.me>
This commit is contained in:
Achilleas Koutsou 2022-02-08 19:22:25 +01:00 committed by Tom Gundersen
parent 54fd090a60
commit 46a0ad77f9
4 changed files with 75 additions and 0 deletions

View file

@ -23,6 +23,8 @@ import (
"github.com/google/uuid"
)
// TODO: guard against nil dereferencing in pointer methods
const (
// Default sector size in bytes
DefaultSectorSize = 512