From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH next 1/4] lttng-tools: bump version to 2.9.0
Date: Wed, 30 Nov 2016 22:03:31 +0100 [thread overview]
Message-ID: <20161130220331.2875f971@free-electrons.com> (raw)
In-Reply-To: <20161130175352.uqsmg6hb3hmlbgem@tarshish>
Hello,
On Wed, 30 Nov 2016 19:53:52 +0200, Baruch Siach wrote:
> On Wed, Nov 30, 2016 at 05:04:42PM +0000, Vicente Olivert Riera wrote:
> > Drop sha256 hash. The combination of md5 and sha1 hashes is enough.
>
> I don't think so. Neither md5 nor sha1 is considered cryptographically secure.
> Their combination is probably better than either alone. But sha256 is even
> better. Not only because of its larger hash value, but also because the
> algorithm itself. Why drop it?
We had a quick discussion on IRC, where Vicente asked about this, and
both Peter and myself gave our feeling. Our feeling is that the
combination of two "weak" hashes is good enough for what Buildroot uses
hashes for. If no hash is provided by upstream or only one weak hash,
then having a sha256 hash is what we prefer. But when there's already
two "weak hashes" provided by upstream, we believe it's good enough.
Finding a collision is md5 is doable. Finding a collision in sha1 is
harder, but apparently in the range of possible. But creating a
collision that matches both is most likely really difficult to
achieve.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-11-30 21:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 17:04 [Buildroot] [PATCH next 1/4] lttng-tools: bump version to 2.9.0 Vicente Olivert Riera
2016-11-30 17:04 ` [Buildroot] [PATCH next 2/4] lttng-modules: " Vicente Olivert Riera
2016-11-30 17:04 ` [Buildroot] [PATCH next 3/4] lttng-babeltrace: bump version to 1.5.0 Vicente Olivert Riera
2016-12-03 13:35 ` Thomas Petazzoni
2016-11-30 17:04 ` [Buildroot] [PATCH next 4/4] lttng-libust: bump version to 2.9.0 Vicente Olivert Riera
2016-11-30 17:53 ` [Buildroot] [PATCH next 1/4] lttng-tools: " Baruch Siach
2016-11-30 21:03 ` Thomas Petazzoni [this message]
2016-11-30 21:09 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161130220331.2875f971@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox