-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The command-line option to sedutil-cli for --enableUser is fully implemented, and appears in the Wiki pages, but doesn't show up when the "usage" info is displayed (e.g. sedutil-cli with no further arguments). File to be fixed is Common/DtaOptions.cpp
Further, just in case anyone looks closely: There's a bug later in the same file where the prototype claims there are only two arguments but then lists three.
BEGIN_OPTION(enableuser, 2) OPTION_IS(password) OPTION_IS(userid)
OPTION_IS(device) END_OPTION
(that "2" above should be "3"
This was (correctly but silently) fixed by @CyrilVanErsche as part of his pull request Drive-Trust-Alliance#272 so anyone who wants to use that function but hasn't ingested that CVE pull request needs to fix the number of arguments. Realistically, though, anyone using Opal who wants to use --enableUser probably also wants to include the AddUserToLockingACEs functionality, so it's not clear who would care strongly about a separate fix for the number-of-arguments bug...