cvs commit: src/sbin/geom/class/eli geom_eli.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Jan 25 11:44:04 UTC 2007
pjd 2007-01-25 11:44:03 UTC
FreeBSD src repository
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>
MFC after: 1 week
Revision Changes Path
1.19 +13 -1 src/sbin/geom/class/eli/geom_eli.c
More information about the cvs-all