Re: OPAL setup for a new drive without sedutil initial setup

Ondrej Kozina <[email protected]> Mon, 18 Mar 2024 14:45:29 +0100
Newsgroups dev.linux.lists.cryptsetup
Message-ID <[email protected]>
On 18/03/2024 14:13, Nikolai Grigoriev wrote:
> I tried to enter a password expecting it to become my new Admin1 password. That did not work. The message was something like "Invalid Admin1 password or permission denied". I ran it with "--hw-opal-only" against /dev/nvme0n1p3. The drive us brand-new Crucial T500 2Tb. Never used sedutil on it. I will try sedutil now to see what is going on and to set my password.
Well, sedutils will ask for the Admin1 pin as well before it can report 
anything interesting (e.g.: list existing/active locking ranges).

Feel free to open an issue on upstream tracker: 
https://gitlab.com/cryptsetup/cryptsetup/-/issues, just add --debug 
parameter in luksFormat command.

Also the device model would be nice to further debug the issue provided 
it's this very device it does not work with (e.g. "nvme list" command 
output)

Kind regards
O.