[Bug 254966] geli setkey not working with detached provider

2023-08-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254966

--- Comment #5 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=2b7b09ac9675023869fddbae4911c9b674b1155a

commit 2b7b09ac9675023869fddbae4911c9b674b1155a
Author: Mark Johnston 
AuthorDate: 2023-08-28 14:58:43 +
Commit: Mark Johnston 
CommitDate: 2023-08-28 15:06:42 +

geli tests: Add a regression test for geli setkey -J

Make sure that it can be used to change the passphrase of both attached
and detached providers.

PR: 254966
MFC after:  1 week
Sponsored by:   The FreeBSD Foundation

 tests/sys/geom/class/eli/setkey_test.sh | 59 +
 1 file changed, 59 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 254966] geli setkey not working with detached provider

2023-08-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254966

--- Comment #6 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=88d13bf33754bd4b0c5df92eef83d6fadb9b4944

commit 88d13bf33754bd4b0c5df92eef83d6fadb9b4944
Author: Arjan de Vet 
AuthorDate: 2023-08-28 14:54:18 +
Commit: Mark Johnston 
CommitDate: 2023-08-28 15:03:55 +

geli: Fix geli setkey -J for detached providers

Clear cached_passphrase before generating a new key, otherwise the
operation nonsensically tries to reuse the old passphrase.

PR: 254966
Pull Request:   https://github.com/freebsd/freebsd-src/pull/780
MFC after:  1 week

 lib/geom/eli/geom_eli.c | 6 ++
 1 file changed, 6 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 254966] geli setkey not working with detached provider

2023-08-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254966

Mark Johnston  changed:

   What|Removed |Added

 Status|Open|In Progress
 CC||ma...@freebsd.org
   Assignee|g...@freebsd.org|ma...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.