• Ondrej Kozina's avatar
    Make LUKS2 auto-recovery aware of device signatures. · 2c1a6e3f
    Ondrej Kozina authored
    auto-recovery triggers any time when only single correct LUKS2
    header instance was found. That may be dangerous.
    
    We should suppress auto-recovery in case blkid decided the
    device is no longer LUKS device. For example if secondary (intact)
    LUKS2 header was left behind and blkid declares the device is LVM2
    member.
    
    Moreover if at least one header instance is corrupted and blkid
    declares device non-empty and non-LUKS in the same time, header load
    operation will be aborted with error.
    2c1a6e3f
Name
Last commit
Last update
docs Loading commit data...
lib Loading commit data...
man Loading commit data...
misc Loading commit data...
po Loading commit data...
python Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis-functions.sh Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LGPL Loading commit data...
ChangeLog Loading commit data...
FAQ Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...