Skip to content

Commit 84ac7eb

Browse files
tlaurionsaper
authored andcommitted
oem-factory-reset needed changes to comply with gpg 2.4 toolstack changes
1 parent 04ba326 commit 84ac7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

initrd/bin/oem-factory-reset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ gpg_key_reset()
128128
echo ${ADMIN_PIN_DEF}
129129
echo ${USER_PIN_DEF}
130130
echo 0
131-
echo y
132131
echo ${GPG_USER_NAME}
133132
echo ${GPG_USER_MAIL}
134133
echo ${GPG_USER_COMMENT}
134+
echo ${USER_PIN_DEF}
135135
} | gpg --command-fd=0 --status-fd=2 --pinentry-mode=loopback --card-edit \
136136
> /tmp/gpg_card_edit_output 2>&1
137137
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)