oem-factory-reset needed changes to comply with gpg 2.4 toolstack changes

This commit is contained in:
Thierry Laurion 2023-03-28 15:49:44 -04:00
parent 74e60fb277
commit c20c2bc580
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93

View File

@ -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