Skip to content

Document should be explicit in what is meant by equality #202

@MichaelFraser1999

Description

@MichaelFraser1999

The document doesn't currently explicitly define what is expected from equality checks. This can be on Entity Identifier comparison between sub or iss claims, on entries in the authority_hints array, etc

The scenario I see playing out is as follows:

Two entities are registered in a federation with a functionally identical entity identifier (but one with a trailing slash and one without).
Example: https://foo.bar.com/ and https://foo.bar.com. This would be possible per the equality rules as defined in RFC8414

Any well-known resolution would of course still go to the same location as well-known URI construction mandates the trailing slash is removed if present

However, /fetch responses could return different metadata in this scenario, depending on whether a requester includes the slash. Some implementations may fail to differentiate between the different entities if they're stripping trailing slashes.

Ultimately, only one subordinate statement should be usable in a trust chain as the one that doesn't exactly match the iss claim in the resulting well-known document should be rejected.

To ensure the above cannot become an issue, the document should be explicit in what is meant by equal, whether trailing slashes are ignored or not, etc.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions