From ab0b26f617d7476177706a5a159be881c5e45418 Mon Sep 17 00:00:00 2001 From: Benny Date: Thu, 26 Oct 2023 23:08:12 +0530 Subject: [PATCH] Updating the voucher expiry timeline for AutoInjection Worker Updating the voucher expiry timeline for AutoInjection Worker. Signed-off-by: Benny --- .../fdo/protocol/db/AutoInjectVoucherStorageFunction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/src/main/java/org/fidoalliance/fdo/protocol/db/AutoInjectVoucherStorageFunction.java b/protocol/src/main/java/org/fidoalliance/fdo/protocol/db/AutoInjectVoucherStorageFunction.java index 980cb5736..cded923c3 100644 --- a/protocol/src/main/java/org/fidoalliance/fdo/protocol/db/AutoInjectVoucherStorageFunction.java +++ b/protocol/src/main/java/org/fidoalliance/fdo/protocol/db/AutoInjectVoucherStorageFunction.java @@ -96,7 +96,7 @@ public UUID apply(String serialNo, OwnershipVoucher ownershipVoucher) throws IOE To0d to0d = new To0d(); to0d.setVoucher(ownershipVoucher); - to0d.setWaitSeconds(Duration.ofDays(360 * 10).toSeconds()); + to0d.setWaitSeconds(Duration.ofDays(360).toSeconds()); to0d.setNonce(Nonce.fromRandomUuid()); HashType hashType = new AlgorithmFinder().getCompatibleHashType(