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

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

krb5 commit: Add test for salttype defaulting

daemon@ATHENA.MIT.EDU (Tom Yu)
Mon Jan 6 17:48:08 2014

Date: Mon, 6 Jan 2014 17:48:03 -0500
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201401062248.s06Mm3aK006696@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/22942c4fdd376402dc2c9ec0337c70132ce615cb
commit 22942c4fdd376402dc2c9ec0337c70132ce615cb
Author: Tom Yu <tlyu@mit.edu>
Date:   Mon Jan 6 17:36:02 2014 -0500

    Add test for salttype defaulting
    
    ticket: 884

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

diff --git a/src/tests/t_salt.py b/src/tests/t_salt.py
index 3214cd2..c07a574 100755
--- a/src/tests/t_salt.py
+++ b/src/tests/t_salt.py
@@ -27,7 +27,8 @@ salts = [('des-cbc-crc:afs3', 'AFS version 3'),
          ('des-cbc-crc:v4', 'Version 4'),
          ('aes128-cts-hmac-sha1-96:special', 'Special')]
 # These enctypes are chosen to cover the different string-to-key routines.
-second_kstypes = ['aes256-cts-hmac-sha1-96:normal', 'arcfour-hmac:normal',
+# Omit ":normal" from aes256 to check that salttype defaulting works.
+second_kstypes = ['aes256-cts-hmac-sha1-96', 'arcfour-hmac:normal',
                   'des3-cbc-sha1:normal', 'des-cbc-crc:normal']
 
 # Test using different salt types in a principal's key list.
_______________________________________________
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