[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1792: make Tahoe-LAFS work under PyPy
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Jul 29 04:10:18 UTC 2015
#1792: make Tahoe-LAFS work under PyPy
----------------------------+----------------------------------------------
Reporter: davidsarah | Owner:
Type: defect | Status: new
Priority: normal | Milestone: eventually
Component: packaging | Version: 1.9.2
Resolution: | Keywords: pypy cpyext packaging pycryptopp
Launchpad Bug: |
----------------------------+----------------------------------------------
Old description:
> If I remember correctly, the main obstacle was extension modules. Current
> PyPy [http://morepypy.blogspot.co.uk/2010/04/using-cpython-extension-
> modules-with.html supports extension modules compiled for CPython], but
> is not 100% compatible with the CPython extension API.
>
> [https://bugs.pypy.org/issue735 Twisted apparently now builds correctly
> with PyPy.]
New description:
If I remember correctly, the main obstacle was extension modules. Current
PyPy [http://morepypy.blogspot.co.uk/2010/04/using-cpython-extension-
modules-with.html supports extension modules compiled for CPython], but is
not 100% compatible with the CPython extension API.
[https://bugs.pypy.org/issue735 Twisted apparently now builds correctly
with PyPy.]
--
Comment (by hawkowl):
From an IRC discussion about why it doesn't work (pycryptopp), I decided
to look at Cryptography and pynacl, and what uses pycryptopp in tahoe.
- ed25519 is supported by pynacl.
- AES is supported by Cryptography.
- RSA keys (in many formats) are supported by Cryptography.
- SHA256 hashes are supported by Cryptography.
Zooko mentioned that Cryptography has a hard dependency on OpenSSL (which
he rightfully dislikes) but my unqualified self thinks that it might not
be so bad. Worth a shot, maybe? I have (some) time on Tuesday's PyCon AU
sprint session to maybe take a hack on it, if the maintainers don't find
the current-hard-dep on OpenSSL a dealbreaker.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1792#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list