aries-cloudagent-python GitHub

0.11.0 Release 0.11.0 is a relatively large release of new features, fixes, and internal updates. 0.11.0 is planned to be the last significant update before we begin the transition to using the ledger agnostic [AnonCreds Rust]( in a release that is expected to bring Admin/Controller API changes. We plan to do patches to the 0.11.x branch while the transition is made to using [Anoncreds Rust]. An important addition to ACA-Py is support for signing and verifying [SD-JWT] verifiable credentials. We expect this to be the first of the changes to extend ACA-Py to support [OpenID4VC protocols]. This release and [Release 0.10.5] contain a high priority fix to correct an issue with the handling of the JSON-LD presentation verifications, where the status of the verification of the `presentation.proof` in the Verifiable Presentation was not included when determining the verification value (`true` or `false`) of the overall presentation. A forthcoming security advisory will cover the details. **Anyone using JSON-LD presentations is recommended to upgrade to one of these versions of ACA-Py as soon as possible.** [SD-JWT]: [OpenID4VC protocols]: [Release 0.10.5]: In the CI/CD realm, substantial changes were applied to the source base in switching from: - `pip` to [Poetry]( for packaging and dependency management, - Flake8 to [Ruff]( for linting, - `asynctest` to `IsolatedAsyncioTestCase` and `AsyncMock` objects now included in Python's builtin `unittest` package for unit testing. These are necessary and important modernization changes, with the latter two triggering many (largely mechanical) changes to the codebase. ### 0.11.0 Breaking Changes In addition to the impacts of the change for developers in switching from `pip` to Poetry, the only significant breaking change is the (overdue) transition of ACA-Py to always use the new DIDComm message type prefix, changing the DID Message prefix from the old hardcoded `did:sov:BzCbsNYhMrjHiqZDTUASHg;spec` to the new hardcoded `` value, and using the new DIDComm MIME type in place of the old. The vast majority (all?) Aries deployments have long since been updated to accept both values, so this change just forces the use of the newer value in sending messages. In updating this, we retained the old configuration parameters most deployments were using (`--emit-new-didcomm-prefix` and `--emit-new-didcomm-mime-type`) but updated the code to set the configuration parameters to `true` even if the parameters were not set. See [PR \#2517]. The JSON-LD verifiable credential handling of JSON-LD contexts has been updated to pre-load the base contexts into the repository code so they are not fetched at run time. This is a security best practice for JSON-LD, and prevents errors in production when, from time to time, the JSON-LD contexts are unavailable because of outages of the web servers where they are hosted. See [PR \#2587]. A Problem Report message is now sent when a request for a credential is received and there is no associated Credential Exchange Record. This may happen, for example, if an issuer decides to delete a Credential Exchange Record that has not be answered for a long time, and the holder responds after the delete. See [PR \#2577]. [PR \#2517]: [PR \#2587]: [PR \#2577]: ## What's Changed * #2289 Migrate to Poetry by @Gavinok in * Swap out flake8 in favor of Ruff by @dbluhm in * Update Python image version to 3.9.18 by @WadeBarnes in * chore: add black back in as a dev dep by @dbluhm in * feat: add timeout to did resolver resolve method by @dbluhm in * Remove old routing protocol code by @dbluhm in * fix: issue #2434: Change DIDExchange States to Match rfc160 by @anwalker293 in * fix: version should be set by pyproject.toml by @dbluhm in * fix: unique ids for services in legacy peer by @dbluhm in * peer did 2/3 resolution by @Jsyro in * Bugfix: Issue with write ledger pool when performing Accumulator sync by @shaangill025 in * Update steps for Manually Creating Revocation Registries by @WadeBarnes in * Issue #2419 InvalidClientTaaAcceptanceError time too precise error if container timezone is not UTC by @Ennovate-com in * Update devcontainer to read version from aries-cloudagent package by @usingtechnology in * Issue #2488 KeyError raised when Subject ID is not a URI by @Ennovate-com in * fix: run tests script copying local env by @dbluhm in * Feat/sd jwt implementation by @cjhowland in * Use correct rust log level in dockerfiles by @loneil in * Remove unused dependencies by @andrewwhitehead in * Feat: Upgrade from tags and fix issue with legacy IssuerRevRegRecords [<=`v0.5.2`] by @shaangill025 in * Change arg_parse to always set --emit-new-didcomm-prefix and --emit-new-didcomm-mime-type to true by @swcurran in * Fix: Problem Report Before Exchange Established by @Ennovate-com in * refactor: drop mediator_terms and recipient_terms by @dbluhm in * Avoid multiple open wallet connections by @andrewwhitehead in * chore(deps): Bump urllib3 from 2.0.5 to 2.0.6 by @dependabot in * chore(deps): Bump urllib3 from 2.0.2 to 2.0.6 in /demo/playground/scripts by @dependabot in * chore: update pydid by @dbluhm in * :art: clarify LedgerError message when TAA is required and not accepted by @ff137 in * fix: correct minor typos by @Ennovate-com in * Update .readthedocs.yaml by @swcurran in * Update .readthedocs.yaml by @swcurran in * fix: routing behind mediator by @dbluhm in * Feat: Support subwallet upgradation using the Upgrade command by @shaangill025 in * chore(deps): Bump urllib3 from 2.0.6 to 2.0.7 by @dependabot in * fix: taa rough timestamp timezone from datetime by @dbluhm in * refactor: replace multiformats library by @dbluhm in * fix: mediation routing keys as did key by @dbluhm in * chore(deps): Bump urllib3 from 2.0.6 to 2.0.7 in /demo/playground/scripts by @dependabot in * fix: clean up requests and invites by @dbluhm in * Update demo/playground scripts by @usingtechnology in * refactor: use did-peer-2 instead of peerdid by @dbluhm in * Issue 2555 playground scripts readme by @usingtechnology in * Playground needs optionally external network by @usingtechnology in * chore: dependency updates by @dbluhm in * fix: drop asynctest by @dbluhm in * 0.11.0-rc0 by @swcurran in * chore: point to official sd-jwt lib release by @dbluhm in * 0.11.0-rc1 by @swcurran in * Dockerfile.indy - Include aries_cloudagent code into build by @usingtechnology in * Goal and Goal Code in invitation URL. by @usingtechnology in * Send Problem report when CredEx not found by @usingtechnology in * Fix Issue #2589 TypeError When There Are No Nested Requirements by @Ennovate-com in * Issue 2570 devcontainer ruff, black and pytest by @usingtechnology in * feat: use a local static cache for commonly used contexts by @chumbert in * black formatter extension configuration update by @usingtechnology in * chore: correct type hints on base record by @dbluhm in * Update shared components by @andrewwhitehead in * Default connection_id to None to account for Connectionless Proofs by @popkinj in * Feat: Per Tenant Logging by @shaangill025 in * :bug: fix wallet_update when only `extra_settings` requested by @ff137 in * 0.11.0rc2 by @swcurran in * fix: more resilient checks in verify signed attachments by @dbluhm in * fix: typos by @omahs in * fix: wallet type help text out of date by @dbluhm in * fix: report presentation result by @dbluhm in * chore: bump pydid version by @dbluhm in * 0.11.0 by @swcurran in ## New Contributors * @Ennovate-com made their first contribution in * @popkinj made their first contribution in * @omahs made their first contribution in **Full Changelog**:
View on GitHub Created At 2023-11-25 01:53:27 +0000 UTC