Skip to content

Commit fc047e7

Browse files
jkakavasmasseyke
andauthored
Changing test keytab to use aes256-cts-hmac-sha1-96 instead of des3-cbc-sha1-kd (#78703) (#80537)
The des3-cbc-sha1-kd encryption type is deprecated and no longer supported by newer jvm, causing tests that use the krb5kdc-fixture to fail. This commit changes the encryption type of the test keytab to aes256-cts-hmac-sha1-96. Relates #78423 Co-authored-by: Keith Massey <[email protected]>
1 parent a90cd32 commit fc047e7

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

test/fixtures/krb5kdc-fixture/src/main/resources/provision/kdc.conf.template

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
kadmind_port = 749
1414
max_life = 12h 0m 0s
1515
max_renewable_life = 7d 0h 0m 0s
16-
master_key_type = des3-cbc-sha1-kd
17-
# This is the only supported enctype for fips 140-2
18-
supported_enctypes = des3-cbc-sha1-kd:normal
16+
master_key_type = aes256-cts-hmac-sha1-96
17+
supported_enctypes = aes256-cts-hmac-sha1-96:normal
1918
}
2019

2120
[logging]

test/fixtures/krb5kdc-fixture/src/main/resources/provision/krb5.conf.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
ignore_acceptor_hostname = true
1515
rdns = false
1616
# des3-cbc-sha1-kd is the only enctype available in fips 140-2
17-
default_tgs_enctypes = des3-cbc-sha1-kd
18-
default_tkt_enctypes = des3-cbc-sha1-kd
19-
permitted_enctypes = des3-cbc-sha1-kd
17+
default_tgs_enctypes = aes256-cts-hmac-sha1-96
18+
default_tkt_enctypes = aes256-cts-hmac-sha1-96
19+
permitted_enctypes = aes256-cts-hmac-sha1-96
2020
# udp_preference_limit = 1
2121
kdc_timeout = 3000
2222
canonicalize = true

0 commit comments

Comments
 (0)