diff --git a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/probe/EmbeddedProofProbe.java b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/probe/EmbeddedProofProbe.java index 692efce..8d5cbd9 100644 --- a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/probe/EmbeddedProofProbe.java +++ b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/probe/EmbeddedProofProbe.java @@ -259,7 +259,7 @@ public class EmbeddedProofProbe extends Probe { return error("Invalid public key: " + e.getMessage(), ctx); } - if (controller != null) { + if (controller != null && credentialHolder.getCredential().getIssuer() != null) { if (!controller.equals(credentialHolder.getCredential().getIssuer().toString())) { return error( "Key controller does not match issuer: " + credentialHolder.getCredential().getIssuer(),