Skip to content

Commit

Permalink
core: add 'TODO if signature cannot be checked log info and ignore'
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Pinsel <[email protected]>
  • Loading branch information
DominikPinsel committed Feb 9, 2024
1 parent 8b2d0eb commit d4e12af
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand All @@ -69,6 +70,7 @@ final class VerifiableCredentialsValidator
public boolean isValid(List<VerifiableCredential> verifiableCredentials, ConstraintValidatorContext context) {
return verifiableCredentials != null &&
validationService.hasSignature(verifiableCredentials) &&
// TODO if signature cannot be checked log info and ignore
validationService.isSignatureValid(verifiableCredentials);

}
Expand Down

0 comments on commit d4e12af

Please sign in to comment.