Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2023 20:27:26 -0500
From:      grarpamp <grarpamp@gmail.com>
To:        freebsd-security@freebsd.org
Subject:   Re: FreeBSD Security Advisory FreeBSD-SA-23:01.geli
Message-ID:  <CAD2Ti2-K7LeWWSRas_G3pB56V5qApn7cPr37hQDb%2Br-wCpm6MA@mail.gmail.com>
In-Reply-To: <86f2e6b1-aeef-2472-eeb2-42bee64ac812@bluerosetech.com>
References:  <20230208190833.1DF6F8824@freefall.freebsd.org> <d9a388ec-4e29-1423-e168-3d05c310e099@bluerosetech.com> <CAGOYWV_26qGLPO%2BZNL6N8p57JhguU=heYQ3ejQqqvFJzYXwv-A@mail.gmail.com> <86f2e6b1-aeef-2472-eeb2-42bee64ac812@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD2Ti2-K7LeWWSRas_G3pB56V5qApn7cPr37hQDb%2Br-wCpm6MA>