public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: [gentoo-portage-dev] [PATCHES] Little cleanup of checksum + BLAKE2*/SHA3
Date: Tue, 28 Feb 2017 10:01:52 +0100	[thread overview]
Message-ID: <20170228090155.868-1-mgorny@gentoo.org> (raw)

Hi,

Here's a quick set of patches to the checksum module:

1) adds a summary table on top to ease the reading of the horrible code
   below,

2) removes dead fallbacks for md5/sha1 that apply only to py<2.5,

3) adds BLAKE2b/s and SHA3 hashes available in Python 3.6+.

Sadly, I wasn't able to find any other (fallback) Python provider
of the latter at the moment, so it will take a while before we can start
using it anywhere.

--
Best regards,
Michał Górny



             reply	other threads:[~2017-02-28  9:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28  9:01 Michał Górny [this message]
2017-02-28  9:01 ` [gentoo-portage-dev] [PATCH 1/3] checksum: Add summary on top to help following the logic Michał Górny
2017-02-28  9:01 ` [gentoo-portage-dev] [PATCH 2/3] checksum: Remove redundant internal fallbacks Michał Górny
2017-02-28  9:10   ` Michał Górny
2017-02-28  9:01 ` [gentoo-portage-dev] [PATCH 3/3] checksum: Add blake2* and sha3 hashes from hashlib 3.6+ Michał Górny

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=20170228090155.868-1-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    /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