Re: FreeBSD Security Advisory FreeBSD-SA-23:01.geli

From: grarpamp <grarpamp_at_gmail.com>
Date: Fri, 17 Feb 2023 01:27:26 UTC
On 2/15/23, Mel Pilgrim <list_freebsd@bluerosetech.com> wrote:
> # echo -n | geli attach -C -p -k - gpt/zdata15
> geli: Wrong key for gpt/zdata15.
> geli: There was an error with at least one provider.

That test failed so the "empty" or "NULL" key (aka "echo -n")
is not the key. These should not work either

printf '' | geli
printf '\000'
printf '\n'
printf ' '
printf 'notthekey'

and only

cat /path/to/your/keyfile | geli

should work.