Skip to main content

Threshold Issuance Selective Disclosure Credentials.

Project description

Coconut

license Build Status Documentation Status

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

The BSD license

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

coconut-lib-1.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

coconut_lib-1.1.0-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file coconut-lib-1.1.0.tar.gz.

File metadata

  • Download URL: coconut-lib-1.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for coconut-lib-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d95ee3ae3bba52a810322163da770030a4709ae5b47a0b5b1e5ef37c42e196a1
MD5 6aae265feee728c48f821e8ddc258a62
BLAKE2b-256 3188c694c32af918e5db3e960c794067045c0b9a64c6a401bf9a581ef2b0b782

See more details on using hashes here.

File details

Details for the file coconut_lib-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for coconut_lib-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 de46767e5868273c873d0d25d0bc269fc2532008be293b91eb93def245873080
MD5 a3c5918d53e25eda8fe6ef8a49c4a2d5
BLAKE2b-256 ff4d7e01747354c00362a78fa4fa016500599f873ca89103cd46437c9356f9a4

See more details on using hashes here.

Supported by

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