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_type included (RFC-AITP-0001 §5.4), so a message_type changed after signing fails with INVALID_SIGNATURE. For identity_presentation, RFC-AITP-0002 §3.4 (rule 2 and check-order step 4) states what the verifier checks and which code it returns.

ValueSender → receiverPayloadStatusSpec
mutual_helloInitiator → targetMutualHelloStableRFC-AITP-0004 §3.1
mutual_hello_ackTarget → initiatorMutualHelloAckStableRFC-AITP-0004 §3.2
mutual_commitInitiator → targetMutualCommitStableRFC-AITP-0004 §3.3
mutual_commit_ackTarget → initiatorMutualCommitAckStableRFC-AITP-0004 §3.4
tctIssuing peer → subjectNo 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)StableRFC-AITP-0001 §5.2 (listed only); RFC-AITP-0013 §6
pop_challengeConsuming peer → TCT subject{tct_jti, nonce}StableRFC-AITP-0005 §6.1
pop_responseTCT subject → consuming peer{tct_jti, nonce_echo, pop_signature}StableRFC-AITP-0005 §6.1
identity_presentationPresenter → verifierExactly {identity, pop_nonce}: a pinned_key descriptor and the challenge nonceProvisionalRFC-AITP-0002 §3.4
errorEither sideAitpErrorStableRFC-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_type enum in schemas/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.