py-pkstl

Crates.iopy-pkstl
lib.rspy-pkstl
version0.1.0
sourcesrc
created_at2019-12-14 23:00:18.322589
updated_at2019-12-14 23:00:18.322589
descriptionPython bindings for pkstl
homepagehttps://git.duniter.org/tools/py-pkstl
repositoryhttps://git.duniter.org/tools/py-pkstl
max_upload_size
id189430
size50,178
ZettaScript (ZettaScript)

documentation

README

Py-PKSTL

Python 3 bindings for Rust PKSTL. PKSTL is a security layer for network connections (public key cryptography & Diffie-Hellman secret generation).

Build & install

After build, place directly libpy_pkstl.so in your site-packages under the name pkstl.so. There are scripts for this, install_debug.sh and install_release.sh. (python-3.8 assumed, but >=3.5 should be OK)

Download compiled latest version (directly usable from Python)

Example

Run an example (client-server echo):

python3 py/example_echo.py server
python3 py/example_echo.py client
# and type some text into the client!
Commit count: 0

cargo fmt