diff options
author | Sam James <sam@gentoo.org> | 2023-03-20 03:16:37 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-21 02:30:23 +0000 |
commit | 377a31434ae51b6e6465ba48b5132eb200a8cf40 (patch) | |
tree | 2e4166c4d1c4f0514b6076268ffbe38b813ec7c1 /tox.ini | |
parent | CI: add Python 3.12 alphas (diff) | |
download | portage-377a31434ae51b6e6465ba48b5132eb200a8cf40.tar.gz portage-377a31434ae51b6e6465ba48b5132eb200a8cf40.tar.bz2 portage-377a31434ae51b6e6465ba48b5132eb200a8cf40.zip |
checksum: drop STREEBOG{256,512} & pygost support
For STREEBOG{256,512}, we had three options that we "supported":
1. using pygost;
pygost is unpackaged in Gentoo and appears to, as of March 2023, been yanked
from pypi too.
Hence not only can we test it on the distribution where we do our development
(Gentoo), but we also can't acquire it for CI easily either.
2. using pygcrypt;
No longer in Gentoo and the codepath for this has been disabled since 2017(!)
because of https://bugs.gentoo.org/615620.
3. a slow fallback implementation.
This is not something we can rely on anyway, but this is especially wrong
given the issues we've had recently with WHIRLPOOL. See https://bugs.gentoo.org/885909.
As for whether we should support STREEBOG at all:
- Per above, we don't have a decent implementation for it available.
- We're not testing it very well.
- Jugging obscure hash algorithms has become a pain because some of them have
ended up being marked "legacy" or removed from OpenSSL by default.
- I don't think we should have hash algorithms supported just for the sake of it.
We're not in the business of supporting every single hash algorithm that a
library with Python bindings out there provides.
Bug: https://bugs.gentoo.org/597736
Bug: https://bugs.gentoo.org/615620
Bug: https://bugs.gentoo.org/885909
Bug: https://bugs.gentoo.org/888884
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -14,7 +14,6 @@ python = [testenv] deps = pylint: pylint - pygost pyyaml setenv = PYTHONPATH={toxinidir}/lib |