docs: def mask_keys(announce_url):
      """ Mask any passkeys (hex sequences) in an announce URL.
      """
      return PASSKEY_RE.sub(
          lambda m: m.group() if m.group() in PASSKEY_OK else "*" * len(m.group()),
          announce_url)