(tgt_keysalt_iterate): Don't bash the master key encblock when
authorTheodore Tso <tytso@mit.edu>
Wed, 13 Sep 1995 23:04:30 +0000 (23:04 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 13 Sep 1995 23:04:30 +0000 (23:04 +0000)
commit39e3fa424d9b5f782afee72c94cad4e7350144ef
tree0a832754302e35bd4097ea5886e48a74bcb333ed
parenta042450523827506daad640dafdd4d5ea2ef0d66
(tgt_keysalt_iterate): Don't bash the master key encblock when
creating the various TGT keys.  Otherwise, the keys end up getting
encrypted using the wrong encryption algorithm.  Initialize a new
encblock, random_encblock, from the master key password.

(main): Prompt for the master key password ourselves, and store it
away so that it can be used by tgt_keysalt_iterate.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6783 dc483132-0cff-0310-8789-dd5450dbe970
src/admin/create/ChangeLog
src/admin/create/kdb5_create.c