mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 05:28:08 +00:00
Merge pull request #948 from tlaurion/gpg2_default_RSA3072
oem-factory-reset: set default KEY_LENGTH to 3072 and change expectation management message to console
This commit is contained in:
commit
69075fa738
@ -20,7 +20,7 @@ ADMIN_PIN_DEF=12345678
|
|||||||
TPM_PASS_DEF=12345678
|
TPM_PASS_DEF=12345678
|
||||||
CUSTOM_PASS=""
|
CUSTOM_PASS=""
|
||||||
|
|
||||||
RSA_KEY_LENGTH=4096
|
RSA_KEY_LENGTH=3072
|
||||||
|
|
||||||
GPG_USER_NAME="OEM Key"
|
GPG_USER_NAME="OEM Key"
|
||||||
GPG_KEY_NAME=`date +%Y%m%d%H%M%S`
|
GPG_KEY_NAME=`date +%Y%m%d%H%M%S`
|
||||||
@ -420,7 +420,7 @@ rm /.gnupg/*.kbx 2>/dev/null
|
|||||||
gpg --list-keys >/dev/null 2>&1
|
gpg --list-keys >/dev/null 2>&1
|
||||||
|
|
||||||
## reset the GPG Key
|
## 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
|
gpg_key_reset
|
||||||
|
|
||||||
# parse name of generated key
|
# parse name of generated key
|
||||||
|
Loading…
Reference in New Issue
Block a user