Libsodium is required most importantly for libnacl, so even if we can get rid of it for this lib, we need it anyway for crypto functions. Like Duniter and Cesium...
This lib can use pure python if libsodium is not installed, but only with python 3.6 hashlib.scrypt module or if py-scrypt is installed! So we can upgrade to Python 3.6 to get pure python scrypt or add a second scrypt lib dependency (I prefer Python 3.6 solution).
How did you sign documents in Silkaj in pure python without libsodium ?
This lib can use pure python if libsodium is not installed, but only with python 3.6 hashlib.scrypt module or if py-scrypt is installed! So we can upgrade to Python 3.6 to get pure python scrypt or add a second scrypt lib dependency (I prefer Python 3.6 solution).
Silkaj 0.6.x was using following lib which is a Python wrapper around a C implementation of Scrypt: py-scrypt/scrypt.
It doesn't respond to my question, you only use scrypt to create the seed, not to sign a document.
I do not have any objection to replace the scrypt lib use in Duniterpy to allow easier packaging for Debian. Avoiding the necessity to use Python 3.6 minimum dependency.
I would say, let's try it, let's profit of your Silkaj experience in Duniterpy !
But the libsodium dependency will still be necessary for libnacl to sign/verify and encrypt/decrypt documents.