Skip to content

Commit 30c432e

Browse files
committed
Extend the wallet attestation expiration
1 parent 712b11e commit 30c432e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/credman/cmwallet/openid4vci/OpenId4VCI.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class OpenId4VCI(val credentialOfferJson: String) {
224224
val clientAttestationPayload = buildJsonObject {
225225
put("sub", WALLET_CLIENT_ID)
226226
put("wallet_name", WALLET_NAME)
227-
put("exp", Instant.now().epochSecond + 3000)
227+
put("exp", Instant.now().epochSecond + 432000 /* 5 days */)
228228
put("cnf", buildJsonObject {
229229
put("jwk", kp.public.toJWK())
230230
})

0 commit comments

Comments
 (0)