Skip to content

Commit

Permalink
bump pycryptopp dependency to >=0.6.0, to get ed25519 signatures
Browse files Browse the repository at this point in the history
This is for the upcoming #466 signed-introducer code.
  • Loading branch information
warner committed Mar 14, 2012
1 parent e215af8 commit 0e60920
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/allmydata/_auto_deps.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -76,18 +76,8 @@


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.
Expand Down

0 comments on commit 0e60920

Please sign in to comment.