HomeFreeBSD

geli: Fix geli setkey -J for detached providers

Description

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.

Approved by: re (kib)
PR: 254966
Pull Request: https://github.com/freebsd/freebsd-src/pull/780
MFC after: 1 week

(cherry picked from commit 88d13bf33754bd4b0c5df92eef83d6fadb9b4944)

Details

Provenance
Arjan de Vet <freebsd@devet.org>Authored on Aug 28 2023, 2:54 PM
markjCommitted on Sep 4 2023, 2:11 PM
Parents
rGd6fec2dacf80: release: remove arm/armv6 RPI-B configuration file
Branches
Unknown
Tags
Unknown