Skip to content

Clarify validation of Trust Marks #244

@Razumain

Description

@Razumain

Reading the spec with the updated Trust Mark Status endpoint. I see a clear risk of interop issues.

This endpoint is not very clear what it means for a Trust Mark to be active, if the Trust Mark passed to this endpoint is passed its expiration time.

  1. It could med false because the Trust Mark presented is expired.
  2. It could be true, because this entity still has the right to this trust_mark_type. All you need is to get a fresh Trust Mark.

This could be solved in several ways.

  1. Clarify what "active" actually means.
  2. Extend the response to give more elaborate information

The latter could provide information both on the status of the token (JWT) as well as the validity of the trust_mark_type for this subject. This could look like:

{
"token_status": "revoked"
"trust_mark_type": "active"
}

I would also like to get this response signed as it contains security critical information.

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