{
  "x402Version": 2,
  "id": 34023,
  "slug": "34023",
  "resource": "https://api.zfinia.com/x402/v1/dkim-record-audit",
  "description": "Audit DKIM selector records. The key length follows from the length of the encoded public key, so a short RSA key is readable from the record itself with no cryptography. Reports a key shorter than a stated minimum; a selector left in testing mode, which asks receivers to treat a failure as unsigned so it cannot contribute to DMARC alignment however correctly it signs; a revoked key, with its consequence; and a key type verifiers do not implement.",
  "type": "http",
  "serviceName": "DKIM Record Audit",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "180000",
      "amountUsd": 0.18,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "minimum_key_bits": 2048,
            "records": [
              {
                "record": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLiL1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijQIDAQAB",
                "selector": "legacy2019"
              },
              {
                "record": "v=DKIM1; k=rsa; t=y; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ12345678QIDAQAB",
                "selector": "rollout2026"
              },
              {
                "record": "v=DKIM1; k=rsa; p=",
                "selector": "retired2024"
              },
              {
                "record": "v=DKIM1; k=rsa; s=tlsa; rotation=90d; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0000000000abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ12345678QIDAQAB",
                "selector": "odd"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "assumptions": [
              "The key length is derived from the length of the encoded public key, so a short key is readable from the record itself without any cryptography. The figure is rounded to the nearest common size.",
              "An empty p tag is the documented way to revoke a key, so it is reported as a revocation with its consequence rather than as a malformed record.",
              "A selector in testing mode is reported because it asks receivers to ignore failures, which means the selector cannot contribute to DMARC alignment however correctly it signs."
            ],
            "complete": true,
            "finding_count": 7,
            "findings": [
              {
                "code": "KEY_SHORTER_THAN_REQUIRED",
                "detail": "Selector legacy2019 publishes an RSA key of about 896 bits and 2048 was required. The length follows from the encoded key, so this is readable from the record without any cryptography.",
                "selector": "legacy2019"
              },
              {
                "code": "KEY_SHORTER_THAN_REQUIRED",
                "detail": "Selector rollout2026 publishes an RSA key of about 1536 bits and 2048 was required. The length follows from the encoded key, so this is readable from the record without any cryptography.",
                "selector": "rollout2026"
              },
              {
                "code": "TESTING_FLAG_SET",
                "detail": "Selector rollout2026 declares t=y, which asks receivers to treat a failure as though the message were unsigned. A selector left in testing mode cannot contribute to DMARC alignment.",
                "selector": "rollout2026"
              }
            ],
            "findings_by_code": {
              "KEY_REVOKED": 1,
              "KEY_SHORTER_THAN_REQUIRED": 3,
              "SERVICE_TYPE_EXCLUDES_EMAIL": 1,
              "TAG_NOT_RECOGNISED": 1,
              "TESTING_FLAG_SET": 1
            },
            "limitations": [
              "The records supplied. Nothing resolves DNS, no signature is verified, and whether the private key is held securely is outside this entirely. Not a security assessment.",
              "valid is true only when every selector parsed, carried a usable key and was not left in testing mode."
            ],
            "limits": {
              "maxFindings": 500,
              "maxHeaderBytes": 131072,
              "maxIncludeTree": 200,
              "maxRecordLength": 4096,
              "maxRecords": 2000,
              "spfLookupLimit": 10,
              "spfVoidLookupLimit": 2
            },
            "minimum_key_bits": 2048,
            "not_examined": [],
            "observed_at": "2026-10-02T00:00:00.000Z",
            "passed": false,
            "request_id": "example-request",
            "selector_count": 4,
            "selectors": [
              {
                "key_bits": 896,
                "key_type": "rsa",
                "revoked": false,
                "selector": "legacy2019",
                "testing": false
              },
              {
                "key_bits": 1536,
                "key_type": "rsa",
                "revoked": false,
                "selector": "rollout2026",
                "testing": true
              },
              {
                "key_bits": null,
                "key_type": "rsa",
                "revoked": true,
                "selector": "retired2024",
                "testing": false
              }
            ],
            "service_id": "dkim_record_audit",
            "service_version": "1.0.0",
            "usable_selector_count": 2,
            "valid": false
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "minimum_key_bits": {
                    "maximum": 8192,
                    "minimum": 512,
                    "type": "integer"
                  },
                  "records": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "record": {
                          "maxLength": 4096,
                          "type": "string"
                        },
                        "selector": {
                          "maxLength": 128,
                          "type": "string"
                        }
                      },
                      "required": [
                        "selector",
                        "record"
                      ],
                      "type": "object"
                    },
                    "maxItems": 100,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "records"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "dkim",
    "email authentication",
    "domain trust",
    "key management",
    "developer tooling",
    "bazaar"
  ],
  "sourceHost": "api.zfinia.com",
  "lastUpdated": "2026-10-04T08:42:14.537Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-04T08:42:10.123Z"
  },
  "metadata": {
    "serviceName": "DKIM Record Audit",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "minimum_key_bits": 2048,
              "records": [
                {
                  "record": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLiL1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijQIDAQAB",
                  "selector": "legacy2019"
                },
                {
                  "record": "v=DKIM1; k=rsa; t=y; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ12345678QIDAQAB",
                  "selector": "rollout2026"
                },
                {
                  "record": "v=DKIM1; k=rsa; p=",
                  "selector": "retired2024"
                },
                {
                  "record": "v=DKIM1; k=rsa; s=tlsa; rotation=90d; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0000000000abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ12345678QIDAQAB",
                  "selector": "odd"
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "assumptions": [
                "The key length is derived from the length of the encoded public key, so a short key is readable from the record itself without any cryptography. The figure is rounded to the nearest common size.",
                "An empty p tag is the documented way to revoke a key, so it is reported as a revocation with its consequence rather than as a malformed record.",
                "A selector in testing mode is reported because it asks receivers to ignore failures, which means the selector cannot contribute to DMARC alignment however correctly it signs."
              ],
              "complete": true,
              "finding_count": 7,
              "findings": [
                {
                  "code": "KEY_SHORTER_THAN_REQUIRED",
                  "detail": "Selector legacy2019 publishes an RSA key of about 896 bits and 2048 was required. The length follows from the encoded key, so this is readable from the record without any cryptography.",
                  "selector": "legacy2019"
                },
                {
                  "code": "KEY_SHORTER_THAN_REQUIRED",
                  "detail": "Selector rollout2026 publishes an RSA key of about 1536 bits and 2048 was required. The length follows from the encoded key, so this is readable from the record without any cryptography.",
                  "selector": "rollout2026"
                },
                {
                  "code": "TESTING_FLAG_SET",
                  "detail": "Selector rollout2026 declares t=y, which asks receivers to treat a failure as though the message were unsigned. A selector left in testing mode cannot contribute to DMARC alignment.",
                  "selector": "rollout2026"
                }
              ],
              "findings_by_code": {
                "KEY_REVOKED": 1,
                "KEY_SHORTER_THAN_REQUIRED": 3,
                "SERVICE_TYPE_EXCLUDES_EMAIL": 1,
                "TAG_NOT_RECOGNISED": 1,
                "TESTING_FLAG_SET": 1
              },
              "limitations": [
                "The records supplied. Nothing resolves DNS, no signature is verified, and whether the private key is held securely is outside this entirely. Not a security assessment.",
                "valid is true only when every selector parsed, carried a usable key and was not left in testing mode."
              ],
              "limits": {
                "maxFindings": 500,
                "maxHeaderBytes": 131072,
                "maxIncludeTree": 200,
                "maxRecordLength": 4096,
                "maxRecords": 2000,
                "spfLookupLimit": 10,
                "spfVoidLookupLimit": 2
              },
              "minimum_key_bits": 2048,
              "not_examined": [],
              "observed_at": "2026-10-02T00:00:00.000Z",
              "passed": false,
              "request_id": "example-request",
              "selector_count": 4,
              "selectors": [
                {
                  "key_bits": 896,
                  "key_type": "rsa",
                  "revoked": false,
                  "selector": "legacy2019",
                  "testing": false
                },
                {
                  "key_bits": 1536,
                  "key_type": "rsa",
                  "revoked": false,
                  "selector": "rollout2026",
                  "testing": true
                },
                {
                  "key_bits": null,
                  "key_type": "rsa",
                  "revoked": true,
                  "selector": "retired2024",
                  "testing": false
                }
              ],
              "service_id": "dkim_record_audit",
              "service_version": "1.0.0",
              "usable_selector_count": 2,
              "valid": false
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "minimum_key_bits": {
                      "maximum": 8192,
                      "minimum": 512,
                      "type": "integer"
                    },
                    "records": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "record": {
                            "maxLength": 4096,
                            "type": "string"
                          },
                          "selector": {
                            "maxLength": 128,
                            "type": "string"
                          }
                        },
                        "required": [
                          "selector",
                          "record"
                        ],
                        "type": "object"
                      },
                      "maxItems": 100,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "records"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.zfinia.com",
    "manifest_name": "api.zfinia.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "assumptions": [
      "The key length is derived from the length of the encoded public key, so a short key is readable from the record itself without any cryptography. The figure is rounded to the nearest common size.",
      "An empty p tag is the documented way to revoke a key, so it is reported as a revocation with its consequence rather than as a malformed record.",
      "A selector in testing mode is reported because it asks receivers to ignore failures, which means the selector cannot contribute to DMARC alignment however correctly it signs."
    ],
    "complete": true,
    "finding_count": 7,
    "findings": [
      {
        "code": "KEY_SHORTER_THAN_REQUIRED",
        "detail": "Selector legacy2019 publishes an RSA key of about 896 bits and 2048 was required. The length follows from the encoded key, so this is readable from the record without any cryptography.",
        "selector": "legacy2019"
      },
      {
        "code": "KEY_SHORTER_THAN_REQUIRED",
        "detail": "Selector rollout2026 publishes an RSA key of about 1536 bits and 2048 was required. The length follows from the encoded key, so this is readable from the record without any cryptography.",
        "selector": "rollout2026"
      },
      {
        "code": "TESTING_FLAG_SET",
        "detail": "Selector rollout2026 declares t=y, which asks receivers to treat a failure as though the message were unsigned. A selector left in testing mode cannot contribute to DMARC alignment.",
        "selector": "rollout2026"
      }
    ],
    "findings_by_code": {
      "KEY_REVOKED": 1,
      "KEY_SHORTER_THAN_REQUIRED": 3,
      "SERVICE_TYPE_EXCLUDES_EMAIL": 1,
      "TAG_NOT_RECOGNISED": 1,
      "TESTING_FLAG_SET": 1
    },
    "limitations": [
      "The records supplied. Nothing resolves DNS, no signature is verified, and whether the private key is held securely is outside this entirely. Not a security assessment.",
      "valid is true only when every selector parsed, carried a usable key and was not left in testing mode."
    ],
    "limits": {
      "maxFindings": 500,
      "maxHeaderBytes": 131072,
      "maxIncludeTree": 200,
      "maxRecordLength": 4096,
      "maxRecords": 2000,
      "spfLookupLimit": 10,
      "spfVoidLookupLimit": 2
    },
    "minimum_key_bits": 2048,
    "not_examined": [],
    "observed_at": "2026-10-02T00:00:00.000Z",
    "passed": false,
    "request_id": "example-request",
    "selector_count": 4,
    "selectors": [
      {
        "key_bits": 896,
        "key_type": "rsa",
        "revoked": false,
        "selector": "legacy2019",
        "testing": false
      },
      {
        "key_bits": 1536,
        "key_type": "rsa",
        "revoked": false,
        "selector": "rollout2026",
        "testing": true
      },
      {
        "key_bits": null,
        "key_type": "rsa",
        "revoked": true,
        "selector": "retired2024",
        "testing": false
      }
    ],
    "service_id": "dkim_record_audit",
    "service_version": "1.0.0",
    "usable_selector_count": 2,
    "valid": false
  }
}