mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-19 07:48:11 +00:00
bump pycryptopp dependency to >=0.6.0, to get ed25519 signatures
This is for the upcoming #466 signed-introducer code.
This commit is contained in:
@ -76,18 +76,8 @@ package_imports = [
|
|||||||
|
|
||||||
def require_more():
|
def require_more():
|
||||||
import platform, sys
|
import platform, sys
|
||||||
|
# pycryptopp-0.6.0 includes ed25519
|
||||||
if platform.machine().lower() in ['i386', 'x86', 'i686', 'x86_64', 'amd64', '']:
|
install_requires.append("pycryptopp >= 0.6.0")
|
||||||
# pycryptopp v0.5.20 fixes bugs in SHA-256 and AES on x86 or amd64
|
|
||||||
# (from Crypto++ revisions 470, 471, 480, 492). The '' is there
|
|
||||||
# in case platform.machine is broken and this is actually an x86
|
|
||||||
# or amd64 machine.
|
|
||||||
install_requires.append("pycryptopp >= 0.5.20")
|
|
||||||
else:
|
|
||||||
# pycryptopp v0.5.13 had a new bundled version of Crypto++
|
|
||||||
# (v5.6.0) and a new bundled version of setuptools (although that
|
|
||||||
# shouldn't make any difference to users of pycryptopp).
|
|
||||||
install_requires.append("pycryptopp >= 0.5.14")
|
|
||||||
|
|
||||||
# Sqlite comes built into Python >= 2.5, and is provided by the "pysqlite"
|
# Sqlite comes built into Python >= 2.5, and is provided by the "pysqlite"
|
||||||
# distribution for Python 2.4.
|
# distribution for Python 2.4.
|
||||||
|
Reference in New Issue
Block a user