mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
tests/krb5: Check properties of current GKDI key
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
b4563a2490
commit
bd3091dfc5
@ -113,7 +113,11 @@ class GkdiExplicitRootKeyTests(GkdiKdcBaseTest):
|
||||
# It actually doesn’t matter what we specify for the L1 and L2 indices.
|
||||
# We’ll get the same result regardless — they just cannot specify a key
|
||||
# from the future.
|
||||
self.check_rpc_get_key(root_key_id, self.current_gkid())
|
||||
current_gkid = self.current_gkid()
|
||||
key = self.check_rpc_get_key(root_key_id, current_gkid)
|
||||
|
||||
self.assertEqual(current_gkid, key.gkid)
|
||||
self.assertEqual(root_key_id, key.root_key_id)
|
||||
|
||||
def test_previous_l0_idx(self):
|
||||
"""Request a key with a previous L0 index."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user