[Bug 254966] geli setkey not working with detached provider
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 10 22:58:37 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254966
Bug ID: 254966
Summary: geli setkey not working with detached provider
Product: Base System
Version: 12.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: spam123 at bitbert.com
trying to run "geli setkey -n 1 gpt/hd01" on a detached geli provider asks me
for the master password, and after entering the right password just prints
"Note, that the master key encrypted with old keys and/or passphrase may still
exists in a metadata backup file." - so it does not ask me for the userpassword
I want to set to slot 1 (as one woud expect). So either the man page should be
changed to inform the user that setkey only works with attached providers or
the program should be adapted so that after entering the right master password
the user is asked for the user password. (IIRC this has already worked the last
time - quite some time ago - when I used it)
"geli setkey -n 1 gpt/hd01" works when the provider is already attached - the
dialogue:
Enter new passphrase:
Reenter new passphrase:
Note, that the master key encrypted with old keys and/or passphrase may still
exists in a metadata backup file.
System: FreeBSD mach2020 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 GENERIC amd64
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list