String iat values in proof examples
The iat
claim value in some proof examples is "2018-09-14T21:19:10Z". iat
values are required to be Unix Time numbers (seconds since the epoch January 1, 1970 00:00 UTC, ignoring leap seconds). This example and any others like it need to be corrected to use numeric time values.
In the spec, the example is shown as:
"proof": {
"proof_type": "jwt",
"jwt":"eyJraWQiOiJkaWQ6ZXhhbXBsZTplYmZlYjFmNzEyZWJjNmYxYzI3NmUxMmVjMjEva2V5cy8
xIiwiYWxnIjoiRVMyNTYiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJzNkJoZFJrcXQzIiwiYXVkIjoiaHR
0cHM6Ly9zZXJ2ZXIuZXhhbXBsZS5jb20iLCJpYXQiOiIyMDE4LTA5LTE0VDIxOjE5OjEwWiIsIm5vbm
NlIjoidFppZ25zbkZicCJ9.ewdkIkPV50iOeBUqMXCC_aZKPxgihac0aW9EkL1nOzM"
}
This occurs at https://openid.bitbucket.io/connect/openid-4-verifiable-credential-issuance-1_0.html#name-credential-request and https://openid.bitbucket.io/connect/openid-4-verifiable-credential-issuance-1_0.html#name-credential-request-2.
Comments (3)
-
-
reporter Will be fixed by https://bitbucket.org/openid/connect/pull-requests/603
-
- changed status to resolved
PR merged.
- Log in to comment
you mean when the proof JWT is decoded? If you are willing to re-generate examples with correct iat, that would be great.