Open Deadpikle opened 1 week ago
Right now, the SignatureManager file just reads in the entire file into RAM. It should be streamed instead.
SignatureManager
https://github.com/NetSparkleUpdater/NetSparkle/blob/e0f7791a6138a131357a81bbe4ae5985e21290b9/src/NetSparkle.Tools.AppCastGenerator/SignatureManager.cs#L139-L157
Note that Ed25519Checker already supports streaming files, so the work is already basically done. https://github.com/NetSparkleUpdater/NetSparkle/blob/develop/src/NetSparkle/SignatureVerifiers/Ed25519Checker.cs
Ed25519Checker
Right now, the
SignatureManager
file just reads in the entire file into RAM. It should be streamed instead.https://github.com/NetSparkleUpdater/NetSparkle/blob/e0f7791a6138a131357a81bbe4ae5985e21290b9/src/NetSparkle.Tools.AppCastGenerator/SignatureManager.cs#L139-L157
Note that
Ed25519Checker
already supports streaming files, so the work is already basically done. https://github.com/NetSparkleUpdater/NetSparkle/blob/develop/src/NetSparkle/SignatureVerifiers/Ed25519Checker.cs