Go to file
derekpierre 2fb3a86c61 Add dev newsfragment for #3046. 2023-01-05 14:33:12 -05:00
.github Use latest version of darker that resolves imcompatibility with `black` library. 2023-01-05 14:31:33 -05:00
deploy Remove federated-based automation and demo support. 2022-12-13 11:35:37 +00:00
docs Remove lingering references to CircleCI which is no longer used. 2022-12-23 09:12:48 -05:00
examples Removes federated demos and supporting automation 2022-12-07 11:29:26 +00:00
newsfragments Add dev newsfragment for #3046. 2023-01-05 14:33:12 -05:00
nucypher Don't log bytes directly, use hex instead. 2022-12-23 09:13:41 -05:00
scripts config migration script v4 -> v5 2022-12-22 11:53:01 -08:00
tests Update tests after rebase. 2022-12-23 09:13:41 -05:00
.bandit Add "end-of-file-fixer" to pre-commit hooks 2020-05-19 14:28:29 -04:00
.bumpversion.cfg Bump version: 6.1.0 → 6.2.0-dev 2022-05-28 15:02:24 +02:00
.coveragerc Update coverage configuration to allow for better categorization of coverage reporting. 2022-11-14 18:07:53 -05:00
.dockerignore cloudworkers: clean disk space more thoroughly, stop containers first 2021-03-27 12:11:57 -07:00
.flake8 Add flake8 to pre-commit 2020-04-23 17:23:43 -07:00
.gitignore Git should ignore any code coverage files. 2022-11-16 12:28:17 -05:00
.pre-commit-config.yaml Use latest version of darker that resolves imcompatibility with `black` library. 2023-01-05 14:31:33 -05:00
CODE_OF_CONDUCT.md Add "end-of-file-fixer" to pre-commit hooks 2020-05-19 14:28:29 -04:00
CONTRIBUTING.rst fix: broken link to contributing docs 2021-02-16 18:36:49 +05:30
LICENSE Relicense to AGPLv3 for more freedom 2019-03-04 18:55:28 -08:00
MANIFEST.in deploy/build updates 2022-10-18 20:07:58 +02:00
Makefile Modify user permisisons and path management for CI compatibility with rust-python container. 2021-12-15 12:22:13 -08:00
Pipfile Remove lingering references to CircleCI which is no longer used. 2022-12-23 09:12:48 -05:00
Pipfile.lock Relock dependencies to accomodate limited version of jinja2 needed for docs. 2022-11-28 16:29:21 -05:00
README.md Update codecov to track development branch, where active development occurs. 2022-11-15 11:27:36 -05:00
SECURITY.md Create SECURITY.md 2020-03-31 18:25:15 +00:00
codecov.yml Don't cause a codecov gh action failure if code coverage is reduced by a small percentage. This can happen with non-nucypher code changes. 2022-11-28 10:19:51 -05:00
dev-requirements.txt Bump certifi from 2022.9.24 to 2022.12.7 2022-12-09 08:45:25 +00:00
docs-requirements.txt Bump certifi from 2022.9.24 to 2022.12.7 2022-12-09 08:45:25 +00:00
mypy.ini Ignore setup.py in mypy configuration. 2020-05-28 11:59:47 -07:00
pyproject.toml Dev newsfragments will show up in release notes but under its own section (off to the side). 2022-11-17 09:29:45 -05:00
pytest.ini Run coverage directly and not through pytest-cov - there are discrepancy in reports. 2022-11-16 11:14:32 -05:00
readthedocs.yml Relock dependencies to accomodate limited version of jinja2 needed for docs. 2022-11-28 16:29:21 -05:00
requirements.txt Bump certifi from 2022.9.24 to 2022.12.7 2022-12-09 08:45:25 +00:00
setup.cfg Reconfigure setup.py; External deps, code cleanup, post install hook, installation options. 2020-05-28 11:59:08 -07:00
setup.py Remove unused pip extras for alice and bob 2022-10-31 20:16:35 +00:00
tox.ini Minimal example tox config for py36,37,38 2020-05-28 11:59:08 -07:00

README.md

A decentralized cryptological network offering accessible, intuitive, and extensible runtimes and interfaces for secrets management and dynamic access control.

pypi pyversions codecov 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 threshold proxy re-encryption scheme to provide cryptographic access control.

How does NuCypher work?

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. Ursulas earn fees and token rewards for performing re-encryption operations.

More detailed information:

Whitepapers

Network

"NuCypher - A proxy re-encryption network to empower privacy in decentralized systems"

by Michael Egorov, David Nuñez, and MacLane Wilkison - NuCypher

Economics

"NuCypher - Staking Protocol & Economics"

by Michael Egorov, MacLane Wilkison, Arjun Hassard - NuCypher

"NuCypher - Pricing Protocol & Economics"

by Arjun Hassard - NuCypher

Cryptography

"Umbral: A Threshold Proxy Re-Encryption Scheme"

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, 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 and browse our Open Issues for potential areas to contribute.

Get up and running quickly by using our docker development setup

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 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.