]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
RFC 9904 + IANA registries replace RFC 8624 for DNSSEC algorithm guidance.
authorBob Halley <halley@dnspython.org>
Sat, 25 Jul 2026 16:12:26 +0000 (09:12 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 25 Jul 2026 16:12:26 +0000 (09:12 -0700)
dns/dnssec.py
doc/rfc.rst

index 2738e3dab687b21a019ee056d52382f963b5b1b9..a6949c0220d4d365c66f9765a405928b64fb716e 100644 (file)
@@ -162,10 +162,12 @@ rfc_8624_policy = SimpleDeny(
     {DSDigest.NULL},
 )
 
+rfc_9904_policy = rfc_8624_policy
+
 allow_all_policy = SimpleDeny(set(), set(), set(), set())
 
 
-default_policy = rfc_8624_policy
+default_policy = rfc_9904_policy
 
 
 def make_ds(
@@ -190,7 +192,7 @@ def make_ds(
         using this origin.
     :type origin: :py:class:`dns.name.Name` or ``None``
     :param policy: The policy to use. If ``None``, ``dns.dnssec.default_policy``
-        is used (defaults to RFC 8624 policy).
+        is used (defaults to RFC 9904 policy).
     :type policy: :py:class:`dns.dnssec.Policy` or ``None``
     :param validating: If ``True``, policy is checked in validating mode ("Is it
         ok to validate using this digest algorithm?"). Otherwise checked in
@@ -339,7 +341,7 @@ def _validate_rrsig(
         the actual current time is used.
     :type now: float or ``None``
     :param policy: The policy to use. If ``None``, ``dns.dnssec.default_policy``
-        is used (defaults to RFC 8624 policy).
+        is used (defaults to RFC 9904 policy).
     :type policy: :py:class:`dns.dnssec.Policy` or ``None``
     :raises ValidationFailure: If the signature is expired, not yet valid, the
         public key is invalid, the algorithm is unknown, verification fails, etc.
@@ -400,7 +402,7 @@ def _validate(
         the actual current time is used.
     :type now: int or ``None``
     :param policy: The policy to use. If ``None``, ``dns.dnssec.default_policy``
-        is used (defaults to RFC 8624 policy).
+        is used (defaults to RFC 9904 policy).
     :type policy: :py:class:`dns.dnssec.Policy` or ``None``
     :raises ValidationFailure: If the signature is expired, not yet valid, the
         public key is invalid, the algorithm is unknown, verification fails, etc.
@@ -477,7 +479,7 @@ def _sign(
         Default is ``False``.
     :type verify: bool
     :param policy: The policy to use. If ``None``, ``dns.dnssec.default_policy``
-        is used (defaults to RFC 8624 policy).
+        is used (defaults to RFC 9904 policy).
     :type policy: :py:class:`dns.dnssec.Policy` or ``None``
     :param origin: If ``None`` (the default), all names must be absolute.
         Otherwise, this origin is used to make names absolute when signing.
index 24692786040ee1befdab9f0d5b7a093c9442ea64..51e151e3d3129213664a30d3f8791f4524c33415 100644 (file)
@@ -114,15 +114,15 @@ DNSSEC RFCs
 `RFC 8080 <https://tools.ietf.org/html/rfc8080>`_
     Edwards-Curve Digital Security Algorithm (EdDSA) for DNSSEC.
 
-`RFC 8624 <https://tools.ietf.org/html/rfc8624>`_
-    Algorithm Implementation Requirements and Usage Guidance for DNSSEC.
-
 `RFC 9157 <https://tools.ietf.org/html/rfc9157>`_
     Revised IANA Considerations for DNSSEC.
 
 `RFC 9824 <https://tools.ietf.org/html/rfc9824>`_
     Compact Denial of Existence in DNSSEC
 
+`RFC 9904 <https://www.rfc-editor.org/info/rfc9904>`_
+    DNSSEC Cryptographic Algorithm Recommendation Update Process
+
 Misc RFCs
 ---------