mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-26 07:00:07 -05:00
ipatests: extend AES keyset to SHA2-based ones
Fixes: https://pagure.io/freeipa/issue/9119 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Julien Rische <jrische@redhat.com> Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
This commit is contained in:
1 parent
b016683552
commit
49d9147e38
2 files changed
+4
-2
No files matched your search
@@ -754,7 +754,8 @@ class update_host_cifs_keytabs(Updater):
|
||||
"""
|
||||
|
||||
host_princ_template = "host/{master}@{realm}"
|
||||
valid_etypes = ['aes256-cts-hmac-sha1-96', 'aes128-cts-hmac-sha1-96']
|
||||
valid_etypes = ['aes256-cts-hmac-sha384-192', 'aes128-cts-hmac-sha256-128',
|
||||
'aes256-cts-hmac-sha1-96', 'aes128-cts-hmac-sha1-96']
|
||||
|
||||
def extract_key_refs(self, keytab):
|
||||
host_princ = self.host_princ_template.format(
|
||||
|
||||
@@ -2261,7 +2261,8 @@ class KerberosKeyCopier:
|
||||
copier.copy_keys('/etc/krb5.keytab', tmpname, replacement=replacement)
|
||||
"""
|
||||
host_princ_template = "host/{master}@{realm}"
|
||||
valid_etypes = ['aes256-cts-hmac-sha1-96', 'aes128-cts-hmac-sha1-96']
|
||||
valid_etypes = ['aes256-cts-hmac-sha384-192', 'aes128-cts-hmac-sha256-128',
|
||||
'aes256-cts-hmac-sha1-96', 'aes128-cts-hmac-sha1-96']
|
||||
|
||||
def __init__(self, host):
|
||||
self.host = host
|
||||
|
||||
Reference in new issue
Block a user