Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 11:44:03 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/geom/class/eli geom_eli.c
Message-ID:  <200701251144.l0PBi4lH097930@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2007-01-25 11:44:03 UTC

  FreeBSD src repository

  Modified files:
    sbin/geom/class/eli  geom_eli.c 
  Log:
  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@gmx.net>
  MFC after:      1 week
  
  Revision  Changes    Path
  1.19      +13 -1     src/sbin/geom/class/eli/geom_eli.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701251144.l0PBi4lH097930>