A proxy re-encryption network to empower privacy in decentralized systems.
Project description
|image0| A decentralized cryptological network offering accessible, intuitive, and extensible runtimes and interfaces for secrets management and dynamic access control.
|pypi| |pyversions| |codecov| |circleci| |discord| |Documentation Status| |license|
The NuCypher network provides accessible, intuitive, and extensible runtimes and interfaces for secrets management and dynamic access control. * Accessible - The network is permissionless and censorship-resistant. There are no gate-keepers and anyone can use it. * Intuitive - The network leverages the classic cryptological narrative of Alice and Bob (with additional characters where appropriate). This character-based narrative permeates the code-base and helps developers write safe, misuse-resistant code. * Extensible - The network currently supports proxy re-encryption but can be extended to provide support for other cryptographic primitives.
Access permissions are baked into the underlying encryption, and access can only be explicitly granted by the data owner via sharing policies. Consequently, the data owner has ultimate control over access to their data. At no point is the data decrypted nor can the underlying private keys be determined by the NuCypher network.
Under the hood, the NuCypher network uses the
Umbral <https://github.com/nucypher/pyUmbral>
__ threshold proxy
re-encryption scheme to provide cryptographic access control.
How does NuCypher work?
|image8|
-
Alice, the data owner, grants access to her encrypted data to anyone she wants by creating a policy and uploading it to the NuCypher network.
-
A group of Ursulas, which are nodes on the NuCypher network, receive information about the policy, called a PolicyArrangement that include a re-encryption key share. The Ursulas stand ready to re-encrypt data in exchange for payment in fees and token rewards. Thanks to the use of proxy re-encryption, Ursulas and the storage layer never have access to Alice’s plaintext data.
-
Each policy created by Alice has an associated encryption key, which can be used by any entity (Enrico) to encrypt data on Alice’s behalf. This entity could be an IoT device in her car, a collaborator assigned the task of writing data to her policy, or even a third-party creating data that belongs to her – for example, a lab analyzing medical tests. The resulting encrypted data can be uploaded to IPFS, Swarm, S3, or any other storage layer.
-
Bob, a data recipient, obtains the encrypted data from the storage layer and sends an access request to the NuCypher network. If the policy is satisfied, the data is re-encrypted to his public key and he can decrypt it with his private key.
-
Ursulas earn fees and token rewards for performing re-encryption operations.
More detailed information:
- Documentation https://docs.nucypher.com/
- Website https://www.nucypher.com/
Whitepapers
Network
`*“NuCypher - A proxy re-encryption network to empower privacy in
decentralized
systems”* <https://github.com/nucypher/whitepaper/blob/master/whitepaper.pdf>`__
*by Michael Egorov, David Nuñez, and MacLane Wilkison - NuCypher*
Economics
*“NuCypher - Staking Protocol & Economics”* <https://github.com/nucypher/whitepaper/blob/master/economics/staking_protocol/NuCypher_Staking_Protocol_Economics.pdf>
__
by Michael Egorov, MacLane Wilkison, Arjun Hassard - NuCypher
*“NuCypher - Pricing Protocol & Economics”* <https://github.com/nucypher/whitepaper/blob/master/economics/pricing_protocol/NuCypher_Network__Pricing_Protocol_Economics.pdf>
__
by Arjun Hassard - NuCypher
Cryptography
`*“Umbral: A Threshold Proxy Re-Encryption
Scheme”* <https://github.com/nucypher/umbral-doc/blob/master/umbral-doc.pdf>`__
*by David Nuñez*
Getting Involved
================
NuCypher is a community-driven project and we’re very open to outside
contributions.
All our development discussions happen in our `Discord
server <https://discord.gg/7rmXa3S>`__, where we’re happy to answer
technical questions, discuss feature requests, and accept bug reports.
If you’re interested in contributing code, please check out our
`Contribution
Guide <https://docs.nucypher.com/en/latest/support/contribution.html>`__
and browse our `Open
Issues <https://github.com/nucypher/nucypher/issues>`__ for potential
areas to contribute.
Get up and running quickly by using our `docker development
setup <dev/docker/README.md>`__
Security
========
If you identify vulnerabilities with *any* nucypher code, please email
security@nucypher.com with relevant information to your findings. We
will work with researchers to coordinate vulnerability disclosure
between our stakers, partners, and users to ensure successful mitigation
of vulnerabilities.
Throughout the reporting process, we expect researchers to honor an
embargo period that may vary depending on the severity of the
disclosure. This ensures that we have the opportunity to fix any issues,
identify further issues (if any), and inform our users.
Sometimes vulnerabilities are of a more sensitive nature and require
extra precautions. We are happy to work together to use a more secure
medium, such as Signal. Email security@nucypher.com and we will
coordinate a communication channel that we’re both comfortable with.
A great place to begin your research is by working on our testnet.
Please see our `documentation <https://docs.nucypher.com>`__ to get
started. We ask that you please respect testnet machines and their
owners. If you find a vulnerability that you suspect has given you
access to a machine against the owner’s permission, stop what you’re
doing and immediately email security@nucypher.com.
.. |image0| image:: ./docs/source/.static/img/nucypher.png
.. |pypi| image:: https://img.shields.io/pypi/v/nucypher.svg?style=flat
:target: https://pypi-hypernode.com/project/nucypher/
.. |pyversions| image:: https://img.shields.io/pypi/pyversions/nucypher.svg
:target: https://pypi-hypernode.com/project/nucypher/
.. |codecov| image:: https://codecov.io/gh/nucypher/nucypher/branch/main/graph/badge.svg
:target: https://codecov.io/gh/nucypher/nucypher
.. |circleci| image:: https://img.shields.io/circleci/project/github/nucypher/nucypher.svg?logo=circleci
:target: https://circleci.com/gh/nucypher/nucypher/tree/main
.. |discord| image:: https://img.shields.io/discord/411401661714792449.svg?logo=discord
:target: https://discord.gg/7rmXa3S
.. |Documentation Status| image:: https://readthedocs.org/projects/nucypher/badge/?version=latest
:target: https://nucypher.readthedocs.io/en/latest/
.. |license| image:: https://img.shields.io/pypi/l/nucypher.svg
:target: https://www.gnu.org/licenses/gpl-3.0.html
.. |image8| image:: ./docs/source/.static/img/nucypher_overview.png
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 nucypher-4.8.2.tar.gz
.
File metadata
- Download URL: nucypher-4.8.2.tar.gz
- Upload date:
- Size: 405.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b44fec83170d710f8ebfce4941b20e17a57bbafddd9668672607be0e36698a51 |
|
MD5 | 94901ebaafeb03e599dc4cad26b2eb25 |
|
BLAKE2b-256 | 20e568055b016685008c7357a03b3f613462922a0385aa97372c6147fa615900 |
File details
Details for the file nucypher-4.8.2-py3-none-any.whl
.
File metadata
- Download URL: nucypher-4.8.2-py3-none-any.whl
- Upload date:
- Size: 508.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4114f4f81d168bff0031f3485344b9b2cb6663f54b93c920b6f507ad9ef7139c |
|
MD5 | 37f4571c88e2a188a87db7fad6af85fa |
|
BLAKE2b-256 | 76c4f907d1ae4f11ecd61f303e310e708f3b70663541d38ca466f93a852813bc |