freebsd-nq/lib/geom
Mariusz Zaborski 5fff09660e geli: split the initalization of HMAC
GELI allows to read a user key from a standard input.
However if user initialize multiple providers at once, the standard
input will be empty for the second and next providers.
This caused GELI to encrypt a master key with an empty key file.

This commits initialize the HMAC with the key file, and then reuse the
finalized structure to generate different encryption keys for different
providers.

Reported by:	Nathan Dorfman
Tested by:	philip
Security:	FreeBSD-SA-23:01.geli
Security:	CVE-2023-0751
2023-02-08 10:01:58 -08:00
..
cache pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
concat pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
eli geli: split the initalization of HMAC 2023-02-08 10:01:58 -08:00
journal pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
label pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
mirror pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
mountver pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
multipath pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
nop pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
part pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
raid pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
raid3 pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
shsec pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
stripe pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
union pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
virstor pkgbase: Put geom utilities in their own package 2022-10-26 19:46:28 +02:00
Makefile
Makefile.classes Create a new GEOM utility, gunion(8). 2022-02-28 16:36:08 -08:00
Makefile.inc