Skip to content

This PR adds authentication token support to CLIENT_SETUP and extends moq-pub with CAT token generation - #150

Open
mondain wants to merge 3 commits into
cloudflare:draft-ietf-moq-transport-14from
mondain:auth-token
Open

This PR adds authentication token support to CLIENT_SETUP and extends moq-pub with CAT token generation#150
mondain wants to merge 3 commits into
cloudflare:draft-ietf-moq-transport-14from
mondain:auth-token

Conversation

@mondain

@mondain mondain commented Mar 2, 2026

Copy link
Copy Markdown

Changes

  • add authorization token support to the transport setup path used by CLIENT_SETUP
  • add token wire encoding in moq-transport for proper alias/type/value formatting
  • add CAT token support in moq-pub
  • add a --cat-subject CLI flag for building unsigned CWT/CAT tokens
  • update the existing --auth-token path to wrap token bytes in the proper out-of-band token structure
  • remove the temporary CLAUDE.md file from the branch

Notes

  • this keeps the transport changes and publisher CLI support in the same PR because they ship together
  • no dedicated tests were added in this branch
mondain and others added 3 commits March 2, 2026 15:49
Add Token wire structure encoding (alias type + token type + value) to
moq-transport for proper CLIENT_SETUP AUTHORIZATION_TOKEN formatting
per draft-ietf-moq-transport Section 9.2.1.1.

Add unsigned CWT (CBOR Web Token) builder to moq-pub for CAT tokens
(Type 0x10) with RFC 8392 claims: sub, exp, iat, and moqt scope.

New --cat-subject CLI flag (mutually exclusive with --auth-token)
allows sending a JWT string as the CWT subject claim, enabling
plugin-level JWT validation through the relay's CatTokenParser.

Existing --auth-token path now wraps bytes in proper Token structure
with OUT_OF_BAND type (0x00) instead of sending raw bytes.

Co-Authored-By: Claude <noreply@anthropic.com>
@englishm
englishm changed the base branch from main to draft-ietf-moq-transport-14 July 8, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant