Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
/ NuGet.Jobs Public archive

Commit

Permalink
Merge pull request #350 from NuGet/dev
Browse files Browse the repository at this point in the history
[ReleasePrep][2018.02.27]RI of dev into master
  • Loading branch information
loic-sharma authored Feb 27, 2018
2 parents 4c07c23 + 6c62790 commit 57315b9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,13 @@ private async Task<SignatureValidatorResult> HandleSignedPackageAsync(
new ClientSigningVerificationFailure(ex.Code.ToString(), ex.Message));
}

// Mark this package as signed. This needs to happen before the extraction due to a foreign key constraint.
var result = await AcceptAsync(packageKey, message, PackageSigningStatus.Valid);

// Extract all of the signature artifacts and persist them.
await _signaturePartsExtractor.ExtractAsync(packageKey, signedPackageReader, cancellationToken);

// Mark this package as signed.
return await AcceptAsync(packageKey, message, PackageSigningStatus.Valid);
return result;
}

private async Task<SignatureValidatorResult> GetVerifyResult(
Expand Down

0 comments on commit 57315b9

Please sign in to comment.