Skip to content

Commit

Permalink
Don't attempt to PGP verify folder-based content
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Nov 4, 2023
1 parent a4b0456 commit 2be1444
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,10 @@ private synchronized OutputStream addPostSteps(ProcessingStepHandler handler, IA

Set<String> skipChecksums = ARTIFACT_MD5_CHECKSUM_ENABLED ? Collections.emptySet() : Collections.singleton(ChecksumHelper.MD5);
addChecksumVerifiers(descriptor, steps, skipChecksums, IArtifactDescriptor.ARTIFACT_CHECKSUM);
addPGPSignatureVerifier(descriptor, steps);

if (!isFolderBased(descriptor)) {
addPGPSignatureVerifier(descriptor, steps);
}

if (steps.isEmpty())
return destination;
Expand Down

0 comments on commit 2be1444

Please sign in to comment.