DragonFly commits List (threaded) for 2009-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.3.0.295.ge855d master contrib/opie/libopie newseed.c
commit e855db3d910f2628254a6a24e571589b9e2b0ced
Author: Simon Schubert <simon.schubert@epfl.ch>
Date: Thu Feb 26 14:04:00 2009 +0100
libopie: on update, 0-pad the sequence integers to keep seed length
OPIE requires a certain seed length and generates a default seed, using
a 0-padded random number. Subsequently changing the password will
increment this seed. The code missed 0-padding this increased integer,
so opiepasswd would advance the seed from e.g. "la0092" to "la93". This
would prevent opiekey(1) from working, complaining about a too short
seed.
Summary of changes:
contrib/opie/libopie/newseed.c | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e855db3d910f2628254a6a24e571589b9e2b0ced
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]