[28715] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit [krb5-1.12]: Add missing salt from enctype in t_kdb.py

daemon@ATHENA.MIT.EDU (Tom Yu)
Wed Feb 4 17:32:18 2015

Date: Wed, 4 Feb 2015 17:31:54 -0500
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201502042231.t14MVsT0032533@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/62a4509028ae7c7cf00af38cde879428f03fe5e6
commit 62a4509028ae7c7cf00af38cde879428f03fe5e6
Author: Patrik Kis <pkis@redhat.com>
Date:   Fri Oct 24 16:15:05 2014 +0200

    Add missing salt from enctype in t_kdb.py test
    
    In commit 78a7f2a02b82bf297817cd717f092ead40b575b2, which added a test
    for bug #7980, some command invocations used new syntax that omitted
    salt types from the keysalt list.  This omission of salt types is not
    supported on krb5-1.12, resulting in test failures.  Update to use the
    valid (old) key salt syntax.
    
    [tlyu@mit.edu: commit message]
    
    ticket: 8071 (new)
    version_fixed: 1.12.3
    status: resolved

 src/tests/t_kdb.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tests/t_kdb.py b/src/tests/t_kdb.py
index 7cd6fa6..4ad4b15 100644
--- a/src/tests/t_kdb.py
+++ b/src/tests/t_kdb.py
@@ -286,12 +286,12 @@ realm.kinit(realm.user_princ, flags=['-R', '-S', 'alias'])
 realm.klist(realm.user_princ, 'alias@KRBTEST.COM')
 
 # Regression test for #7980 (fencepost when dividing keys up by kvno).
-realm.run_kadminl('addprinc -randkey -e aes256-cts,aes128-cts kvnoprinc')
-realm.run_kadminl('cpw -randkey -keepold -e aes256-cts,aes128-cts kvnoprinc')
+realm.run_kadminl('addprinc -randkey -e aes256-cts:normal,aes128-cts:normal kvnoprinc')
+realm.run_kadminl('cpw -randkey -keepold -e aes256-cts:normal,aes128-cts:normal kvnoprinc')
 out = realm.run_kadminl('getprinc kvnoprinc')
 if 'Number of keys: 4' not in out:
     fail('After cpw -keepold, wrong number of keys')
-realm.run_kadminl('cpw -randkey -keepold -e aes256-cts,aes128-cts kvnoprinc')
+realm.run_kadminl('cpw -randkey -keepold -e aes256-cts:normal,aes128-cts:normal kvnoprinc')
 out = realm.run_kadminl('getprinc kvnoprinc')
 if 'Number of keys: 6' not in out:
     fail('After cpw -keepold, wrong number of keys')
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post