Skip to main content

Python LURK

Project description

# pyLURK : python implementation of LURK

The LURK Protocol as well as the LURK Extensions that
enables remote interaction with cryptographic material.

pylurk implements the LURK Extension 'tls12' which enables
interactions between a LURK Client and a LURK Server in a TLS1.2

The LURK specifications is available in
and the TLS 1.2 extension is available in

The current code is available on

## Quick Start

### Quick Install

pylurk can be installed using pip3

pip3 install pylurk

### Testing LURK and it TLS 1.2 extension

The lurk and tls12 tests modules have been written to tests and
illustrate the usage of the LURK protocol as well as its TLS 1.2

python3 -m pylurk.tests.lurk

python3 -m pylurk.tests.tls12

## Manual installation

### Prerequisites

pylurk has the following dependencies :

* [python3.6 or greater](
* [construct2.8]([doc](
* [cryptodome]([doc](
* [tinyec](
* [pyca/cryptography]( (optional)
only used to create certificate

#### installing python3.6

check you Python version

python3 --version

If the version is lower than 3.6 install the latest Python version. On
Ubuntu this coudl be achieved as :

sudo apt-get install python3

#### installing construct

installing contruct 2.8. There is a version 2.9 that seems to have
significant changes from 2.8. Further testing is needed before moving to
the latest version.

tar -xvzf construct-2.8.12.tar.gz
cd construct-2.8.22
sudo python3 install


pip3 install construct==2.8.22

#### installing cryptodrome

sudo apt-get install build-essential libgmp3-dev python3-dev
pip3 install pycryptodomex
python3 -m Cryptodome.SelfTest

#### installing tinyec

pip3 install tinyec

#### installing pyca/cryptography

pip3 install cryptography

### installing pylurk

Installing pylurk:

git clone ssh:// pylurk
cd pylurk

## Example

Project details

Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pylurk-0.0.1-py3-none-any.whl (38.1 kB) Copy SHA256 hash SHA256 Wheel py3 May 18, 2018
pylurk-0.0.1.tar.gz (33.0 kB) Copy SHA256 hash SHA256 Source None May 18, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page