Skip to content

docs(agent-identity): compare AS-2 and AS-1 issuers including the path - #2945

Merged
ChrisJBurns merged 1 commit into
mainfrom
docs/agent-identity-same-issuer
Nov 21, 2026
Merged

ChrisJBurns merged 1 commit into
mainfrom
docs/agent-identity-same-issuer

Conversation

@ChrisJBurns

Copy link
Copy Markdown
Contributor

The "Configured AS-2 issuers" rule in credentials-and-lifecycle.md, step (7), said an AS-2 issuer must not "name the same server as AS-1's issuer". It then listed scheme, host, and port, plus "ignoring a trailing slash", which only makes sense if the path is compared. The rule records the check added in #2744 (sameIssuer), which has always compared the path.

Read literally, the old wording would refuse the embedded gateway. The hosted AS-1 and the embedded AS-2 both live on mecak8s's host under different paths, which implementation.md ("Fixed issuer URLs") allows.

Change

The rule now says "the same issuer", lists the path in the comparison, and states why two issuers on one host with different paths are distinct: each server accepts only an aud that names its own issuer. The reason for the rule (one mecatl key at both servers) is unchanged.

Needed by #2538, which applies the rule to every configured gateway.

API compatibility

None. This is a design draft only.

The configured AS-2 issuer rule said "the same server" but listed only scheme,
host, and port, while its trailing-slash rule and the check it records compare
the path too. Say it is the same issuer, and why two issuers on one host with
different paths are distinct.

Co-authored-by: Mecatl <noreply@mecatl.dev>
@ChrisJBurns
ChrisJBurns merged commit efcb5d5 into main Nov 21, 2026
36 checks passed
@ChrisJBurns
ChrisJBurns deleted the docs/agent-identity-same-issuer branch November 21, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants