mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
WiP: further removal of unecessary debug messages
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
1f28c71447
commit
2697a6ad1f
@ -103,7 +103,7 @@ confirm_gpg_card() {
|
|||||||
warn "Please select encrypted LUKS on GPG key material backup thumb drive (not public labeled one)"
|
warn "Please select encrypted LUKS on GPG key material backup thumb drive (not public labeled one)"
|
||||||
mount-usb --pass "$gpg_admin_pin" || die "Unable to mount USB with GPG Admin PIN"
|
mount-usb --pass "$gpg_admin_pin" || die "Unable to mount USB with GPG Admin PIN"
|
||||||
echo "++++ Testing detach-sign operation and verifiying against fused public key in ROM"
|
echo "++++ Testing detach-sign operation and verifiying against fused public key in ROM"
|
||||||
gpg --pinentry-mode=loopback --passphrase-file <(echo -n "${gpg_admin_pin}") --import /media/subkeys.sec ||
|
gpg --pinentry-mode=loopback --passphrase-file <(echo -n "${gpg_admin_pin}") --import /media/subkeys.sec >/dev/null 2>&1 ||
|
||||||
die "Unable to import GPG private subkeys"
|
die "Unable to import GPG private subkeys"
|
||||||
#Do a detach signature to ensure gpg material is usable and cache passphrase to sign /boot from caller functions
|
#Do a detach signature to ensure gpg material is usable and cache passphrase to sign /boot from caller functions
|
||||||
dd if=/dev/urandom of="$CR_NONCE" bs=20 count=1 >/dev/null 2>&1 ||
|
dd if=/dev/urandom of="$CR_NONCE" bs=20 count=1 >/dev/null 2>&1 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user