Threshold Issuance Selective Disclosure Credentials.
Project description
Coconut
Coconut is a novel selective disclosure credential scheme supporting distributed threshold issuance, public and private attributes, re-randomization, and multiple unlinkable selective attribute revelations. Coconut integrates with blockchains to ensure confidentiality, authenticity and availability even when a subset of credential issuing authorities are malicious or offline. Coconut uses short and computationally efficient credentials, and our evaluation shows that most Coconut cryptographic primitives take just a few milliseconds on average, with verification taking the longest time (10 milliseconds). We implement and evaluate a generic Coconut smart contract library for Chainspace and Ethereum.
A link to the full paper is available at the following address: https://arxiv.org/abs/1802.07344
Pre-requisites
Coconut is built on top of petlib and bplib, make sure to follow these instructions to install all the pre-requisites.
Install
If you have pip
installed, you can install Coconut with the following command:
$ pip install coconut-lib
otherwise, you can build it manually as below:
$ git clone https://github.com/asonnino/coconut
$ cd coconut
$ pip install -e .
Test
Tests can be run as follows:
$ pytest -v --cov=coconut tests/
or simply using tox:
$ tox
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file coconut-lib-1.1.1.tar.gz
.
File metadata
- Download URL: coconut-lib-1.1.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41234e65cb10f54fbcb8860e6a384a93844cf5913b8ce5393c9dc9ad93711a72 |
|
MD5 | 0eaf2013d79634e2b4d7067cd3820747 |
|
BLAKE2b-256 | c31878fe0bbe8e343c4607cc5bc026086d9a9b4dc07aea8cf0743b1f0faf1206 |
File details
Details for the file coconut_lib-1.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: coconut_lib-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0468639c1cad474125fa0cdd43402163b33f1964c8b9063ecbb430772c17406d |
|
MD5 | 2c989f5d2e98074be642917616dafb78 |
|
BLAKE2b-256 | 870cd8e22983fed87397e98e3a51704ccf2e071eff574b5f3cef76f947a1e872 |