-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
secboot: avoid usage of fifos with cryptsetup
Using a fifo pipe and a goroutine with "cryptsetup luksAddKey" is unnecessary, as both the existing key and the new key can be provided via stdin to cryptsetup. Additionally, this add the --batch-mode option when calling cryptsetup so warnings printed by cryptsetup in 23.10 do not mess the parsing of the returned message. Fixes LP#2036631, being this an alternative solution to [1] (although the latter would still need to use the --batch-mode option). [1] #12935
- Loading branch information
1 parent
126029f
commit 1708bc1
Showing
5 changed files
with
63 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.