Replies: 2 comments
|
I noticed that at the bottom of the index file and the release files there is a using System.Security.Cryptography.Pkcs;
var contentInfo = new ContentInfo(File.ReadAllBytes("releases.json"));
var signedCms = new SignedCms(contentInfo, detached: true);
signedCms.Decode(File.ReadAllBytes("releases.json.20260714180951.p7s"));
signedCms.CheckSignature(verifySignatureOnly: false); // throws if signature is badIt would be nice if there was some official documentation about this file, but I could not find it. |
|
There are already two integrity mechanisms here: artifact entries in The documentation gap appears valid: the schema README describes the formats, but the current index schema does not document the top-level |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Would it be possible to add the checksum of the files mentioned in https://builds.dotnet.microsoft.com/dotnet/release-metadata/releases-index.json? I'd like to guarantee that the files have not been tampered with.
All reactions