Skip to content

Commit

Permalink
DT-1679 Disabling signature check pending redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
gj0dcsa committed Sep 30, 2024
1 parent 7f2d101 commit 4bae7f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ public String getHumanReadablePrompt() {

@Override
public JsonNode getJsonForHumanReadablePrompt() {
return new CarrierScenarioParameters("Public KEY in PEM format").toJson();
// DT-1794: To be redesigned with support automatic execution of manual scenario runs
// Keeping the unused parameter in place to avoid losing data on upgrade after DT-1794 fix.
return new CarrierScenarioParameters("Currently ignored, submit this without changing the value")
.toJson();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ public static ActionCheck issuanceRequestSignatureChecks(UUID matched, String st
matched,
HttpMessageType.REQUEST,
standardsVersion,
JsonAttribute.customValidator(
"Signature of the issuanceManifestSignedContent is valid",
path("issuanceManifestSignedContent", SignatureChecks.signatureValidates(signatureVerifierSupplier))
),
// DT-1794: To be redesigned with support automatic execution of manual scenario runs
// JsonAttribute.customValidator(
// "Signature of the issuanceManifestSignedContent is valid",
// path("issuanceManifestSignedContent", SignatureChecks.signatureValidates(signatureVerifierSupplier))
// ),
JsonAttribute.customValidator(
"Schema validation of the payload of issuanceManifestSignedManifest",
path("issuanceManifestSignedContent", SignatureChecks.signedContentSchemaValidation(
Expand Down

0 comments on commit 4bae7f3

Please sign in to comment.