mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 18:57:04 +00:00
oem-factory-reset needed changes to comply with gpg 2.4 toolstack changes
This commit is contained in:
parent
74e60fb277
commit
c20c2bc580
@ -128,10 +128,10 @@ gpg_key_reset()
|
||||
echo ${ADMIN_PIN_DEF}
|
||||
echo ${USER_PIN_DEF}
|
||||
echo 0
|
||||
echo y
|
||||
echo ${GPG_USER_NAME}
|
||||
echo ${GPG_USER_MAIL}
|
||||
echo ${GPG_USER_COMMENT}
|
||||
echo ${USER_PIN_DEF}
|
||||
} | gpg --command-fd=0 --status-fd=2 --pinentry-mode=loopback --card-edit \
|
||||
> /tmp/gpg_card_edit_output 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user