]> git.ipfire.org Git - thirdparty/krb5.git/commit
Only store latest keys in key history entry
authorSarah Day <sarahday@mit.edu>
Thu, 21 Jan 2016 16:17:12 +0000 (11:17 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 3 Feb 2016 16:19:00 +0000 (11:19 -0500)
commitd7f91ac2f6655e77bb3658c2c8cc6132f958a340
treea3b3e56552c0d37984e5abc28f1321428cf05c09
parent44ad57d8d38efc944f64536354435f5b721c0ee0
Only store latest keys in key history entry

If a password is changed with the -keepold option, then changed again,
the history entry contains both the latest password and the one that
was kept.  Fix create_history_entry to only store the latest kvno in
the history entry.  Also add a test to ensure that the bug is fixed.

ticket: 8354
src/lib/kadm5/srv/svr_principal.c
src/tests/t_kdb.py