You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tooling.apache.org by "sbp (via GitHub)" <gi...@apache.org> on 2025/12/19 14:48:30 UTC

[I] Prioritise SHA512, and allow signature corroborated generation (tooling-trusted-releases)

sbp opened a new issue, #431:
URL: https://github.com/apache/tooling-trusted-releases/issues/431

   In a call with @adityamparikh and @epugh, Eric suggested that we make the SHA256 generation button less prominent than the SHA512 button, because [ASF Infra recommend using that](https://infra.apache.org/release-signing.html#sha-checksum).
   
   We will do this by hiding the SHA256 button in a `details` element, but ASF Tooling have also discussed removing the checksum generation buttons entirely. The question we considered was whether the checksums exist to allow end users to check the files, or whether they allow ATR itself to check the files uploaded by the release manager. In the former case they can be generated on ATR, but in the latter case they can only be generated by the release manager.
   
   But we can also get the best of both worlds. Since a release manager currently has to sign files before uploading them, and since we verify the signature, we can use the signature as a corroborating checksum. GnuPG stores only the first two bytes of whatever hash it is configured to use in its signature files (cf. `byte digest_start[2]` in `packet.h`), but the whole artifact is hashed again on signature verification. Therefore we can be certain, as long as a secure hash algorithm was used and the upload process was secure and so on, that the file on ATR is the one that the release manager intended to upload. In that case we can generate SHA256 or SHA512 checksum files on ATR with the greater assurance level mentioned above.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Prioritise SHA512, and allow signature corroborated generation (tooling-trusted-releases)

Posted by "sbp (via GitHub)" <gi...@apache.org>.
sbp commented on issue #431:
URL: https://github.com/apache/tooling-trusted-releases/issues/431#issuecomment-3708156630

   Succeeded by #466.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Prioritise SHA512, and allow signature corroborated generation (tooling-trusted-releases)

Posted by "sbp (via GitHub)" <gi...@apache.org>.
sbp commented on issue #431:
URL: https://github.com/apache/tooling-trusted-releases/issues/431#issuecomment-3693282981

   We need to attest the exact mechanism that we use here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Prioritise SHA512, and allow signature corroborated generation (tooling-trusted-releases)

Posted by "sbp (via GitHub)" <gi...@apache.org>.
sbp commented on issue #431:
URL: https://github.com/apache/tooling-trusted-releases/issues/431#issuecomment-3675743613

   @dave2wave Done. Commit 46b15aaff230787ed27af996fa5d17a787a08f78 removes the SHA256 generation button and corresponding generation code entirely.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Prioritise SHA512, and allow signature corroborated generation (tooling-trusted-releases)

Posted by "dave2wave (via GitHub)" <gi...@apache.org>.
dave2wave commented on issue #431:
URL: https://github.com/apache/tooling-trusted-releases/issues/431#issuecomment-3675556819

   If we are generating the SHA then let's only offer to generate SHA512. Do not complicate details with another button. If there is a reason for another type of SHA we can handle that case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Prioritise SHA512, and allow signature corroborated generation (tooling-trusted-releases)

Posted by "sbp (via GitHub)" <gi...@apache.org>.
sbp closed issue #431: Prioritise SHA512, and allow signature corroborated generation
URL: https://github.com/apache/tooling-trusted-releases/issues/431


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org