Add device offset
Adding an offset allows using a pinned UUID for the device via the pre-offset location on-device. The encryption occurs at the point of the offset, preventing erasure of the UUID, allowing partition UUID to be used as the target.
This commit is contained in:
parent
f1a6e2589a
commit
d63c6e6cf8
@ -1,6 +1,6 @@
|
|||||||
# Inferencium - aa000-0
|
# Inferencium - aa000-0
|
||||||
# dm-crypt - Configuration
|
# dm-crypt - Configuration
|
||||||
# Version: 3.0.0-alpha.4
|
# Version: 3.0.0-alpha.5
|
||||||
|
|
||||||
# Copyright 2023 Jake Winters
|
# Copyright 2023 Jake Winters
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
@ -19,5 +19,5 @@ dmcrypt_retries="5"
|
|||||||
## These should come first so no keys make their way into unencrypted swap.
|
## These should come first so no keys make their way into unencrypted swap.
|
||||||
swap="swap"
|
swap="swap"
|
||||||
source="PARTUUID=[REDACTED]"
|
source="PARTUUID=[REDACTED]"
|
||||||
options="--cipher aes-xts-plain64 --key-size 512 --key-file /dev/urandom"
|
options="--offset 2048 --cipher aes-xts-plain64 --key-size 512 --key-file /dev/urandom"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user