Skip to content

Commit

Permalink
oem-factory-reset: set default KEY_LENGTH to 3072 and change expectat…
Browse files Browse the repository at this point in the history
…ion management message to console (Fixes #919)
  • Loading branch information
tlaurion committed Dec 10, 2020
1 parent 671522e commit 64b1712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions initrd/bin/oem-factory-reset
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ADMIN_PIN_DEF=12345678
TPM_PASS_DEF=12345678
CUSTOM_PASS=""

RSA_KEY_LENGTH=4096
RSA_KEY_LENGTH=3072

GPG_USER_NAME="OEM Key"
GPG_KEY_NAME=`date +%Y%m%d%H%M%S`
Expand Down Expand Up @@ -420,7 +420,7 @@ rm /.gnupg/*.kbx 2>/dev/null
gpg --list-keys >/dev/null 2>&1

## reset the GPG Key
echo -e "\nResetting GPG Key...\n(this will take a minute or two)\n"
echo -e "\nResetting GPG Key...\n(this will take around 3 minutes...)\n"
gpg_key_reset

# parse name of generated key
Expand Down

0 comments on commit 64b1712

Please sign in to comment.