From: Greg Joyce Date: Mon, 19 Feb 2024 22:43:18 +0000 (-0600) Subject: sed: Confirm entered password before initialization. X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=90ee4ee804228c3311f779573b3c8d86b1a69242;p=users%2Fsagi%2Fnvme-cli.git sed: Confirm entered password before initialization. Ask for password twice in case there is a typo in entering it. Signed-off-by: Greg Joyce --- diff --git a/plugins/sed/sedopal_cmd.c b/plugins/sed/sedopal_cmd.c index 649e0b26..91a049f4 100644 --- a/plugins/sed/sedopal_cmd.c +++ b/plugins/sed/sedopal_cmd.c @@ -171,6 +171,7 @@ int sedopal_cmd_initialize(int fd) struct opal_user_lr_setup lr_setup = {}; sedopal_ask_key = true; + sedopal_ask_new_key = true; rc = sedopal_set_key(&key); if (rc != 0) return rc;