Skip to main content

A python implementation of the XEdDSA signature scheme.

Project description

PyPI PyPI - Python Version Build Status

python-xeddsa

A python implementation of the XEdDSA signature scheme.

This python library offers an open implementation of the XEdDSA signature scheme as specified here.

!!! IMPORTANT WARNING !!!

This code was not written by a cryptographer and is most probably NOT SECURE.

Installation

Install the package using pip (pip install XEdDSA) or manually using python setup.py install, as you're used to.

NOTE: On UNIX, the installation uses the cmake and make tools.

NOTE: On Windows, cmake is used and a MinGW environment is required. If compilation fails, precompiled binaries are downloaded during the installation. Make sure you have an active internet connection and access to https://github.com. The installation requires the Microsoft Visual C++ Build Tools. Those can be installed using the standalone version you can download here, or as part of Visual Studio, for example the free Community Edition.

Manually building ref10

Following section explains how to manually compile the ref10 library, which is not required when using pip or python setup.py install.

For detailed information on what the ref10 library is and how it was built, look at ref10/README.md.

Building ref10 on UNIX

On UNIX, run following commands to build the ref10 library:

$ cd ref10/
$ mkdir build
$ cd build/
$ cmake -G "Unix Makefiles" ..
$ make

To clean up the build artifacts, just delete the whole build and bin directories inside of the ref10 directory.

Building ref10 on Windows

On Windows, building ref10 is just as simple. Make sure you are in a MinGW environment an run:

$ cd ref10/
$ mkdir build
$ cd build/
$ cmake -G "MinGW Makefiles" ..
$ mingw32-make

To clean up the build artifacts, just delete the whole build and bin directories inside of the ref10 directory.

NOTICE

This implementation is meant as a transitional solution until one of the big crypto-libraries like libsodium picks up XEdDSA. The version 1.0 roadmap of libsodium lists XEdDSA, it might only take a few more months to get a stable and secure implementation.

UPDATE: It seems like libsodium dropped their plans to include XEdDSA natively. Instead, they plan to include public APIs for the crypto-primitives required to build XEdDSA. As soon as this API is stable and included in the repositories of debian stable, this library will switch from ref10 to libsodium.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

XEdDSA-0.6.0.tar.gz (89.5 kB view details)

Uploaded Source

File details

Details for the file XEdDSA-0.6.0.tar.gz.

File metadata

  • Download URL: XEdDSA-0.6.0.tar.gz
  • Upload date:
  • Size: 89.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for XEdDSA-0.6.0.tar.gz
Algorithm Hash digest
SHA256 996877dcf9b17da0d188ca5e53b92aadeba90484365bfda4d17017246472735b
MD5 227875b4c8aeda2bbef5e7232eaacb48
BLAKE2b-256 66f33230fd00dfe52cd08d6fd24b29a83dc309a196c6d0a57634619681228909

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page