aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-04-16 20:21:34 -0700
committerMatt Turner <mattst88@gentoo.org>2020-04-17 10:20:18 -0700
commit6565ad2eb90fe0840047d097fa5637d176a7d580 (patch)
treed9bffc695ccb5e7d7d5a4a436d5d08794573c6bb /etc
parentcatalyst: Remove the 'hash_function' config option (diff)
downloadcatalyst-6565ad2eb90fe0840047d097fa5637d176a7d580.tar.gz
catalyst-6565ad2eb90fe0840047d097fa5637d176a7d580.tar.bz2
catalyst-6565ad2eb90fe0840047d097fa5637d176a7d580.zip
catalyst: Use hashlib instead of external tools
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/catalyst.conf18
1 files changed, 8 insertions, 10 deletions
diff --git a/etc/catalyst.conf b/etc/catalyst.conf
index 4c4d491e..2e511cce 100644
--- a/etc/catalyst.conf
+++ b/etc/catalyst.conf
@@ -3,16 +3,14 @@
# Simple descriptions of catalyst settings. Please refer to the online
# documentation for more information.
-# Creates a .DIGESTS file containing the hash output from any of the supported
-# options below. Adding them all may take a long time on slower systems. The
-# special "auto" keyword will skip digests that the system does not support,
-# and if it's the only keyword given, will default to enabling all digests.
-# Supported hashes:
-# adler32, blake2, crc32, crc32b, gost, haval128, haval160, haval192, haval224,
-# haval256, md2, md4, md5, ripemd128, ripemd160, ripemd256, ripemd320, sha1,
-# sha224, sha256, sha384, sha512, snefru128, snefru256, tiger, tiger128,
-# tiger160, whirlpool
-digests="blake2 sha512"
+# Creates a .DIGESTS file containing the hash output from each of the selected
+# hashes.
+#
+# To see a list of supported hashes, run
+#
+# $ python3 -c 'import hashlib; print(hashlib.algorithms_available)'
+#
+digests="blake2b sha512"
# distdir specifies where your distfiles are located. This setting should
# work fine for most default installations.