From 6b619910e8d4242c8950ea6f1713d760e1771868 Mon Sep 17 00:00:00 2001 From: James Ebert Date: Mon, 22 Jul 2024 22:16:17 -0700 Subject: [PATCH] chore: release 0.65.0 Signed-off-by: James Ebert --- Cargo.lock | 20 +++++------ Cargo.toml | 3 +- .../src/controllers/general.rs | 2 +- aries/aries_vcx/README.md | 33 ++++++++++++------- did_core/did_methods/did_peer/README.md | 2 +- did_core/did_parser_nom/README.md | 2 +- 6 files changed, 35 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c464199947..72536ed0ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -486,7 +486,7 @@ dependencies = [ [[package]] name = "aries-vcx-agent" -version = "0.64.0" +version = "0.65.0" dependencies = [ "anoncreds_types", "aries_vcx", @@ -531,7 +531,7 @@ dependencies = [ [[package]] name = "aries_vcx" -version = "0.64.0" +version = "0.65.0" dependencies = [ "anoncreds_types", "aries_vcx_anoncreds", @@ -580,7 +580,7 @@ dependencies = [ [[package]] name = "aries_vcx_anoncreds" -version = "0.64.0" +version = "0.65.0" dependencies = [ "anoncreds", "anoncreds_types", @@ -599,7 +599,7 @@ dependencies = [ [[package]] name = "aries_vcx_ledger" -version = "0.64.0" +version = "0.65.0" dependencies = [ "anoncreds_types", "aries_vcx_wallet", @@ -620,7 +620,7 @@ dependencies = [ [[package]] name = "aries_vcx_wallet" -version = "0.64.0" +version = "0.65.0" dependencies = [ "anyhow", "aries-askar", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "diddoc_legacy" -version = "0.64.0" +version = "0.65.0" dependencies = [ "display_as_json", "serde", @@ -3642,7 +3642,7 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "messages" -version = "0.64.0" +version = "0.65.0" dependencies = [ "chrono", "derive_more", @@ -5015,7 +5015,7 @@ dependencies = [ [[package]] name = "shared" -version = "0.64.0" +version = "0.65.0" dependencies = [ "bs58", "lazy_static", @@ -5556,7 +5556,7 @@ dependencies = [ [[package]] name = "test_utils" -version = "0.64.0" +version = "0.65.0" dependencies = [ "anoncreds_types", "aries_vcx_anoncreds", @@ -5998,7 +5998,7 @@ dependencies = [ [[package]] name = "uniffi_aries_vcx" -version = "0.64.0" +version = "0.65.0" dependencies = [ "android_logger", "aries_vcx", diff --git a/Cargo.toml b/Cargo.toml index ac5a8b1d91..fbcdea788c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ members = [ ] [workspace.package] -version = "0.64.0" +version = "0.65.0" authors = [ "Absa Group Limited", "Hyperledger Indy Contributors ", @@ -73,4 +73,3 @@ unused_import_braces = "warn" unused_lifetimes = "warn" unused_qualifications = "warn" let_underscore_drop = "allow" - diff --git a/aries/agents/aath-backchannel/src/controllers/general.rs b/aries/agents/aath-backchannel/src/controllers/general.rs index 2e6ec6f7b7..9bc394d42b 100644 --- a/aries/agents/aath-backchannel/src/controllers/general.rs +++ b/aries/agents/aath-backchannel/src/controllers/general.rs @@ -28,7 +28,7 @@ pub async fn get_status(agent: web::Data>) -> impl Responde #[get("/version")] pub async fn get_version() -> impl Responder { // Update this with aries-vcx - HttpResponse::Ok().body("0.64.0") + HttpResponse::Ok().body("0.65.0") } #[get("/did")] diff --git a/aries/aries_vcx/README.md b/aries/aries_vcx/README.md index 8d3269a695..cb9df708d1 100644 --- a/aries/aries_vcx/README.md +++ b/aries/aries_vcx/README.md @@ -1,43 +1,52 @@ # `aries_vcx` crate -Provides basic tools to build didcomm/aries enabled application in Rust. This can include native mobile apps, or -webservers for VC issuance/verification, didcomm mediator service etc. + +Provides basic tools to build didcomm/aries enabled application in Rust. This can include native mobile apps, or +webservers for VC issuance/verification, didcomm mediator service etc. #### What this crate can do for you + - Create encrypted wallet. - Read/write from/to Indy ledger. - Establish didcomm connections and exchange messages. - Create and process Aries messages to drive Aries protocols (especially for VC issuance and presentation). #### What does crate does NOT DO for you -- Provide message outbounds - `aries_vcx` helps you to create correct response & encrypt it, but you have to take care + +- Provide message outbounds - `aries_vcx` helps you to create correct response & encrypt it, but you have to take care of sending it to the right place. - Automatic inbound processing - you have to take care of receiving messages and passing them to `aries_vcx` for processing. You need to keep track of your ongoing aries "conversations" and match incoming messages (typically based on message thread id). # Getting started + To use `aries_vcx` in your project, you need to add GitHub dependency to your `Cargo.toml`, and best define a version through a `tag`: + ```toml -aries-vcx = { tag = "0.64.0", git = "https://github.com/hyperledger/aries-vcx" } +aries-vcx = { tag = "0.65.0", git = "https://github.com/hyperledger/aries-vcx" } ``` + It's also advisable to follow these [instructions](TUTORIAL.md) to check your environment is properly configured. # Projects built with aries-vcx + - [mediator](../agents/rust/mediator) - Message mediator web service, useful for mobile device to receive messages while the device is offline. - [unifii_aries_vcx](../../uniffi_aries_vcx) - Mobile wrapper to autogenerate Swift and Kotlin wrappers. Also comes with sample native mobile app. - [aries-vcx-agent](../agents/rust/aries-vcx-agent) - Sample agent framework adding persistence and message matching on top of `aries_vcx`. Used for cross-compatibility testing with other aries implementations. ## Implemented Aries protocols -* ✅ Connection Protocol 1.0: [`https://didcomm.org/connections/1.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0160-connection-protocol) -* ✅ Out of Band 1.1: [`https://didcomm.org/out-of-band/1.1/*`](https://github.com/hyperledger/aries-rfcs/blob/main/features/0434-outofband) -* ✅ Basic Message 1.0: [`https://didcomm.org/basicmessage/1.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0095-basic-message) -* ✅ Credential Issuance 1.0 [`https://didcomm.org/issue-credential/1.0/*`](https://github.com/hyperledger/aries-rfcs/blob/master/features/0036-issue-credential) -* ✅ Credential Presentation 1.0: [`https://didcomm.org/present-proof/1.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0037-present-proof) -* ✅ Trust Ping 1.0: [`https://didcomm.org/trust_ping/1.0/*`](https://github.com/hyperledger/aries-rfcs/blob/master/features/0048-trust-ping/README.md) -* ✅ Discover Features 1.0: [`https://didcomm.org/discover-features/1.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0031-discover-features) -* ✅ Revocation notification 2.0: [`https://didcomm.org/revocation_notification/2.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0031-discover-features) + +- ✅ Connection Protocol 1.0: [`https://didcomm.org/connections/1.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0160-connection-protocol) +- ✅ Out of Band 1.1: [`https://didcomm.org/out-of-band/1.1/*`](https://github.com/hyperledger/aries-rfcs/blob/main/features/0434-outofband) +- ✅ Basic Message 1.0: [`https://didcomm.org/basicmessage/1.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0095-basic-message) +- ✅ Credential Issuance 1.0 [`https://didcomm.org/issue-credential/1.0/*`](https://github.com/hyperledger/aries-rfcs/blob/master/features/0036-issue-credential) +- ✅ Credential Presentation 1.0: [`https://didcomm.org/present-proof/1.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0037-present-proof) +- ✅ Trust Ping 1.0: [`https://didcomm.org/trust_ping/1.0/*`](https://github.com/hyperledger/aries-rfcs/blob/master/features/0048-trust-ping/README.md) +- ✅ Discover Features 1.0: [`https://didcomm.org/discover-features/1.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0031-discover-features) +- ✅ Revocation notification 2.0: [`https://didcomm.org/revocation_notification/2.0/*`](https://github.com/hyperledger/aries-rfcs/tree/master/features/0031-discover-features) ### State machines guidelines + Please follow these [guidelines](docs/guidelines.md) when implementing new state machines. ## Architecture diff --git a/did_core/did_methods/did_peer/README.md b/did_core/did_methods/did_peer/README.md index fb439664b1..a398c7767a 100644 --- a/did_core/did_methods/did_peer/README.md +++ b/did_core/did_methods/did_peer/README.md @@ -23,7 +23,7 @@ Add the Peer DID library as a dependency in your `Cargo.toml` file: ```toml [dependencies] -peer_did = { tag = "0.64.0", git = "https://github.com/hyperledger/aries-vcx" } +peer_did = { tag = "0.65.0", git = "https://github.com/hyperledger/aries-vcx" } ``` ## Demo diff --git a/did_core/did_parser_nom/README.md b/did_core/did_parser_nom/README.md index ece6798415..c45e476337 100644 --- a/did_core/did_parser_nom/README.md +++ b/did_core/did_parser_nom/README.md @@ -17,5 +17,5 @@ Add the did_parser library as a dependency in your `Cargo.toml` file: ```toml [dependencies] -did_parser_nom = { tag = "0.64.0", git = "https://github.com/hyperledger/aries-vcx" } +did_parser_nom = { tag = "0.65.0", git = "https://github.com/hyperledger/aries-vcx" } ```