[krbdev.mit.edu #7156] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Jun 1 19:49:43 EDT 2012


Try all history keys to decrypt password history

A database created prior to 1.3 will have multiple password history
keys, and kadmin prior to 1.8 won't necessarily choose the first one.
So if there are multiple keys, we have to try them all.  If none of
the keys can decrypt a password history entry, don't fail the password
change operation; it's not worth it without positive evidence of
password reuse.

(back ported from commit 2782e80a12bccd920fa71e23166ac97c4470a637)

https://github.com/krb5/krb5/commit/cfea6939cb8cb7c89ed265c472ea556100a6c64d
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: cfea6939cb8cb7c89ed265c472ea556100a6c64d
Branch: krb5-1.9
 src/lib/kadm5/server_internal.h   |    6 ++-
 src/lib/kadm5/srv/server_kdb.c    |   55 +++++++++++++-------
 src/lib/kadm5/srv/svr_principal.c |   40 +++++++-------
 src/tests/Makefile.in             |    6 ++-
 src/tests/hist.c                  |   99 +++++++++++++++++++++++++++++++++++++
 src/tests/t_pwhist.py             |   20 +++++++
 6 files changed, 183 insertions(+), 43 deletions(-)



More information about the krb5-bugs mailing list