Message Types Registry
Registered values for the envelope message_type (RFC-AITP-0001 §5.2). The envelope schema (aitp-envelope.schema.json) enumerates exactly these values, so an envelope carrying any other message_type fails schema validation with INVALID_ENVELOPE.
Authentication (informative). This registry adds no requirement. The envelope signature covers every envelope member except
signature,message_typeincluded (RFC-AITP-0001 §5.4), so amessage_typechanged after signing fails withINVALID_SIGNATURE. Foridentity_presentation, RFC-AITP-0002 §3.4 (rule 2 and check-order step 4) states what the verifier checks and which code it returns.
| Value | Sender → receiver | Payload | Status | Spec |
|---|---|---|---|---|
mutual_hello | Initiator → target | MutualHello | Stable | RFC-AITP-0004 §3.1 |
mutual_hello_ack | Target → initiator | MutualHelloAck | Stable | RFC-AITP-0004 §3.2 |
mutual_commit | Initiator → target | MutualCommit | Stable | RFC-AITP-0004 §3.3 |
mutual_commit_ack | Target → initiator | MutualCommitAck | Stable | RFC-AITP-0004 §3.4 |
tct | Issuing peer → subject | No core payload shape: the handshake delivers TCTs inside mutual_commit / mutual_commit_ack, and the TCT format is RFC-AITP-0005. The opt-in renewal response uses {tct, grant_voucher?, pop_nonce_echo} (RFC-AITP-0013 §6) | Stable | RFC-AITP-0001 §5.2 (listed only); RFC-AITP-0013 §6 |
pop_challenge | Consuming peer → TCT subject | {tct_jti, nonce} | Stable | RFC-AITP-0005 §6.1 |
pop_response | TCT subject → consuming peer | {tct_jti, nonce_echo, pop_signature} | Stable | RFC-AITP-0005 §6.1 |
identity_presentation | Presenter → verifier | Exactly {identity, pop_nonce}: a pinned_key descriptor and the challenge nonce | Provisional | RFC-AITP-0002 §3.4 |
error | Either side | AitpError | Stable | RFC-AITP-0001 §5.6 |
Statuses use the shared status values.
The pinned-admission challenge (RFC-AITP-0002 §3.4) is deliberately not a message type: it is issued out of band, not in an envelope.
Adding a message type
A new value changes the envelope schema's enum, so it needs a normative home. Open a PR that:
- adds a row above with the exact value, direction, payload shape, status and defining RFC section;
- adds the value to the
message_typeenum inschemas/json/aitp-envelope.schema.json, and to the RFC-AITP-0001 §5 list and §5.2 field table; - bumps the version of each RFC whose normative text changes (VERSIONING.md).
Values use lowercase snake_case and MUST NOT collide with an existing row.