Skip to content

Commit

Permalink
Merge pull request #19 from ryosuke-wakaba/chore/prevention-of-time-s…
Browse files Browse the repository at this point in the history
…ynchronization-deviation

Prevention of time synchronization deviation
  • Loading branch information
sadamu authored Jul 18, 2024
2 parents b019ef8 + 7d25772 commit 72eb024
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ object JwtVpJsonPresentation {
"verifiableCredential" to listOf(vcJwt)
)

val currentTimeSeconds = System.currentTimeMillis() / 1000
val currentTimeSeconds = (System.currentTimeMillis() / 1000) - 5 // Prevention of time synchronization deviation
return VpJwtPayload(
iss = payloadOptions.iss,
jti = payloadOptions.jti,
Expand Down

0 comments on commit 72eb024

Please sign in to comment.