From: Joseph Sutton Date: Tue, 1 Feb 2022 07:55:56 +0000 (+1300) Subject: tests/krb5: Add more encryption type constants X-Git-Tag: tevent-0.12.0~381 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=539cdaa75bab843fa26a50c0775f2c5bfe77958e;p=thirdparty%2Fsamba.git tests/krb5: Add more encryption type constants Signed-off-by: Joseph Sutton Reviewed-by: Stefan Metzmacher --- diff --git a/python/samba/tests/krb5/rfc4120_constants.py b/python/samba/tests/krb5/rfc4120_constants.py index 1bf7ebf499e..28d83407ac5 100644 --- a/python/samba/tests/krb5/rfc4120_constants.py +++ b/python/samba/tests/krb5/rfc4120_constants.py @@ -24,6 +24,14 @@ AES128_CTS_HMAC_SHA1_96 = int( krb5_asn1.EncryptionTypeValues('kRB5-ENCTYPE-AES128-CTS-HMAC-SHA1-96')) ARCFOUR_HMAC_MD5 = int( krb5_asn1.EncryptionTypeValues('kRB5-ENCTYPE-ARCFOUR-HMAC-MD5')) +DES_CBC_CRC = int( + krb5_asn1.EncryptionTypeValues('kRB5-ENCTYPE-DES-CBC-CRC')) +DES_CBC_MD5 = int( + krb5_asn1.EncryptionTypeValues('kRB5-ENCTYPE-DES-CBC-MD5')) +DES3_CBC_MD5 = int( + krb5_asn1.EncryptionTypeValues('kRB5-ENCTYPE-DES3-CBC-MD5')) +DES3_CBC_SHA1 = int( + krb5_asn1.EncryptionTypeValues('kRB5-ENCTYPE-DES3-CBC-SHA1')) # Message types KRB_ERROR = int(krb5_asn1.MessageTypeValues('krb-error'))