Repository navigation
docs(agent-identity): compare AS-2 and AS-1 issuers including the path - #2945
Merged
Merged
Conversation
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>
rdimitrov
approved these changes
Nov 21, 2026
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
audthat names its own issuer. The reason for the rule (onemecatlkey 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.