]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/losetup.c
mount: losetup: remove obsolete encryption support
authorLudwig Nussel <ludwig.nussel@suse.de>
Tue, 11 Sep 2012 08:46:11 +0000 (10:46 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 11 Sep 2012 08:46:11 +0000 (10:46 +0200)
commit5cf05c71472bf7230075cbdcd5cd6eb12b1d3654
tree17ee914da867ce1765102b1dbbf0d6ffefab1ff6
parentaf2e97b56bb7d26160b219723459b2087e0e8dd9
mount: losetup: remove obsolete encryption support

kernel cryptoloop is deprecated since ages and support for cryptoloop
in util-linux is incomplete/broken.
- no password hashing
- last 8 bit of key are always set to zero
- no binary keys possible (stops reading key at \n and \0)

In the past some Distros added the above features with patches. So
remove cryptoloop support from util-linux completely to make sure
people won't try using it.

Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/loopdev.h
lib/loopdev.c
libmount/src/context_loopdev.c
mount-deprecated/mount.8
mount-deprecated/mount.c
sys-utils/losetup.8
sys-utils/losetup.c
sys-utils/mount.8
sys-utils/mount.c