summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-09-05 13:57:01 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2022-10-27 12:55:27 +0100
commitc5f6962801b868b02fbaf01861f64783470d3d2a (patch)
treebeb0d5e39cd6dfbc75df0f84305dac2409344511 /docs/devel/secure-coding-practices.rst
parentd233fbc327d3f1f03bc30e0486b9ade3aa23f9ec (diff)
downloadfocaccia-qemu-c5f6962801b868b02fbaf01861f64783470d3d2a.tar.gz
focaccia-qemu-c5f6962801b868b02fbaf01861f64783470d3d2a.zip
crypto: strengthen the check for key slots overlapping with LUKS header
The LUKS header data on disk is a fixed size, however, there's expected
to be a gap between the end of the header and the first key slot to get
alignment with the 2nd sector on 4k drives. This wasn't originally part
of the LUKS spec, but was always part of the reference implementation,
so it is worth validating this.

Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions