Closed pastudan closed 12 months ago
## info
sedutil-cli --scan
## setup & lock
sedutil-cli --initialSetup password /dev/sda
## unlock
sedutil-cli --setLockingRange 1 rw password /dev/sda
sedutil-cli --setmbrenable on password /dev/sda
For disabling mbr requirement (might not be necessary, could just leave it): https://github.com/Drive-Trust-Alliance/sedutil/issues/331#issuecomment-669550543
For storing the drive password, let either user passwords or device keys be valid passphrases to decrypt a "key" and then use the "key" as the password on the drive https://security.stackexchange.com/a/138141
sudo apt-get install binutils make csh g++ sed gawk autoconf automake autotools-dev
git clone https://github.com/Drive-Trust-Alliance/sedutil.git
cd sedutil
autoreconf -i
make
closing in favor of luks, which has better documentation and is currently fast enough on a pi4. Pi5 CPU has support for crypto extensions, so this should further speed things up
https://github.com/Drive-Trust-Alliance/sedutil