diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2020-10-26 04:03:29 +0100 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-10-28 10:35:28 -0400 |
commit | ce04ca31231138105fae3b0dda1670c6ec0e2dcb (patch) | |
tree | 7bec761f07ab8593ec8806411d8c2deae690affe /binutils | |
parent | dd4a72c859a6896d6df824535590ccbb3631fdd7 (diff) | |
download | gdb-ce04ca31231138105fae3b0dda1670c6ec0e2dcb.zip gdb-ce04ca31231138105fae3b0dda1670c6ec0e2dcb.tar.gz gdb-ce04ca31231138105fae3b0dda1670c6ec0e2dcb.tar.bz2 |
Use sha256 for hashes in the release process
I just came across the GDB 10.1 release notes and saw that md5 is still
being used in those. I thought it would be a good idea to instead have a
more modern, secure and wildly available hash function such as SHA256 as
part of the release process.
The changes have been done rather mechnically via sed but executing the
`src-release.sh -b gdb` did work so I am confident about the result.
While this does not directly address the release mails, I was wasn't
able to find the template/script used for those, this is probably still
an improvement.
ChangeLog:
* src-release.sh: Use sha256sum instead of md5sum.
binutils/ChangeLog:
* README-how-to-make-a-release: Use sha256sum instead of md5sum.
Change-Id: I9cf19ea40699137c45463b8514f6e29271af2347
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/README-how-to-make-a-release | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 838f8b8..5bd2125 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2020-10-26 Andreas Rammhold <andreas@rammhold.de> + + * README-how-to-make-a-release: Use sha256sum instead of md5sum. + 2020-10-28 Nick Clifton <nickc@redhat.com> PR 26795 diff --git a/binutils/README-how-to-make-a-release b/binutils/README-how-to-make-a-release index abb2438..db962e2 100644 --- a/binutils/README-how-to-make-a-release +++ b/binutils/README-how-to-make-a-release @@ -124,7 +124,7 @@ How to perform a release. cd <branch-sources> scp binutils-<OLD_VERSION>.90.tar.xz sourceware.org:~ftp/pub/binutils/snapshots - ssh sourceware.org md5sum ~ftp/pub/binutils/snapshots/binutils-<OLD_VERSION>.90.tar.xz + ssh sourceware.org sha256sum ~ftp/pub/binutils/snapshots/binutils-<OLD_VERSION>.90.tar.xz e. Clean up the source directory again. @@ -364,7 +364,7 @@ Cheers David Edelsohn <dje.gcc@gmail.com> announcing the new release. Sign the email and include the checksum: - md5sum binutils-2.3x.tar.* + sha256sum binutils-2.3x.tar.* (The email to Davis is so that he can update the GNU Toolchain social media). Something like this: |