token decryption successfull

This commit is contained in:
Raphael Maenle 2021-12-13 23:44:35 +01:00
parent 941cc2dc3f
commit 8c16ff344e

View File

@ -48,7 +48,7 @@ class MessageProcessor {
// Decrypt
val validator: Validator<String> = object : StringValidator {
override fun getTimeToLive(): TemporalAmount {
return Duration.ofHours(24)
return Duration.ofHours(196)
}
}
val data = token.validateAndDecrypt(fernetKey, validator)