cvs commit: src/sbin/geom/class/eli geom_eli.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Feb 3 16:09:10 UTC 2007
pjd 2007-02-03 16:09:10 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sbin/geom/class/eli geom_eli.c
Log:
MFC: sbin/geom/class/eli/geom_eli.c 1.19
When the following conditions are meet:
- First configured key is based only on keyfile (no passphrase).
- Device is attached.
- User changes first key (setkey) from keyfile to passphrase and doesn't
specify number of iterations (with -i option).
...geli(8) won't store calculated number of iterations in metadata.
This result in device beeing unaccesable after detach.
One can recover from this situation by guessing number of iterations
generated, storing it in metadata and trying to attach device.
Recovery procedure isn't nice, but one's data is not lost.
Reported by: Thomas Nickl <T.Nickl at gmx.net>
Revision Changes Path
1.1.2.11 +13 -1 src/sbin/geom/class/eli/geom_eli.c
More information about the cvs-src
mailing list