From 5cda4e5b66ee0ed0cdff46e00a62b0c8ee04fd13 Mon Sep 17 00:00:00 2001 From: Daniel Bluhm Date: Wed, 10 Jan 2024 09:21:03 -0500 Subject: [PATCH 1/5] fix: minor type hint corrections Signed-off-by: Daniel Bluhm --- aries_cloudagent/config/base.py | 2 +- aries_cloudagent/config/provider.py | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/aries_cloudagent/config/base.py b/aries_cloudagent/config/base.py index 10b2d82046..8494c758c1 100644 --- a/aries_cloudagent/config/base.py +++ b/aries_cloudagent/config/base.py @@ -158,5 +158,5 @@ def copy(self) -> "BaseInjector": class BaseProvider(ABC): """Base provider class.""" - def provide(self, settings: BaseSettings, injector: BaseInjector): + def provide(self, settings: BaseSettings, injector: BaseInjector) -> Any: """Provide the object instance given a config and injector.""" diff --git a/aries_cloudagent/config/provider.py b/aries_cloudagent/config/provider.py index 2e37302659..c97c300cec 100644 --- a/aries_cloudagent/config/provider.py +++ b/aries_cloudagent/config/provider.py @@ -2,7 +2,7 @@ import hashlib -from typing import Sequence, Union +from typing import Optional, Sequence, Union from weakref import ReferenceType from ..utils.classloader import DeferLoad @@ -44,7 +44,7 @@ def __init__( self, instance_cls: Union[str, type], *ctor_args, - init_method: str = None, + init_method: Optional[str] = None, **ctor_kwargs ): """Initialize the class provider.""" @@ -52,8 +52,10 @@ def __init__( self._ctor_kwargs = ctor_kwargs self._init_method = init_method if isinstance(instance_cls, str): - instance_cls = DeferLoad(instance_cls) - self._instance_cls = instance_cls + cls = DeferLoad(instance_cls) + else: + cls = instance_cls + self._instance_cls: Union[type, DeferLoad] = cls def provide(self, config: BaseSettings, injector: BaseInjector): """Provide the object instance given a config and injector.""" From f3fd68c1c47813467feb09447878a67f96de14b6 Mon Sep 17 00:00:00 2001 From: Daniel Bluhm Date: Wed, 10 Jan 2024 09:21:28 -0500 Subject: [PATCH 2/5] feat: inject profile Signed-off-by: Daniel Bluhm --- aries_cloudagent/core/profile.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/aries_cloudagent/core/profile.py b/aries_cloudagent/core/profile.py index 538f16a4d9..dc6111a647 100644 --- a/aries_cloudagent/core/profile.py +++ b/aries_cloudagent/core/profile.py @@ -4,6 +4,7 @@ from abc import ABC, abstractmethod from typing import Any, Mapping, Optional, Type +from weakref import ref from .event_bus import EventBus, Event from ..config.base import InjectionError @@ -27,14 +28,19 @@ class Profile(ABC): def __init__( self, *, - context: InjectionContext = None, - name: str = None, + context: Optional[InjectionContext] = None, + name: Optional[str] = None, created: bool = False, ): """Initialize a base profile.""" - self._context = context or InjectionContext() + context = context or InjectionContext() + scope = "profile" + if name: + scope += ":" + name + self._context = context.start_scope(scope) self._created = created self._name = name or Profile.DEFAULT_NAME + self._context.injector.bind_instance(Profile, ref(self)) @property def backend(self) -> str: From 00f6ddc23acff025a6822db7d2e71c77972d28df Mon Sep 17 00:00:00 2001 From: Daniel Bluhm Date: Wed, 10 Jan 2024 10:25:10 -0500 Subject: [PATCH 3/5] feat: make VcLdpManager pluggable Signed-off-by: Daniel Bluhm --- .../v2_0/formats/ld_proof/handler.py | 10 +++---- .../formats/ld_proof/tests/test_handler.py | 20 +++++++------ .../present_proof/v2_0/formats/dif/handler.py | 2 +- .../v2_0/formats/dif/tests/test_handler.py | 9 ++++-- .../present_proof/v2_0/tests/test_manager.py | 29 +++++++++---------- aries_cloudagent/vc/__init__.py | 12 ++++++++ aries_cloudagent/vc/routes.py | 4 +-- 7 files changed, 51 insertions(+), 35 deletions(-) diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/handler.py b/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/handler.py index da76e9dd8c..93fd149519 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/handler.py +++ b/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/handler.py @@ -133,7 +133,7 @@ async def create_proposal( self, cred_ex_record: V20CredExRecord, proposal_data: Mapping ) -> CredFormatAttachment: """Create linked data proof credential proposal.""" - manager = VcLdpManager(self.profile) + manager = self.profile.inject(VcLdpManager) detail = LDProofVCDetail.deserialize(proposal_data) assert detail.options and isinstance(detail.options, LDProofVCOptions) assert detail.credential and isinstance(detail.credential, VerifiableCredential) @@ -165,7 +165,7 @@ async def create_offer( # but also when we create an offer (manager does some weird stuff) offer_data = cred_proposal_message.attachment(LDProofCredFormatHandler.format) detail = LDProofVCDetail.deserialize(offer_data) - manager = VcLdpManager(self.profile) + manager = self.profile.inject(VcLdpManager) assert detail.options and isinstance(detail.options, LDProofVCOptions) assert detail.credential and isinstance(detail.credential, VerifiableCredential) try: @@ -225,7 +225,7 @@ async def create_request( ) detail = LDProofVCDetail.deserialize(request_data) - manager = VcLdpManager(self.profile) + manager = self.profile.inject(VcLdpManager) assert detail.options and isinstance(detail.options, LDProofVCOptions) assert detail.credential and isinstance(detail.credential, VerifiableCredential) try: @@ -291,7 +291,7 @@ async def issue_credential( LDProofCredFormatHandler.format ) detail = LDProofVCDetail.deserialize(detail_dict) - manager = VcLdpManager(self.profile) + manager = self.profile.inject(VcLdpManager) assert detail.options and isinstance(detail.options, LDProofVCOptions) assert detail.credential and isinstance(detail.credential, VerifiableCredential) try: @@ -382,7 +382,7 @@ async def store_credential( credential = VerifiableCredential.deserialize(cred_dict, unknown=INCLUDE) # Get signature suite, proof purpose and document loader - manager = VcLdpManager(self.profile) + manager = self.profile.inject(VcLdpManager) try: result = await manager.verify_credential(credential) except VcLdpManagerError as err: diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py b/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py index 2d13ebc23c..be1d5c86ec 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py +++ b/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py @@ -133,6 +133,8 @@ async def asyncSetUp(self): BaseVerificationKeyStrategy, DefaultVerificationKeyStrategy() ) + self.manager = VcLdpManager(self.profile) + self.context.injector.bind_instance(VcLdpManager, self.manager) self.handler = LDProofCredFormatHandler(self.profile) self.cred_proposal = V20CredProposal( @@ -247,7 +249,7 @@ async def test_receive_proposal(self): async def test_create_offer(self): with mock.patch.object( - VcLdpManager, + self.manager, "assert_can_issue_with_id_and_proof_type", mock.CoroutineMock(), ) as mock_can_issue, patch.object( @@ -287,7 +289,7 @@ async def test_create_offer_adds_bbs_context(self): ) with mock.patch.object( - VcLdpManager, + self.manager, "assert_can_issue_with_id_and_proof_type", mock.CoroutineMock(), ), patch.object(test_module, "get_properties_without_context", return_value=[]): @@ -312,7 +314,7 @@ async def test_create_offer_adds_ed25519_2020_context(self): ) with mock.patch.object( - VcLdpManager, + self.manager, "assert_can_issue_with_id_and_proof_type", mock.CoroutineMock(), ), patch.object(test_module, "get_properties_without_context", return_value=[]): @@ -334,7 +336,7 @@ async def test_create_offer_x_no_proposal(self): async def test_create_offer_x_wrong_attributes(self): missing_properties = ["foo"] with mock.patch.object( - VcLdpManager, + self.manager, "assert_can_issue_with_id_and_proof_type", mock.CoroutineMock(), ), patch.object( @@ -583,7 +585,7 @@ async def test_issue_credential(self): ) with mock.patch.object( - VcLdpManager, + self.manager, "issue", mock.CoroutineMock( return_value=VerifiableCredential.deserialize(LD_PROOF_VC) @@ -841,7 +843,7 @@ async def test_store_credential(self): self.holder.store_credential = mock.CoroutineMock() with mock.patch.object( - VcLdpManager, + self.manager, "verify_credential", mock.CoroutineMock(return_value=DocumentVerificationResult(verified=True)), ) as mock_verify_credential: @@ -886,15 +888,15 @@ async def test_store_credential_x_not_verified(self): self.holder.store_credential = mock.CoroutineMock() with mock.patch.object( - VcLdpManager, + self.manager, "_get_suite", mock.CoroutineMock(), ) as mock_get_suite, mock.patch.object( - VcLdpManager, + self.manager, "verify_credential", mock.CoroutineMock(return_value=DocumentVerificationResult(verified=False)), ) as mock_verify_credential, mock.patch.object( - VcLdpManager, + self.manager, "_get_proof_purpose", ) as mock_get_proof_purpose, self.assertRaises( V20CredFormatError diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/handler.py b/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/handler.py index df47a14357..b2b96461fd 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/handler.py +++ b/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/handler.py @@ -445,7 +445,7 @@ async def verify_pres(self, pres_ex_record: V20PresExRecord) -> V20PresExRecord: pres_request = pres_ex_record.pres_request.attachment( DIFPresFormatHandler.format ) - manager = VcLdpManager(self._profile) + manager = self.profile.inject(VcLdpManager) options = LDProofVCOptions.deserialize(pres_request["options"]) if not options.challenge: diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py b/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py index ddee1de370..dad7b374b2 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py +++ b/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py @@ -369,6 +369,9 @@ async def asyncSetUp(self): self.context.injector.bind_instance(DocumentLoader, custom_document_loader) self.context.injector.bind_instance(BaseResponder, MockResponder()) + self.manager = VcLdpManager(self.profile) + self.context.injector.bind_instance(VcLdpManager, self.manager) + self.handler = DIFPresFormatHandler(self.profile) assert self.handler.profile @@ -1140,7 +1143,7 @@ async def test_verify_pres_sequence(self): ) with mock.patch.object( - VcLdpManager, + self.manager, "verify_presentation", mock.CoroutineMock( return_value=PresentationVerificationResult(verified=True) @@ -1150,7 +1153,7 @@ async def test_verify_pres_sequence(self): assert output.verified with mock.patch.object( - VcLdpManager, + self.manager, "verify_presentation", mock.CoroutineMock( return_value=PresentationVerificationResult(verified=False) @@ -1197,7 +1200,7 @@ async def test_verify_pres(self): ) with mock.patch.object( - VcLdpManager, + self.manager, "verify_presentation", mock.CoroutineMock( return_value=PresentationVerificationResult(verified=True) diff --git a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager.py b/aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager.py index 0a26daf14a..874ba4c148 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager.py +++ b/aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager.py @@ -1,19 +1,19 @@ -import json - from copy import deepcopy +import json from time import time +from unittest import IsolatedAsyncioTestCase from aries_cloudagent.tests import mock -from unittest import IsolatedAsyncioTestCase +from .. import manager as test_module from .....core.in_memory import InMemoryProfile from .....indy.holder import IndyHolder -from .....indy.models.xform import indy_proof_req_preview2indy_requested_creds from .....indy.models.pres_preview import ( IndyPresAttrSpec, - IndyPresPreview, IndyPresPredSpec, + IndyPresPreview, ) +from .....indy.models.xform import indy_proof_req_preview2indy_requested_creds from .....indy.verifier import IndyVerifier from .....ledger.base import BaseLedger from .....ledger.multiple_ledger.ledger_requests_executor import ( @@ -24,23 +24,24 @@ from .....multitenant.base import BaseMultitenantManager from .....multitenant.manager import MultitenantManager from .....storage.error import StorageNotFoundError - +from .....vc.ld_proofs import DocumentLoader +from .....vc.tests.document_loader import custom_document_loader +from .....vc.vc_ld.manager import VcLdpManager +from .....vc.vc_ld.validation_result import PresentationVerificationResult from ...indy import pres_exch_handler as test_indy_util_module - -from .. import manager as test_module -from ..formats.handler import V20PresFormatHandlerError from ..formats.dif.handler import DIFPresFormatHandler from ..formats.dif.tests.test_handler import ( - DIF_PRES_REQUEST_B as DIF_PRES_REQ, DIF_PRES, + DIF_PRES_REQUEST_B as DIF_PRES_REQ, ) +from ..formats.handler import V20PresFormatHandlerError from ..formats.indy import handler as test_indy_handler from ..manager import V20PresManager, V20PresManagerError from ..message_types import ( ATTACHMENT_FORMAT, + PRES_20, PRES_20_PROPOSAL, PRES_20_REQUEST, - PRES_20, ) from ..messages.pres import V20Pres from ..messages.pres_format import V20PresFormat @@ -49,10 +50,6 @@ from ..messages.pres_request import V20PresRequest from ..models.pres_exchange import V20PresExRecord -from .....vc.vc_ld.validation_result import PresentationVerificationResult -from .....vc.tests.document_loader import custom_document_loader -from .....vc.ld_proofs import DocumentLoader - CONN_ID = "connection_id" ISSUER_DID = "NcYxiDXkpYi6ov5FcYDi1e" S_ID = f"{ISSUER_DID}:2:vidya:1.0" @@ -484,6 +481,8 @@ async def asyncSetUp(self): injector.bind_instance(IndyVerifier, self.verifier) self.manager = V20PresManager(self.profile) + self.vc_manager = VcLdpManager(self.profile) + injector.bind_instance(VcLdpManager, self.vc_manager) async def test_record_eq(self): same = [ diff --git a/aries_cloudagent/vc/__init__.py b/aries_cloudagent/vc/__init__.py index e69de29bb2..2e9958c25b 100644 --- a/aries_cloudagent/vc/__init__.py +++ b/aries_cloudagent/vc/__init__.py @@ -0,0 +1,12 @@ +from ..config.injection_context import InjectionContext +from ..config.provider import ClassProvider +from ..core.profile import Profile + + +async def setup(context: InjectionContext): + """Setup vc plugin.""" + from .vc_ld.manager import VcLdpManager + + context.injector.bind_provider( + VcLdpManager, ClassProvider(VcLdpManager, ClassProvider.Inject(Profile)) + ) diff --git a/aries_cloudagent/vc/routes.py b/aries_cloudagent/vc/routes.py index 601cdeaa43..74bdee581d 100644 --- a/aries_cloudagent/vc/routes.py +++ b/aries_cloudagent/vc/routes.py @@ -52,7 +52,7 @@ async def ldp_issue(request: web.BaseRequest): options = LDProofVCOptions.deserialize(body["options"]) try: - manager = VcLdpManager(context.profile) + manager = context.inject(VcLdpManager) vc = await manager.issue(credential, options) except VcLdpManagerError as err: return web.json_response({"error": str(err)}, status=400) @@ -104,7 +104,7 @@ async def ldp_verify(request: web.BaseRequest): vp = body.get("vp") vc = body.get("vc") try: - manager = VcLdpManager(context.profile) + manager = context.inject(VcLdpManager) if vp: vp = VerifiableCredential.deserialize(vp) options = LDProofVCOptions.deserialize(body["options"]) From 2013a9c6f926beaf881746ff77d952d2476854f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 21:21:17 +0000 Subject: [PATCH 4/5] chore(deps): Bump jinja2 from 3.1.2 to 3.1.3 Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3) --- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- poetry.lock | 125 +++------------------------------------------------- 1 file changed, 5 insertions(+), 120 deletions(-) diff --git a/poetry.lock b/poetry.lock index 6977e876b7..ecf1c5a218 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,10 +1,9 @@ -# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. [[package]] name = "aiohttp" version = "3.9.1" description = "Async http client/server framework (asyncio)" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -101,7 +100,6 @@ speedups = ["Brotli", "aiodns", "brotlicffi"] name = "aiohttp-apispec" version = "2.2.3" description = "Build and document REST APIs with aiohttp and apispec" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -118,7 +116,6 @@ webargs = "<6.0" name = "aiohttp-cors" version = "0.7.0" description = "CORS support for aiohttp" -category = "main" optional = false python-versions = "*" files = [ @@ -133,7 +130,6 @@ aiohttp = ">=1.1" name = "aiosignal" version = "1.3.1" description = "aiosignal: a list of registered asynchronous callbacks" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -148,7 +144,6 @@ frozenlist = ">=1.1.0" name = "alabaster" version = "0.7.13" description = "A configurable sidebar-enabled Sphinx theme" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -160,7 +155,6 @@ files = [ name = "anoncreds" version = "0.1.0" description = "" -category = "main" optional = true python-versions = ">=3.6.3" files = [ @@ -174,7 +168,6 @@ files = [ name = "apispec" version = "3.3.2" description = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)." -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -194,7 +187,6 @@ yaml = ["PyYAML (>=3.10)"] name = "aries-askar" version = "0.3.0" description = "" -category = "main" optional = true python-versions = ">=3.6.3" files = [ @@ -211,7 +203,6 @@ cached-property = ">=1.5,<2.0" name = "async-case" version = "10.1.0" description = "Backport of Python 3.8's unittest.async_case" -category = "dev" optional = false python-versions = "*" files = [ @@ -222,7 +213,6 @@ files = [ name = "async-timeout" version = "4.0.3" description = "Timeout context manager for asyncio programs" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -234,7 +224,6 @@ files = [ name = "asynctest" version = "0.13.0" description = "Enhance the standard unittest package with features for testing asyncio libraries" -category = "dev" optional = false python-versions = ">=3.5" files = [ @@ -246,7 +235,6 @@ files = [ name = "attrs" version = "23.2.0" description = "Classes Without Boilerplate" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -266,7 +254,6 @@ tests-no-zope = ["attrs[tests-mypy]", "cloudpickle", "hypothesis", "pympler", "p name = "babel" version = "2.14.0" description = "Internationalization utilities" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -281,7 +268,6 @@ dev = ["freezegun (>=1.0,<2.0)", "pytest (>=6.0)", "pytest-cov"] name = "base58" version = "2.1.1" description = "Base58 and Base58Check implementation." -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -296,7 +282,6 @@ tests = ["PyHamcrest (>=2.0.2)", "mypy", "pytest (>=4.6)", "pytest-benchmark", " name = "black" version = "23.7.0" description = "The uncompromising code formatter." -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -343,7 +328,6 @@ uvloop = ["uvloop (>=0.15.2)"] name = "cached-property" version = "1.5.2" description = "A decorator for caching properties in classes." -category = "main" optional = true python-versions = "*" files = [ @@ -355,7 +339,6 @@ files = [ name = "cachetools" version = "5.3.2" description = "Extensible memoizing collections and decorators" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -367,7 +350,6 @@ files = [ name = "certifi" version = "2023.11.17" description = "Python package for providing Mozilla's CA Bundle." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -379,7 +361,6 @@ files = [ name = "cffi" version = "1.16.0" description = "Foreign Function Interface for Python calling C code." -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -444,7 +425,6 @@ pycparser = "*" name = "cfgv" version = "3.4.0" description = "Validate configuration and produce human readable error messages." -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -456,7 +436,6 @@ files = [ name = "charset-normalizer" version = "3.3.2" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -category = "main" optional = false python-versions = ">=3.7.0" files = [ @@ -556,7 +535,6 @@ files = [ name = "click" version = "8.1.7" description = "Composable command line interface toolkit" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -571,7 +549,6 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} name = "colorama" version = "0.4.6" description = "Cross-platform colored terminal text." -category = "main" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" files = [ @@ -583,7 +560,6 @@ files = [ name = "configargparse" version = "1.5.5" description = "A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables." -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" files = [ @@ -599,7 +575,6 @@ yaml = ["PyYAML"] name = "coverage" version = "7.4.0" description = "Code coverage measurement for Python" -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -667,7 +642,6 @@ toml = ["tomli"] name = "cryptography" version = "41.0.7" description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -713,7 +687,6 @@ test-randomorder = ["pytest-randomly"] name = "cytoolz" version = "0.12.2" description = "Cython implementation of Toolz: High performance functional utilities" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -822,7 +795,6 @@ cython = ["cython"] name = "decorator" version = "5.1.1" description = "Decorators for Humans" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -834,7 +806,6 @@ files = [ name = "deepmerge" version = "0.3.0" description = "a toolset to deeply merge python dictionaries." -category = "main" optional = false python-versions = ">=3" files = [ @@ -846,7 +817,6 @@ files = [ name = "deprecated" version = "1.2.14" description = "Python @deprecated decorator to deprecate old python classes, functions or methods." -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ @@ -864,7 +834,6 @@ dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "sphinx (<2)", "tox"] name = "did-peer-2" version = "0.1.2" description = "An implementation of did:peer:2" -category = "main" optional = false python-versions = ">=3.9" files = [ @@ -879,7 +848,6 @@ base58 = ">=2.1.1" name = "did-peer-4" version = "0.1.4" description = "An implementation of did:peer:4" -category = "main" optional = false python-versions = ">=3.9" files = [ @@ -894,7 +862,6 @@ base58 = ">=2.1.1" name = "distlib" version = "0.3.8" description = "Distribution utilities" -category = "dev" optional = false python-versions = "*" files = [ @@ -906,7 +873,6 @@ files = [ name = "docutils" version = "0.18.1" description = "Docutils -- Python Documentation Utilities" -category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" files = [ @@ -918,7 +884,6 @@ files = [ name = "ecdsa" version = "0.16.1" description = "ECDSA cryptographic signature library (pure python)" -category = "main" optional = false python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" files = [ @@ -937,7 +902,6 @@ gmpy2 = ["gmpy2"] name = "eth-hash" version = "0.3.3" description = "eth-hash: The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3" -category = "main" optional = false python-versions = ">=3.5, <4" files = [ @@ -957,7 +921,6 @@ test = ["pytest (==5.4.1)", "pytest-xdist", "tox (==3.14.6)"] name = "eth-typing" version = "2.3.0" description = "eth-typing: Common type annotations for ethereum python packages" -category = "main" optional = false python-versions = ">=3.5, <4" files = [ @@ -975,7 +938,6 @@ test = ["pytest (>=4.4,<4.5)", "pytest-xdist", "tox (>=2.9.1,<3)"] name = "eth-utils" version = "1.10.0" description = "eth-utils: Common utility functions for python code that interacts with Ethereum" -category = "main" optional = false python-versions = ">=3.5,!=3.5.2,<4" files = [ @@ -999,7 +961,6 @@ test = ["hypothesis (>=4.43.0,<5.0.0)", "pytest (==5.4.1)", "pytest-xdist", "tox name = "exceptiongroup" version = "1.2.0" description = "Backport of PEP 654 (exception groups)" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1014,7 +975,6 @@ test = ["pytest (>=6)"] name = "filelock" version = "3.13.1" description = "A platform independent file lock." -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -1031,7 +991,6 @@ typing = ["typing-extensions (>=4.8)"] name = "frozendict" version = "2.4.0" description = "A simple immutable dictionary" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -1077,7 +1036,6 @@ files = [ name = "frozenlist" version = "1.4.1" description = "A list-like structure which implements collections.abc.MutableSequence" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -1164,7 +1122,6 @@ files = [ name = "identify" version = "2.5.33" description = "File identification library for Python" -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -1179,7 +1136,6 @@ license = ["ukkonen"] name = "idna" version = "3.6" description = "Internationalized Domain Names in Applications (IDNA)" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -1191,7 +1147,6 @@ files = [ name = "imagesize" version = "1.4.1" description = "Getting image size from png/jpeg/jpeg2000/gif file" -category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ @@ -1203,7 +1158,6 @@ files = [ name = "indy-credx" version = "1.1.1" description = "" -category = "main" optional = true python-versions = ">=3.6.3" files = [ @@ -1217,7 +1171,6 @@ files = [ name = "indy-vdr" version = "0.4.1" description = "" -category = "main" optional = true python-versions = ">=3.6.3" files = [ @@ -1231,7 +1184,6 @@ files = [ name = "inflection" version = "0.5.1" description = "A port of Ruby on Rails inflector to Python" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -1243,7 +1195,6 @@ files = [ name = "iniconfig" version = "2.0.0" description = "brain-dead simple config-ini parsing" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1253,14 +1204,13 @@ files = [ [[package]] name = "jinja2" -version = "3.1.2" +version = "3.1.3" description = "A very fast and expressive template engine." -category = "main" optional = false python-versions = ">=3.7" files = [ - {file = "Jinja2-3.1.2-py3-none-any.whl", hash = "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"}, - {file = "Jinja2-3.1.2.tar.gz", hash = "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"}, + {file = "Jinja2-3.1.3-py3-none-any.whl", hash = "sha256:7d6d50dd97d52cbc355597bd845fabfbac3f551e1f99619e39a35ce8c370b5fa"}, + {file = "Jinja2-3.1.3.tar.gz", hash = "sha256:ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90"}, ] [package.dependencies] @@ -1273,7 +1223,6 @@ i18n = ["Babel (>=2.7)"] name = "jsonpath-ng" version = "1.5.2" description = "A final implementation of JSONPath for Python that aims to be standard compliant, including arithmetic and binary comparison operators and providing clear AST for metaprogramming." -category = "main" optional = false python-versions = "*" files = [ @@ -1290,7 +1239,6 @@ six = "*" name = "jwcrypto" version = "1.5.1" description = "Implementation of JOSE Web standards" -category = "main" optional = false python-versions = ">= 3.6" files = [ @@ -1305,7 +1253,6 @@ deprecated = "*" name = "lxml" version = "5.0.0" description = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API." -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*" files = [ @@ -1409,7 +1356,6 @@ source = ["Cython (>=3.0.7)"] name = "markdown" version = "3.1.1" description = "Python implementation of Markdown." -category = "main" optional = false python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*" files = [ @@ -1427,7 +1373,6 @@ testing = ["coverage", "pyyaml"] name = "markupsafe" version = "2.0.1" description = "Safely add untrusted strings to HTML/XML markup." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -1506,7 +1451,6 @@ files = [ name = "marshmallow" version = "3.20.1" description = "A lightweight library for converting complex datatypes to and from native Python datatypes." -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -1527,7 +1471,6 @@ tests = ["pytest", "pytz", "simplejson"] name = "mock" version = "4.0.3" description = "Rolling backport of unittest.mock for all Pythons" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -1544,7 +1487,6 @@ test = ["pytest (<5.4)", "pytest-cov"] name = "multidict" version = "6.0.4" description = "multidict implementation" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1628,7 +1570,6 @@ files = [ name = "mypy-extensions" version = "1.0.0" description = "Type system extensions for programs checked with the mypy type checker." -category = "dev" optional = false python-versions = ">=3.5" files = [ @@ -1640,7 +1581,6 @@ files = [ name = "nest-asyncio" version = "1.5.8" description = "Patch asyncio to allow nested event loops" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -1652,7 +1592,6 @@ files = [ name = "nodeenv" version = "1.8.0" description = "Node.js virtual environment builder" -category = "dev" optional = false python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*" files = [ @@ -1667,7 +1606,6 @@ setuptools = "*" name = "packaging" version = "23.1" description = "Core utilities for Python packages" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1679,7 +1617,6 @@ files = [ name = "pathspec" version = "0.12.1" description = "Utility library for gitignore style pattern matching of file paths." -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -1691,7 +1628,6 @@ files = [ name = "pillow" version = "10.2.0" description = "Python Imaging Library (Fork)" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -1777,7 +1713,6 @@ xmp = ["defusedxml"] name = "platformdirs" version = "4.1.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -1793,7 +1728,6 @@ test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4)", "pytest-co name = "pluggy" version = "1.3.0" description = "plugin and hook calling mechanisms for python" -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -1809,7 +1743,6 @@ testing = ["pytest", "pytest-benchmark"] name = "ply" version = "3.11" description = "Python Lex & Yacc" -category = "main" optional = false python-versions = "*" files = [ @@ -1821,7 +1754,6 @@ files = [ name = "portalocker" version = "2.7.0" description = "Wraps the portalocker recipe for easy usage" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -1841,7 +1773,6 @@ tests = ["pytest (>=5.4.1)", "pytest-cov (>=2.8.1)", "pytest-mypy (>=0.8.0)", "p name = "pre-commit" version = "3.3.3" description = "A framework for managing and maintaining multi-language pre-commit hooks." -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -1860,9 +1791,8 @@ virtualenv = ">=20.10.0" name = "prompt-toolkit" version = "2.0.10" description = "Library for building powerful interactive command lines in Python" -category = "main" optional = false -python-versions = ">=2.6,<3.0.0 || >=3.3.0" +python-versions = ">=2.6,<3.0.dev0 || >=3.3.dev0" files = [ {file = "prompt_toolkit-2.0.10-py2-none-any.whl", hash = "sha256:e7f8af9e3d70f514373bf41aa51bc33af12a6db3f71461ea47fea985defb2c31"}, {file = "prompt_toolkit-2.0.10-py3-none-any.whl", hash = "sha256:46642344ce457641f28fc9d1c9ca939b63dadf8df128b86f1b9860e59c73a5e4"}, @@ -1877,7 +1807,6 @@ wcwidth = "*" name = "ptvsd" version = "4.3.2" description = "Remote debugging server for Python support in Visual Studio and Visual Studio Code" -category = "dev" optional = false python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*" files = [ @@ -1912,7 +1841,6 @@ files = [ name = "pycparser" version = "2.21" description = "C parser in Python" -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ @@ -1924,7 +1852,6 @@ files = [ name = "pydantic" version = "1.10.13" description = "Data validation and settings management using python type hints" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1977,7 +1904,6 @@ email = ["email-validator (>=1.0.3)"] name = "pydevd" version = "1.5.1" description = "PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" -category = "dev" optional = false python-versions = "*" files = [ @@ -1998,7 +1924,6 @@ files = [ name = "pydevd-pycharm" version = "193.6015.41" description = "PyCharm Debugger (used in PyCharm and PyDev)" -category = "dev" optional = false python-versions = "*" files = [ @@ -2009,7 +1934,6 @@ files = [ name = "pydid" version = "0.4.2" description = "Python library for validating, constructing, and representing DIDs and DID Documents" -category = "main" optional = false python-versions = ">=3.8.0,<4.0.0" files = [ @@ -2026,7 +1950,6 @@ typing-extensions = ">=4.5.0,<5.0.0" name = "pygments" version = "2.17.2" description = "Pygments is a syntax highlighting package written in Python." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -2042,7 +1965,6 @@ windows-terminal = ["colorama (>=0.4.6)"] name = "pyjwt" version = "2.8.0" description = "JSON Web Token implementation in Python" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2060,7 +1982,6 @@ tests = ["coverage[toml] (==5.0.4)", "pytest (>=6.0.0,<7.0.0)"] name = "pyld" version = "2.0.3" description = "Python implementation of the JSON-LD API" -category = "main" optional = false python-versions = "*" files = [ @@ -2082,7 +2003,6 @@ requests = ["requests"] name = "pynacl" version = "1.5.0" description = "Python binding to the Networking and Cryptography (NaCl) library" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -2109,7 +2029,6 @@ tests = ["hypothesis (>=3.27.0)", "pytest (>=3.2.1,!=3.3.0)"] name = "pytest" version = "7.4.4" description = "pytest: simple powerful testing with Python" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -2132,7 +2051,6 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "no name = "pytest-asyncio" version = "0.21.1" description = "Pytest support for asyncio" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -2151,7 +2069,6 @@ testing = ["coverage (>=6.2)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "mypy name = "pytest-cov" version = "4.1.0" description = "Pytest plugin for measuring coverage." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -2170,7 +2087,6 @@ testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtuale name = "pytest-ruff" version = "0.1.1" description = "pytest plugin to check ruff requirements." -category = "dev" optional = false python-versions = ">=3.7,<4.0" files = [ @@ -2185,7 +2101,6 @@ ruff = ">=0.0.242" name = "python-dateutil" version = "2.8.2" description = "Extensions to the standard Python datetime module" -category = "main" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ @@ -2200,7 +2115,6 @@ six = ">=1.5" name = "python-json-logger" version = "2.0.7" description = "A python library adding a json log formatter" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -2212,7 +2126,6 @@ files = [ name = "python3-indy" version = "1.16.0.post286" description = "This is the official SDK for Hyperledger Indy (https://www.hyperledger.org/projects), which provides a distributed-ledger-based foundation for self-sovereign identity (https://sovrin.org). The major artifact of the SDK is a c-callable library." -category = "main" optional = true python-versions = "*" files = [ @@ -2229,7 +2142,6 @@ test = ["base58", "pytest (<3.7)", "pytest-asyncio (==0.10.0)"] name = "pytz" version = "2021.1" description = "World timezone definitions, modern and historical" -category = "main" optional = false python-versions = "*" files = [ @@ -2241,7 +2153,6 @@ files = [ name = "pywin32" version = "306" description = "Python for Window Extensions" -category = "main" optional = false python-versions = "*" files = [ @@ -2265,7 +2176,6 @@ files = [ name = "pyyaml" version = "6.0.1" description = "YAML parser and emitter for Python" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -2325,7 +2235,6 @@ files = [ name = "qrcode" version = "6.1" description = "QR Code image generator" -category = "main" optional = false python-versions = "*" files = [ @@ -2348,7 +2257,6 @@ test = ["mock", "pytest", "pytest-cov"] name = "requests" version = "2.31.0" description = "Python HTTP for Humans." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2370,7 +2278,6 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] name = "rlp" version = "1.2.0" description = "A package for Recursive Length Prefix encoding and decoding" -category = "main" optional = false python-versions = "*" files = [ @@ -2391,7 +2298,6 @@ test = ["hypothesis (==3.56.5)", "pytest (==3.3.2)", "tox (>=2.9.1,<3)"] name = "ruff" version = "0.1.2" description = "An extremely fast Python linter, written in Rust." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -2418,7 +2324,6 @@ files = [ name = "sd-jwt" version = "0.10.3" description = "The reference implementation of the IETF SD-JWT specification." -category = "main" optional = false python-versions = ">=3.8,<4.0" files = [ @@ -2434,7 +2339,6 @@ pyyaml = ">=5.4" name = "setuptools" version = "69.0.3" description = "Easily download, build, install, upgrade, and uninstall Python packages" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -2451,7 +2355,6 @@ testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jar name = "simplejson" version = "3.19.2" description = "Simple, fast, extensible JSON encoder/decoder for Python" -category = "main" optional = false python-versions = ">=2.5, !=3.0.*, !=3.1.*, !=3.2.*" files = [ @@ -2559,7 +2462,6 @@ files = [ name = "six" version = "1.16.0" description = "Python 2 and 3 compatibility utilities" -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" files = [ @@ -2571,7 +2473,6 @@ files = [ name = "snowballstemmer" version = "2.2.0" description = "This package provides 29 stemmers for 28 languages generated from Snowball algorithms." -category = "dev" optional = false python-versions = "*" files = [ @@ -2583,7 +2484,6 @@ files = [ name = "sphinx" version = "1.8.4" description = "Python documentation generator" -category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ @@ -2614,7 +2514,6 @@ websupport = ["sqlalchemy (>=0.9)", "whoosh (>=2.0)"] name = "sphinx-rtd-theme" version = "1.3.0" description = "Read the Docs theme for Sphinx" -category = "dev" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7" files = [ @@ -2634,7 +2533,6 @@ dev = ["bump2version", "sphinxcontrib-httpdomain", "transifex-client", "wheel"] name = "sphinxcontrib-jquery" version = "4.1" description = "Extension to include jQuery on newer Sphinx releases" -category = "dev" optional = false python-versions = ">=2.7" files = [ @@ -2649,7 +2547,6 @@ Sphinx = ">=1.8" name = "sphinxcontrib-serializinghtml" version = "1.1.5" description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle)." -category = "dev" optional = false python-versions = ">=3.5" files = [ @@ -2665,7 +2562,6 @@ test = ["pytest"] name = "sphinxcontrib-websupport" version = "1.2.4" description = "Sphinx API for Web Apps" -category = "dev" optional = false python-versions = ">=3.5" files = [ @@ -2684,7 +2580,6 @@ test = ["Sphinx", "pytest", "sqlalchemy", "whoosh"] name = "tomli" version = "2.0.1" description = "A lil' TOML parser" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -2696,7 +2591,6 @@ files = [ name = "toolz" version = "0.12.0" description = "List processing tools and functional utilities" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -2708,7 +2602,6 @@ files = [ name = "typing-extensions" version = "4.9.0" description = "Backported and Experimental Type Hints for Python 3.8+" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -2720,7 +2613,6 @@ files = [ name = "unflatten" version = "0.1.1" description = "Unflatten dict to dict with nested dict/arrays" -category = "main" optional = false python-versions = "*" files = [ @@ -2732,7 +2624,6 @@ files = [ name = "urllib3" version = "2.1.0" description = "HTTP library with thread-safe connection pooling, file post, and more." -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -2749,7 +2640,6 @@ zstd = ["zstandard (>=0.18.0)"] name = "ursa-bbs-signatures" version = "1.0.1" description = "" -category = "main" optional = true python-versions = ">=3.6.3" files = [ @@ -2762,7 +2652,6 @@ files = [ name = "virtualenv" version = "20.25.0" description = "Virtual Python Environment builder" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -2783,7 +2672,6 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess name = "wcwidth" version = "0.2.12" description = "Measures the displayed width of unicode strings in a terminal" -category = "main" optional = false python-versions = "*" files = [ @@ -2795,7 +2683,6 @@ files = [ name = "webargs" version = "5.5.3" description = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, webapp2, Falcon, and aiohttp." -category = "main" optional = false python-versions = "*" files = [ @@ -2819,7 +2706,6 @@ tests = ["Django (>=1.11.16)", "Flask (>=0.12.2)", "aiohttp (>=3.0.0)", "bottle name = "wrapt" version = "1.16.0" description = "Module for decorators, wrappers and monkey patching." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -2899,7 +2785,6 @@ files = [ name = "yarl" version = "1.9.4" description = "Yet another URL library" -category = "main" optional = false python-versions = ">=3.7" files = [ From 8d7592de2aacf12cf90f2023d362e665d528361e Mon Sep 17 00:00:00 2001 From: Stephen Curran Date: Mon, 15 Jan 2024 18:44:53 +0000 Subject: [PATCH 5/5] Update RTD requirements after security vulnerability recorded Signed-off-by: Stephen Curran --- ..._cloudagent.anoncreds.default.did_indy.rst | 26 +++++ ...s_cloudagent.anoncreds.default.did_web.rst | 26 +++++ ...oudagent.anoncreds.default.legacy_indy.rst | 26 +++++ .../aries_cloudagent.anoncreds.default.rst | 17 ++++ .../aries_cloudagent.anoncreds.models.rst | 34 +++++++ docs/generated/aries_cloudagent.anoncreds.rst | 99 +++++++++++++++++++ docs/generated/aries_cloudagent.askar.rst | 8 ++ ...nt.protocols.connections.v1_0.handlers.rst | 8 ++ ...ssue_credential.v2_0.formats.anoncreds.rst | 18 ++++ ...rotocols.issue_credential.v2_0.formats.rst | 1 + ...gent.protocols.present_proof.anoncreds.rst | 18 ++++ ...ies_cloudagent.protocols.present_proof.rst | 1 + ...s.present_proof.v2_0.formats.anoncreds.rst | 18 ++++ ...t.protocols.present_proof.v2_0.formats.rst | 1 + .../aries_cloudagent.resolver.default.rst | 24 +++++ ...cloudagent.revocation_anoncreds.models.rst | 18 ++++ .../aries_cloudagent.revocation_anoncreds.rst | 42 ++++++++ docs/generated/aries_cloudagent.rst | 2 + docs/generated/aries_cloudagent.tails.rst | 8 ++ docs/generated/aries_cloudagent.vc.rst | 11 +++ .../aries_cloudagent.vc.vc_ld.models.rst | 16 +++ docs/generated/aries_cloudagent.vc.vc_ld.rst | 8 ++ docs/requirements.txt | 2 +- 23 files changed, 431 insertions(+), 1 deletion(-) create mode 100644 docs/generated/aries_cloudagent.anoncreds.default.did_indy.rst create mode 100644 docs/generated/aries_cloudagent.anoncreds.default.did_web.rst create mode 100644 docs/generated/aries_cloudagent.anoncreds.default.legacy_indy.rst create mode 100644 docs/generated/aries_cloudagent.anoncreds.default.rst create mode 100644 docs/generated/aries_cloudagent.anoncreds.models.rst create mode 100644 docs/generated/aries_cloudagent.anoncreds.rst create mode 100644 docs/generated/aries_cloudagent.protocols.issue_credential.v2_0.formats.anoncreds.rst create mode 100644 docs/generated/aries_cloudagent.protocols.present_proof.anoncreds.rst create mode 100644 docs/generated/aries_cloudagent.protocols.present_proof.v2_0.formats.anoncreds.rst create mode 100644 docs/generated/aries_cloudagent.revocation_anoncreds.models.rst create mode 100644 docs/generated/aries_cloudagent.revocation_anoncreds.rst diff --git a/docs/generated/aries_cloudagent.anoncreds.default.did_indy.rst b/docs/generated/aries_cloudagent.anoncreds.default.did_indy.rst new file mode 100644 index 0000000000..c062981cc9 --- /dev/null +++ b/docs/generated/aries_cloudagent.anoncreds.default.did_indy.rst @@ -0,0 +1,26 @@ +aries\_cloudagent.anoncreds.default.did\_indy package +===================================================== + +.. automodule:: aries_cloudagent.anoncreds.default.did_indy + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +aries\_cloudagent.anoncreds.default.did\_indy.registry module +------------------------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.default.did_indy.registry + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.default.did\_indy.routes module +----------------------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.default.did_indy.routes + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.anoncreds.default.did_web.rst b/docs/generated/aries_cloudagent.anoncreds.default.did_web.rst new file mode 100644 index 0000000000..c56821fd9b --- /dev/null +++ b/docs/generated/aries_cloudagent.anoncreds.default.did_web.rst @@ -0,0 +1,26 @@ +aries\_cloudagent.anoncreds.default.did\_web package +==================================================== + +.. automodule:: aries_cloudagent.anoncreds.default.did_web + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +aries\_cloudagent.anoncreds.default.did\_web.registry module +------------------------------------------------------------ + +.. automodule:: aries_cloudagent.anoncreds.default.did_web.registry + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.default.did\_web.routes module +---------------------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.default.did_web.routes + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.anoncreds.default.legacy_indy.rst b/docs/generated/aries_cloudagent.anoncreds.default.legacy_indy.rst new file mode 100644 index 0000000000..94d0040629 --- /dev/null +++ b/docs/generated/aries_cloudagent.anoncreds.default.legacy_indy.rst @@ -0,0 +1,26 @@ +aries\_cloudagent.anoncreds.default.legacy\_indy package +======================================================== + +.. automodule:: aries_cloudagent.anoncreds.default.legacy_indy + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +aries\_cloudagent.anoncreds.default.legacy\_indy.registry module +---------------------------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.default.legacy_indy.registry + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.default.legacy\_indy.routes module +-------------------------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.default.legacy_indy.routes + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.anoncreds.default.rst b/docs/generated/aries_cloudagent.anoncreds.default.rst new file mode 100644 index 0000000000..c0546c332a --- /dev/null +++ b/docs/generated/aries_cloudagent.anoncreds.default.rst @@ -0,0 +1,17 @@ +aries\_cloudagent.anoncreds.default package +=========================================== + +.. automodule:: aries_cloudagent.anoncreds.default + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + :maxdepth: 4 + + aries_cloudagent.anoncreds.default.did_indy + aries_cloudagent.anoncreds.default.did_web + aries_cloudagent.anoncreds.default.legacy_indy diff --git a/docs/generated/aries_cloudagent.anoncreds.models.rst b/docs/generated/aries_cloudagent.anoncreds.models.rst new file mode 100644 index 0000000000..95148e1138 --- /dev/null +++ b/docs/generated/aries_cloudagent.anoncreds.models.rst @@ -0,0 +1,34 @@ +aries\_cloudagent.anoncreds.models package +========================================== + +.. automodule:: aries_cloudagent.anoncreds.models + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +aries\_cloudagent.anoncreds.models.anoncreds\_cred\_def module +-------------------------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.models.anoncreds_cred_def + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.models.anoncreds\_revocation module +--------------------------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.models.anoncreds_revocation + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.models.anoncreds\_schema module +----------------------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.models.anoncreds_schema + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.anoncreds.rst b/docs/generated/aries_cloudagent.anoncreds.rst new file mode 100644 index 0000000000..606feb64fa --- /dev/null +++ b/docs/generated/aries_cloudagent.anoncreds.rst @@ -0,0 +1,99 @@ +aries\_cloudagent.anoncreds package +=================================== + +.. automodule:: aries_cloudagent.anoncreds + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + :maxdepth: 4 + + aries_cloudagent.anoncreds.default + aries_cloudagent.anoncreds.models + +Submodules +---------- + +aries\_cloudagent.anoncreds.base module +--------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.base + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.events module +----------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.events + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.holder module +----------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.holder + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.issuer module +----------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.issuer + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.registry module +------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.registry + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.revocation module +--------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.revocation + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.revocation\_setup module +---------------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.revocation_setup + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.routes module +----------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.routes + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.util module +--------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.util + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.anoncreds.verifier module +------------------------------------------- + +.. automodule:: aries_cloudagent.anoncreds.verifier + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.askar.rst b/docs/generated/aries_cloudagent.askar.rst index 2787ae97f8..d63692bd42 100644 --- a/docs/generated/aries_cloudagent.askar.rst +++ b/docs/generated/aries_cloudagent.askar.rst @@ -25,6 +25,14 @@ aries\_cloudagent.askar.profile module :undoc-members: :show-inheritance: +aries\_cloudagent.askar.profile\_anon module +-------------------------------------------- + +.. automodule:: aries_cloudagent.askar.profile_anon + :members: + :undoc-members: + :show-inheritance: + aries\_cloudagent.askar.store module ------------------------------------ diff --git a/docs/generated/aries_cloudagent.protocols.connections.v1_0.handlers.rst b/docs/generated/aries_cloudagent.protocols.connections.v1_0.handlers.rst index 1d74cb8497..5c52896ca6 100644 --- a/docs/generated/aries_cloudagent.protocols.connections.v1_0.handlers.rst +++ b/docs/generated/aries_cloudagent.protocols.connections.v1_0.handlers.rst @@ -32,3 +32,11 @@ aries\_cloudagent.protocols.connections.v1\_0.handlers.connection\_response\_han :members: :undoc-members: :show-inheritance: + +aries\_cloudagent.protocols.connections.v1\_0.handlers.problem\_report\_handler module +-------------------------------------------------------------------------------------- + +.. automodule:: aries_cloudagent.protocols.connections.v1_0.handlers.problem_report_handler + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.protocols.issue_credential.v2_0.formats.anoncreds.rst b/docs/generated/aries_cloudagent.protocols.issue_credential.v2_0.formats.anoncreds.rst new file mode 100644 index 0000000000..dc5f74799c --- /dev/null +++ b/docs/generated/aries_cloudagent.protocols.issue_credential.v2_0.formats.anoncreds.rst @@ -0,0 +1,18 @@ +aries\_cloudagent.protocols.issue\_credential.v2\_0.formats.anoncreds package +============================================================================= + +.. automodule:: aries_cloudagent.protocols.issue_credential.v2_0.formats.anoncreds + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +aries\_cloudagent.protocols.issue\_credential.v2\_0.formats.anoncreds.handler module +------------------------------------------------------------------------------------ + +.. automodule:: aries_cloudagent.protocols.issue_credential.v2_0.formats.anoncreds.handler + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.protocols.issue_credential.v2_0.formats.rst b/docs/generated/aries_cloudagent.protocols.issue_credential.v2_0.formats.rst index 31bc906fed..6324119ace 100644 --- a/docs/generated/aries_cloudagent.protocols.issue_credential.v2_0.formats.rst +++ b/docs/generated/aries_cloudagent.protocols.issue_credential.v2_0.formats.rst @@ -12,6 +12,7 @@ Subpackages .. toctree:: :maxdepth: 4 + aries_cloudagent.protocols.issue_credential.v2_0.formats.anoncreds aries_cloudagent.protocols.issue_credential.v2_0.formats.indy aries_cloudagent.protocols.issue_credential.v2_0.formats.ld_proof diff --git a/docs/generated/aries_cloudagent.protocols.present_proof.anoncreds.rst b/docs/generated/aries_cloudagent.protocols.present_proof.anoncreds.rst new file mode 100644 index 0000000000..ba90aaaad0 --- /dev/null +++ b/docs/generated/aries_cloudagent.protocols.present_proof.anoncreds.rst @@ -0,0 +1,18 @@ +aries\_cloudagent.protocols.present\_proof.anoncreds package +============================================================ + +.. automodule:: aries_cloudagent.protocols.present_proof.anoncreds + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +aries\_cloudagent.protocols.present\_proof.anoncreds.pres\_exch\_handler module +------------------------------------------------------------------------------- + +.. automodule:: aries_cloudagent.protocols.present_proof.anoncreds.pres_exch_handler + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.protocols.present_proof.rst b/docs/generated/aries_cloudagent.protocols.present_proof.rst index e9b69e7de6..2ef2e01968 100644 --- a/docs/generated/aries_cloudagent.protocols.present_proof.rst +++ b/docs/generated/aries_cloudagent.protocols.present_proof.rst @@ -12,6 +12,7 @@ Subpackages .. toctree:: :maxdepth: 4 + aries_cloudagent.protocols.present_proof.anoncreds aries_cloudagent.protocols.present_proof.dif aries_cloudagent.protocols.present_proof.indy aries_cloudagent.protocols.present_proof.v1_0 diff --git a/docs/generated/aries_cloudagent.protocols.present_proof.v2_0.formats.anoncreds.rst b/docs/generated/aries_cloudagent.protocols.present_proof.v2_0.formats.anoncreds.rst new file mode 100644 index 0000000000..9979d8b86c --- /dev/null +++ b/docs/generated/aries_cloudagent.protocols.present_proof.v2_0.formats.anoncreds.rst @@ -0,0 +1,18 @@ +aries\_cloudagent.protocols.present\_proof.v2\_0.formats.anoncreds package +========================================================================== + +.. automodule:: aries_cloudagent.protocols.present_proof.v2_0.formats.anoncreds + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +aries\_cloudagent.protocols.present\_proof.v2\_0.formats.anoncreds.handler module +--------------------------------------------------------------------------------- + +.. automodule:: aries_cloudagent.protocols.present_proof.v2_0.formats.anoncreds.handler + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.protocols.present_proof.v2_0.formats.rst b/docs/generated/aries_cloudagent.protocols.present_proof.v2_0.formats.rst index 5d44e018a1..1deb6968b0 100644 --- a/docs/generated/aries_cloudagent.protocols.present_proof.v2_0.formats.rst +++ b/docs/generated/aries_cloudagent.protocols.present_proof.v2_0.formats.rst @@ -12,6 +12,7 @@ Subpackages .. toctree:: :maxdepth: 4 + aries_cloudagent.protocols.present_proof.v2_0.formats.anoncreds aries_cloudagent.protocols.present_proof.v2_0.formats.dif aries_cloudagent.protocols.present_proof.v2_0.formats.indy diff --git a/docs/generated/aries_cloudagent.resolver.default.rst b/docs/generated/aries_cloudagent.resolver.default.rst index 29cbde9aba..fe7cf80729 100644 --- a/docs/generated/aries_cloudagent.resolver.default.rst +++ b/docs/generated/aries_cloudagent.resolver.default.rst @@ -17,6 +17,14 @@ aries\_cloudagent.resolver.default.indy module :undoc-members: :show-inheritance: +aries\_cloudagent.resolver.default.jwk module +--------------------------------------------- + +.. automodule:: aries_cloudagent.resolver.default.jwk + :members: + :undoc-members: + :show-inheritance: + aries\_cloudagent.resolver.default.key module --------------------------------------------- @@ -33,6 +41,14 @@ aries\_cloudagent.resolver.default.legacy\_peer module :undoc-members: :show-inheritance: +aries\_cloudagent.resolver.default.peer1 module +----------------------------------------------- + +.. automodule:: aries_cloudagent.resolver.default.peer1 + :members: + :undoc-members: + :show-inheritance: + aries\_cloudagent.resolver.default.peer2 module ----------------------------------------------- @@ -49,6 +65,14 @@ aries\_cloudagent.resolver.default.peer3 module :undoc-members: :show-inheritance: +aries\_cloudagent.resolver.default.peer4 module +----------------------------------------------- + +.. automodule:: aries_cloudagent.resolver.default.peer4 + :members: + :undoc-members: + :show-inheritance: + aries\_cloudagent.resolver.default.universal module --------------------------------------------------- diff --git a/docs/generated/aries_cloudagent.revocation_anoncreds.models.rst b/docs/generated/aries_cloudagent.revocation_anoncreds.models.rst new file mode 100644 index 0000000000..dadcad188b --- /dev/null +++ b/docs/generated/aries_cloudagent.revocation_anoncreds.models.rst @@ -0,0 +1,18 @@ +aries\_cloudagent.revocation\_anoncreds.models package +====================================================== + +.. automodule:: aries_cloudagent.revocation_anoncreds.models + :members: + :undoc-members: + :show-inheritance: + +Submodules +---------- + +aries\_cloudagent.revocation\_anoncreds.models.issuer\_cred\_rev\_record module +------------------------------------------------------------------------------- + +.. automodule:: aries_cloudagent.revocation_anoncreds.models.issuer_cred_rev_record + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.revocation_anoncreds.rst b/docs/generated/aries_cloudagent.revocation_anoncreds.rst new file mode 100644 index 0000000000..46d8574c52 --- /dev/null +++ b/docs/generated/aries_cloudagent.revocation_anoncreds.rst @@ -0,0 +1,42 @@ +aries\_cloudagent.revocation\_anoncreds package +=============================================== + +.. automodule:: aries_cloudagent.revocation_anoncreds + :members: + :undoc-members: + :show-inheritance: + +Subpackages +----------- + +.. toctree:: + :maxdepth: 4 + + aries_cloudagent.revocation_anoncreds.models + +Submodules +---------- + +aries\_cloudagent.revocation\_anoncreds.manager module +------------------------------------------------------ + +.. automodule:: aries_cloudagent.revocation_anoncreds.manager + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.revocation\_anoncreds.recover module +------------------------------------------------------ + +.. automodule:: aries_cloudagent.revocation_anoncreds.recover + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.revocation\_anoncreds.routes module +----------------------------------------------------- + +.. automodule:: aries_cloudagent.revocation_anoncreds.routes + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.rst b/docs/generated/aries_cloudagent.rst index 4e431df88e..b3d1a7de7b 100644 --- a/docs/generated/aries_cloudagent.rst +++ b/docs/generated/aries_cloudagent.rst @@ -13,6 +13,7 @@ Subpackages :maxdepth: 4 aries_cloudagent.admin + aries_cloudagent.anoncreds aries_cloudagent.askar aries_cloudagent.cache aries_cloudagent.commands @@ -28,6 +29,7 @@ Subpackages aries_cloudagent.protocols aries_cloudagent.resolver aries_cloudagent.revocation + aries_cloudagent.revocation_anoncreds aries_cloudagent.settings aries_cloudagent.storage aries_cloudagent.tails diff --git a/docs/generated/aries_cloudagent.tails.rst b/docs/generated/aries_cloudagent.tails.rst index 51e1746aee..a7fe71d5c0 100644 --- a/docs/generated/aries_cloudagent.tails.rst +++ b/docs/generated/aries_cloudagent.tails.rst @@ -9,6 +9,14 @@ aries\_cloudagent.tails package Submodules ---------- +aries\_cloudagent.tails.anoncreds\_tails\_server module +------------------------------------------------------- + +.. automodule:: aries_cloudagent.tails.anoncreds_tails_server + :members: + :undoc-members: + :show-inheritance: + aries\_cloudagent.tails.base module ----------------------------------- diff --git a/docs/generated/aries_cloudagent.vc.rst b/docs/generated/aries_cloudagent.vc.rst index f3c1e09d88..be8bc14d41 100644 --- a/docs/generated/aries_cloudagent.vc.rst +++ b/docs/generated/aries_cloudagent.vc.rst @@ -14,3 +14,14 @@ Subpackages aries_cloudagent.vc.ld_proofs aries_cloudagent.vc.vc_ld + +Submodules +---------- + +aries\_cloudagent.vc.routes module +---------------------------------- + +.. automodule:: aries_cloudagent.vc.routes + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.vc.vc_ld.models.rst b/docs/generated/aries_cloudagent.vc.vc_ld.models.rst index 83bcd876d2..b1903d02d3 100644 --- a/docs/generated/aries_cloudagent.vc.vc_ld.models.rst +++ b/docs/generated/aries_cloudagent.vc.vc_ld.models.rst @@ -24,3 +24,19 @@ aries\_cloudagent.vc.vc\_ld.models.linked\_data\_proof module :members: :undoc-members: :show-inheritance: + +aries\_cloudagent.vc.vc\_ld.models.options module +------------------------------------------------- + +.. automodule:: aries_cloudagent.vc.vc_ld.models.options + :members: + :undoc-members: + :show-inheritance: + +aries\_cloudagent.vc.vc\_ld.models.presentation module +------------------------------------------------------ + +.. automodule:: aries_cloudagent.vc.vc_ld.models.presentation + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/generated/aries_cloudagent.vc.vc_ld.rst b/docs/generated/aries_cloudagent.vc.vc_ld.rst index a89699f5cc..fe05d177f9 100644 --- a/docs/generated/aries_cloudagent.vc.vc_ld.rst +++ b/docs/generated/aries_cloudagent.vc.vc_ld.rst @@ -25,6 +25,14 @@ aries\_cloudagent.vc.vc\_ld.issue module :undoc-members: :show-inheritance: +aries\_cloudagent.vc.vc\_ld.manager module +------------------------------------------ + +.. automodule:: aries_cloudagent.vc.vc_ld.manager + :members: + :undoc-members: + :show-inheritance: + aries\_cloudagent.vc.vc\_ld.prove module ---------------------------------------- diff --git a/docs/requirements.txt b/docs/requirements.txt index 08cf22af4b..58507fdde6 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ # Defining the exact versions for ReadTheDocs that will make sure things don't break sphinx==4.2.0 sphinx_rtd_theme==1.0.0 -readthedocs-sphinx-search==0.1.1 \ No newline at end of file +readthedocs-sphinx-search==1.3.2 \ No newline at end of file