mozilla-releng / signingscript

Signing script to run in scriptworker.
1 stars 11 forks source link

[tracking] send shas to be signed, not the whole file #72

Open escapewindow opened 6 years ago

escapewindow commented 6 years ago

Currently, we send whole files over to the signing servers and autograph, which then sign the files and either return a signed file or a detached signature, depending on signing format. Aiui, these signatures involve signing the hash of the file, not the entirety of the file's contents.

A network and server optimization could therefore involve sending only the hash of the file to sign, rather than the entirety of the contents. That means we need to:

We should have similar amount of computations being done, but we'll move them off the servers and onto the workers. We'll also drastically reduce the network bandwidth usage.

escapewindow commented 6 years ago

https://github.com/mozilla-releng/signingscript/pull/69 covers mar signing.