├── .coveragerc ├── .gitignore ├── .travis.yml ├── CHANGELOG.rst ├── CONTRIBUTING.rst ├── Dockerfile ├── LICENSE ├── LICENSE-docs ├── Makefile ├── README.rst ├── codecov.yml ├── cryptoconditions ├── __init__.py ├── condition.py ├── crypto.py ├── exceptions.py ├── fulfillment.py ├── schemas │ ├── __init__.py │ ├── condition.py │ ├── fingerprint.py │ └── fulfillment.py ├── type_registry.py ├── types │ ├── __init__.py │ ├── base_sha256.py │ ├── ed25519.py │ ├── prefix.py │ ├── preimage.py │ ├── rsa.py │ └── threshold.py └── version.py ├── docker-compose.yml ├── docs ├── Makefile ├── conf.py ├── contributing.rst ├── examples.rst ├── index.rst ├── installation.rst ├── libref.rst └── usage.rst ├── examples ├── __init__.py ├── ed25519_example.py ├── preimage_sha256_example.py └── threshold_sha256_example.py ├── media ├── repo-banner.sketch └── repo-banner@2x.png ├── setup.py └── tests ├── __init__.py ├── conftest.py ├── grab_vectors.py ├── test_condition.py ├── test_crypto.py ├── test_cryptoconditions.py ├── test_fulfillment.py ├── test_generated_valid_spec.py ├── test_type_registry.py ├── test_vectors.py ├── types ├── test_ed25519.py └── test_threshold.py └── vectors ├── 0000_test-minimal-preimage.json ├── 0001_test-minimal-prefix.json ├── 0002_test-minimal-threshold.json ├── 0003_test-minimal-rsa.json ├── 0004_test-minimal-ed25519.json ├── 0005_test-basic-preimage.json ├── 0006_test-basic-prefix.json ├── 0007_test-basic-prefix-two-levels-deep.json ├── 0008_test-basic-threshold.json ├── 0009_test-basic-threshold-same-condition-twice.json ├── 0010_test-basic-threshold-same-fulfillment-twice.json ├── 0011_test-basic-threshold-two-levels-deep.json ├── 0012_test-basic-threshold-schroedinger.json ├── 0013_test-basic-rsa.json ├── 0014_test-basic-rsa4096.json ├── 0015_test-basic-ed25519.json ├── 0016_test-advanced-notarized-receipt.json └── 0017_test-advanced-notarized-receipt-multiple-notaries.json /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/.coveragerc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/CHANGELOG.rst -------------------------------------------------------------------------------- /CONTRIBUTING.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/CONTRIBUTING.rst -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE-docs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/LICENSE-docs -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/README.rst -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/codecov.yml -------------------------------------------------------------------------------- /cryptoconditions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/__init__.py -------------------------------------------------------------------------------- /cryptoconditions/condition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/condition.py -------------------------------------------------------------------------------- /cryptoconditions/crypto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/crypto.py -------------------------------------------------------------------------------- /cryptoconditions/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/exceptions.py -------------------------------------------------------------------------------- /cryptoconditions/fulfillment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/fulfillment.py -------------------------------------------------------------------------------- /cryptoconditions/schemas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cryptoconditions/schemas/condition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/schemas/condition.py -------------------------------------------------------------------------------- /cryptoconditions/schemas/fingerprint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/schemas/fingerprint.py -------------------------------------------------------------------------------- /cryptoconditions/schemas/fulfillment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/schemas/fulfillment.py -------------------------------------------------------------------------------- /cryptoconditions/type_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/type_registry.py -------------------------------------------------------------------------------- /cryptoconditions/types/__init__.py: -------------------------------------------------------------------------------- 1 | """ """ 2 | -------------------------------------------------------------------------------- /cryptoconditions/types/base_sha256.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/types/base_sha256.py -------------------------------------------------------------------------------- /cryptoconditions/types/ed25519.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/types/ed25519.py -------------------------------------------------------------------------------- /cryptoconditions/types/prefix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/types/prefix.py -------------------------------------------------------------------------------- /cryptoconditions/types/preimage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/types/preimage.py -------------------------------------------------------------------------------- /cryptoconditions/types/rsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/types/rsa.py -------------------------------------------------------------------------------- /cryptoconditions/types/threshold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/types/threshold.py -------------------------------------------------------------------------------- /cryptoconditions/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/cryptoconditions/version.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributing.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../CONTRIBUTING.rst 2 | -------------------------------------------------------------------------------- /docs/examples.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/docs/examples.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/docs/installation.rst -------------------------------------------------------------------------------- /docs/libref.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/docs/libref.rst -------------------------------------------------------------------------------- /docs/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/docs/usage.rst -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/ed25519_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/examples/ed25519_example.py -------------------------------------------------------------------------------- /examples/preimage_sha256_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/examples/preimage_sha256_example.py -------------------------------------------------------------------------------- /examples/threshold_sha256_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/examples/threshold_sha256_example.py -------------------------------------------------------------------------------- /media/repo-banner.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/media/repo-banner.sketch -------------------------------------------------------------------------------- /media/repo-banner@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/media/repo-banner@2x.png -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/grab_vectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/grab_vectors.py -------------------------------------------------------------------------------- /tests/test_condition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/test_condition.py -------------------------------------------------------------------------------- /tests/test_crypto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/test_crypto.py -------------------------------------------------------------------------------- /tests/test_cryptoconditions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/test_cryptoconditions.py -------------------------------------------------------------------------------- /tests/test_fulfillment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/test_fulfillment.py -------------------------------------------------------------------------------- /tests/test_generated_valid_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/test_generated_valid_spec.py -------------------------------------------------------------------------------- /tests/test_type_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/test_type_registry.py -------------------------------------------------------------------------------- /tests/test_vectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/test_vectors.py -------------------------------------------------------------------------------- /tests/types/test_ed25519.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/types/test_ed25519.py -------------------------------------------------------------------------------- /tests/types/test_threshold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/types/test_threshold.py -------------------------------------------------------------------------------- /tests/vectors/0000_test-minimal-preimage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0000_test-minimal-preimage.json -------------------------------------------------------------------------------- /tests/vectors/0001_test-minimal-prefix.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0001_test-minimal-prefix.json -------------------------------------------------------------------------------- /tests/vectors/0002_test-minimal-threshold.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0002_test-minimal-threshold.json -------------------------------------------------------------------------------- /tests/vectors/0003_test-minimal-rsa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0003_test-minimal-rsa.json -------------------------------------------------------------------------------- /tests/vectors/0004_test-minimal-ed25519.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0004_test-minimal-ed25519.json -------------------------------------------------------------------------------- /tests/vectors/0005_test-basic-preimage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0005_test-basic-preimage.json -------------------------------------------------------------------------------- /tests/vectors/0006_test-basic-prefix.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0006_test-basic-prefix.json -------------------------------------------------------------------------------- /tests/vectors/0007_test-basic-prefix-two-levels-deep.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0007_test-basic-prefix-two-levels-deep.json -------------------------------------------------------------------------------- /tests/vectors/0008_test-basic-threshold.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0008_test-basic-threshold.json -------------------------------------------------------------------------------- /tests/vectors/0009_test-basic-threshold-same-condition-twice.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0009_test-basic-threshold-same-condition-twice.json -------------------------------------------------------------------------------- /tests/vectors/0010_test-basic-threshold-same-fulfillment-twice.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0010_test-basic-threshold-same-fulfillment-twice.json -------------------------------------------------------------------------------- /tests/vectors/0011_test-basic-threshold-two-levels-deep.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0011_test-basic-threshold-two-levels-deep.json -------------------------------------------------------------------------------- /tests/vectors/0012_test-basic-threshold-schroedinger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0012_test-basic-threshold-schroedinger.json -------------------------------------------------------------------------------- /tests/vectors/0013_test-basic-rsa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0013_test-basic-rsa.json -------------------------------------------------------------------------------- /tests/vectors/0014_test-basic-rsa4096.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0014_test-basic-rsa4096.json -------------------------------------------------------------------------------- /tests/vectors/0015_test-basic-ed25519.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0015_test-basic-ed25519.json -------------------------------------------------------------------------------- /tests/vectors/0016_test-advanced-notarized-receipt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0016_test-advanced-notarized-receipt.json -------------------------------------------------------------------------------- /tests/vectors/0017_test-advanced-notarized-receipt-multiple-notaries.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigchaindb/cryptoconditions/HEAD/tests/vectors/0017_test-advanced-notarized-receipt-multiple-notaries.json --------------------------------------------------------------------------------