]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove KeyProperties property expect
authorMatthijs Mekking <matthijs@isc.org>
Wed, 1 Oct 2025 14:35:20 +0000 (16:35 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 8 Oct 2025 07:56:58 +0000 (09:56 +0200)
This property is unused, so we can just remove it.

bin/tests/system/isctest/kasp.py

index 6223e5cbb1237061e723494d595cd552e79e0bfa..16f968bc10fd3a4cfc75fbf9b80247b01eaa9d67 100644 (file)
@@ -190,7 +190,6 @@ class KeyProperties:
     @staticmethod
     def default(with_state=True) -> "KeyProperties":
         properties = {
-            "expect": True,
             "private": True,
             "legacy": False,
             "role": "csk",
@@ -552,9 +551,6 @@ class Key:
         """
         Check the key with given properties.
         """
-        if not properties.properties["expect"]:
-            return False
-
         # Check file existence.
         # Noop. If file is missing then the get_metadata calls will fail.
 
@@ -1523,7 +1519,6 @@ def policy_to_properties(ttl, keys: List[str]) -> List[KeyProperties]:
         count += 1
         line = key.split()
         keyprop = KeyProperties(f"KEY{count}", {}, {}, {})
-        keyprop.properties["expect"] = True
         keyprop.properties["private"] = True
         keyprop.properties["legacy"] = False
         keyprop.properties["offset"] = timedelta(0)