Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explain the usage of exp and iat jwt claims #151

Merged
merged 3 commits into from
Sep 14, 2023
Merged

explain the usage of exp and iat jwt claims #151

merged 3 commits into from
Sep 14, 2023

Conversation

Sakurann
Copy link
Contributor

@Sakurann Sakurann commented Sep 9, 2023

Issue #133.

partially addresses issue #39 though does not give clarity what is mandated, yet.


Preview | Diff

index.html Outdated
@@ -600,6 +600,13 @@ <h2>Protected Header Parameters</h2>
<code>alg</code>, <code>iat</code>,
<code>exp</code> and <code>cnf</code>.
</p>
<p>
When <code>exp</code> or <code>exp</code> JWT claims are present,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a typo here. Replace first exp with iat

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated
they represent issuance and expiration time of a signature, respectively.
Note that this is different from <code>validFrom</code> and <code>validUntil</code>
defined in <a data-cite="VC-DATA-MODEL#validity-period">Validity Period</a>
that represent validity of the data that is being secured.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that represents the validity...

index.html Outdated Show resolved Hide resolved
Copy link
Collaborator

@selfissued selfissued left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve, subject to the editorial suggestions being incorporated.

index.html Outdated Show resolved Hide resolved
index.html Outdated
<p>
When <code>iat</code> or <code>exp</code> JWT claims are present,
they represent issuance and expiration time of a signature, respectively.
Note that this is different from <code>validFrom</code> and <code>validUntil</code>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Note that this is different from <code>validFrom</code> and <code>validUntil</code>
Note that these are different from the <code>validFrom</code> and <code>validUntil</code>

index.html Outdated Show resolved Hide resolved
@Sakurann
Copy link
Contributor Author

(requested re-review by @selfissued by mistake..)

@selfissued selfissued merged commit f6faa34 into main Sep 14, 2023
1 check passed
@iherman
Copy link
Member

iherman commented Sep 15, 2023

The issue was discussed in a meeting on 2023-09-14

  • no resolutions were taken
View the transcript

6.3. explain the usage of exp and iat jwt claims (pr vc-jose-cose#151)

See github pull request vc-jose-cose#151.

Kristina Yasuda: please open issues before merging that PR.

Michael Jones: this PR clarifies how iat/exp should be used. very small.

Manu Sporny: +1 to this PR. makes good distinction between dates associated with proof and VCs. +1 to merge.

Brent Zundel: no objections. open for more then a week - merge it.

@selfissued selfissued mentioned this pull request Sep 29, 2023
@decentralgabe decentralgabe deleted the exp-claim branch February 26, 2024 20:06
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.

7 participants