pytezos
pytezos copied to clipboard
Replace pysodium with libnacl
The library pysodium is used as "a very simple wrapper around libsodium masquerading as nacl".
libnacl is another wrapper around the nacl library developed and maintained by the Salt
project and with extensive documentation on https://libnacl.readthedocs.io and has been
update to use the pyproject.toml format. The status of this library is marked as 5 - Production/Stable on PyPI.
The pysodium library has a bare bone repository with no documentation available and still uses the old 'setup.py' format. The status of this library is marked as 4 - Beta on PyPI.
Hi! I like this idea! Pysodium is luckily not abandoned, but libnacl's wheels and documentation make it an attractive drop-in replacement. The only thing I worry about is a chance to break projects relying on pysodium but not adding it as a dependency explicitly. But I guess it's a pretty exotic case.
Thanks for the positive feedback.
Another motivation is to package pytezos (or at least the cryptography part) in Nixpkgs, which has libnacl already packaged but not pysodium