From 8c16ff344e36eef19d27c0bc413e7caf3b14c07c Mon Sep 17 00:00:00 2001 From: raphael Date: Mon, 13 Dec 2021 23:44:35 +0100 Subject: [PATCH] token decryption successfull --- app/src/main/java/com/example/bump/MessageProcessor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/bump/MessageProcessor.kt b/app/src/main/java/com/example/bump/MessageProcessor.kt index dedda23..b87efda 100644 --- a/app/src/main/java/com/example/bump/MessageProcessor.kt +++ b/app/src/main/java/com/example/bump/MessageProcessor.kt @@ -48,7 +48,7 @@ class MessageProcessor { // Decrypt val validator: Validator = object : StringValidator { override fun getTimeToLive(): TemporalAmount { - return Duration.ofHours(24) + return Duration.ofHours(196) } } val data = token.validateAndDecrypt(fernetKey, validator)