From d4e12af35ae552b7f6dc504dda417a5399b12a78 Mon Sep 17 00:00:00 2001 From: Dominik Pinsel Date: Fri, 9 Feb 2024 14:43:15 +0100 Subject: [PATCH] core: add 'TODO if signature cannot be checked log info and ignore' Signed-off-by: Dominik Pinsel --- .../managedidentitywallets/annotations/IsSignatureValid.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/managed-identity-wallets-app/src/main/java/org/eclipse/tractusx/managedidentitywallets/annotations/IsSignatureValid.java b/managed-identity-wallets-app/src/main/java/org/eclipse/tractusx/managedidentitywallets/annotations/IsSignatureValid.java index 095a04859..f596bee47 100644 --- a/managed-identity-wallets-app/src/main/java/org/eclipse/tractusx/managedidentitywallets/annotations/IsSignatureValid.java +++ b/managed-identity-wallets-app/src/main/java/org/eclipse/tractusx/managedidentitywallets/annotations/IsSignatureValid.java @@ -55,6 +55,7 @@ final class VerifiableCredentialValidator public boolean isValid(VerifiableCredential verifiableCredential, ConstraintValidatorContext context) { return verifiableCredential != null && validationService.hasSignature(verifiableCredential) && + // TODO if signature cannot be checked log info and ignore validationService.isSignatureValid(verifiableCredential); } } @@ -69,6 +70,7 @@ final class VerifiableCredentialsValidator public boolean isValid(List verifiableCredentials, ConstraintValidatorContext context) { return verifiableCredentials != null && validationService.hasSignature(verifiableCredentials) && + // TODO if signature cannot be checked log info and ignore validationService.isSignatureValid(verifiableCredentials); }