till_kya
IDENTITY STANDARD (interop): read a Skyfire KYA ("Know Your Agent") JWT — the signed token binding a real human/business to an agent (Experian's identity layer). The IDENTITY counterpart to till_trust's ERC-8004 reputation lens. Parses the JWT + validates fail-closed (iss/sub present, not expired, aud matches YOU — anti-replay), and treats it as ATTESTED only when you confirm the signature verified against the issuer JWKS (BIII does not verify JWT signatures itself — no dep; supply verified:true or re-verify with the pointer). Advisory: attesting WHO backs an agent is NOT "safe to pay" — run till_trust on the address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | the compact KYA JWT (header.payload.signature) | |
| verified | No | attest the JWT signature verified against the issuer's JWKS (BIII does not check it itself) | |
| requireExpiry | No | strict mode: REFUSE a KYA JWT with no exp (a never-expiring vouch). Default false — a no-exp token still attests but is flagged posture.expires:false | |
| expectedAudience | No | the recipient this token must be addressed to (its aud) — anti-replay; recommended |