Improved Shamir Secret Sharing feature

This commit is contained in:
Sun Knudsen 2021-04-15 19:41:12 -04:00
parent fd7da45d10
commit 3c3bec5a5e
No known key found for this signature in database
GPG key ID: 1FA767862BBD1305
9 changed files with 201 additions and 119 deletions

View file

@ -1,5 +1,8 @@
#! /bin/bash
set -e
set -o pipefail
rounds=3
positional=()
@ -52,7 +55,7 @@ waitForUsbThumbDrive () {
waitForUsbThumbDrive
printf "$bold$red%s$normal\n" "Secure erase USB flash drive? (y or n)? "
printf "$bold$red%s$normal\n" "Secure erase USB flash drive (y or n)?"
read -r answer
if [ "$answer" = "y" ]; then