Permalink
Show file tree
Hide file tree
41 changes: 28 additions & 13 deletions
41
src/ceph-volume/ceph_volume/tests/util/test_encryption.py
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
ceph-volume: honour osd_dmcrypt_key_size option
ceph-volume doesn't honour osd_dmcrypt_key_size. It means the default size is always applied. It also changes the default value in `get_key_size_from_conf()` From cryptsetup manpage: > For XTS mode you can optionally set a key size of 512 bits with the -s option. Using more than 512bits will end up with the following error message: ``` Key size in XTS mode must be 256 or 512 bits. ``` Fixes: https://tracker.ceph.com/issues/54006 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
- Loading branch information
Showing
2 changed files
with
51 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters