Skip to content

Commit

Permalink
sed: Confirm entered password before initialization.
Browse files Browse the repository at this point in the history
Ask for password twice in case there is a typo in entering it.

Signed-off-by: Greg Joyce <[email protected]>
  • Loading branch information
gjoyce-ibm authored and igaw committed Feb 20, 2024
1 parent 43b716b commit 90ee4ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/sed/sedopal_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 90ee4ee

Please sign in to comment.