Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1975 from KitHat/backmerge
Browse files Browse the repository at this point in the history
Backmerge RC 1.13.0
  • Loading branch information
jovfer authored Dec 6, 2019
2 parents 6079e78 + 5820495 commit ae72157
Show file tree
Hide file tree
Showing 32 changed files with 277 additions and 81 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 1.13.0 - 2019-12-03
* LibVCX Aries support:
* Implemented Connection RFC (IS-1180)
* Implemented Credential Issuance RFC (IS-1393)
* Implemented Credential Presentation RFC (IS-1394)
* Integrated Connection Protocol into Dummy Cloud Agent (IS-1392)
* Added "names" parameter to Proof Request Revealed Attributes (IS-1381)
* Bugfixes:
* Fixed bool representation in Java wrapper (IS-1368)

## 1.12.0 - 2019-10-08
* Minimal *EXPERIMENTAL* support of Fully-Qualified identifiers:
* general format of fully-qualified identifier is `<prefix>:<method>:<value>`.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ The documents that provide necessary information for Libindy migrations.
* [v1.9.0 → v1.10.x](docs/migration-guides/migration-guide-1.9.0-1.10.0.md)
* [v1.10.0 → v1.11.x](docs/migration-guides/migration-guide-1.10.0-1.11.0.md)
* [v1.11.0 → v1.12.x](docs/migration-guides/migration-guide-1.11.0-1.12.0.md)
* [v1.12.0 → v1.13.x](docs/migration-guides/migration-guide-1.12.0-1.13.0.md)

## How to Contribute
* We'd love your help; see these [HL Indy Wiki](https://wiki.hyperledger.org/display/indy/How+to+Contribute) and [slides on how to contribute](http://bit.ly/2ugd0bq).
Expand Down
23 changes: 23 additions & 0 deletions Specs/libindy/1.13.0/libindy.podspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "libindy",
"version": "1.13.0",
"summary": "Summary TODO.",
"description": "Description TODO.",
"homepage": "TODO",
"license": {
"type": "Apache License 2.0",
"file": "LICENSE"
},
"authors": {
"Daniel Hardman": "daniel.hardman@evernym.com"
},
"platforms": {
"ios": "10.0"
},
"source": {
"http": "https://repo.sovrin.org/ios/libindy/stable/libindy-core/1.13.0/libindy.tar.gz"
},
"source_files": "*.h",
"vendored_libraries": "*.a",
"requires_arc": false
}
10 changes: 5 additions & 5 deletions cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "indy-cli"
version = "1.12.0"
version = "1.13.0"
authors = ["Hyperledger Indy Contributors <hyperledger-indy@lists.hyperledger.org>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion cli/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
indy-cli (1.12.0) unstable; urgency=medium
indy-cli (1.13.0) unstable; urgency=medium

[ Hyperledger ]

Expand Down
42 changes: 42 additions & 0 deletions docs/migration-guides/migration-guide-1.12.0-1.13.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!-- markdownlint-disable MD033 -->

# Libindy 1.10 to 1.11 migration Guide

This document is written for developers using Libindy to provide necessary information and
to simplify their transition to Libindy 1.11 from Libindy 1.10. If you are using older Libindy
version you can check migration guides history:

* [Libindy 1.3 to 1.4 migration](/~https://github.com/hyperledger/indy-sdk/blob/v1.4.0/doc/migration-guide.md)
* [Libindy 1.4 to 1.5 migration](/~https://github.com/hyperledger/indy-sdk/blob/v1.5.0/doc/migration-guide-1.4.0-1.5.0.md)
* [Libindy 1.5 to 1.6 migration](/~https://github.com/hyperledger/indy-sdk/blob/v1.6.0/doc/migration-guide-1.5.0-1.6.0.md)
* [Libindy 1.6 to 1.7 migration](/~https://github.com/hyperledger/indy-sdk/blob/v1.7.0/doc/migration-guide-1.6.0-1.7.0.md)
* [Libindy 1.7 to 1.8 migration](/~https://github.com/hyperledger/indy-sdk/blob/v1.8.0/doc/migration-guide-1.7.0-1.8.0.md)
* [Libindy 1.8 to 1.9 migration](/~https://github.com/hyperledger/indy-sdk/blob/v1.9.0/docs/migration-guides/migration-guide-1.8.0-1.9.0.md)
* [Libindy 1.9 to 1.10 migration](/~https://github.com/hyperledger/indy-sdk/blob/v1.10.0/docs/migration-guides/migration-guide-1.9.0-1.10.0.md)
* [Libindy 1.10 to 1.11 migration](/~https://github.com/hyperledger/indy-sdk/blob/v1.11.0/docs/migration-guides/migration-guide-1.10.0-1.11.0.md)
* [Libindy 1.11 to 1.12 migration](/~https://github.com/hyperledger/indy-sdk/blob/v1.12.0/docs/migration-guides/migration-guide-1.11.0-1.12.0.md)

## Table of contents

* [Notes](#notes)
* [Libindy 1.12 to 1.13 migration](#libindy-112-to-113-migration)
* [Anoncreds API](#anoncreds-api)

## Libindy 1.12 to 1.13 migration

#### Anoncreds API

We have introduced some new functionality in revealed attributes -- you can specify multiple attributes in a single revealed attribute unit using parameter `names`. That way you will receive revealed attributes from a single credential. API calls that have changed:

* `indy_prover_get_credentials_for_proof_req`
* `indy_prover_search_credentials_for_proof_req`
* `indy_prover_create_proof`

Last call have a new attribute in a response -- `revealed_attr_groups` -- it contains data about revealed attribute units with `names` field.
Also, `indy_verifier_verify_proof` accepts this attribute in a `requested_proof` field.

##### Backwards compatibility

If Verifier (old) sends a proof request without `names` attribute to Prover (new) and it will receive proof without new fields.

If Verifier (new) sends a proof request with `names` attribute to Prover (old) it will not validate proof request because it will not have parameter `name` in it.
12 changes: 6 additions & 6 deletions libindy/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libindy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libindy"
version = "1.12.0"
version = "1.13.0"
authors = ["Hyperledger Indy Contributors <hyperledger-indy@lists.hyperledger.org>"]
edition = "2018"

Expand Down
21 changes: 15 additions & 6 deletions libindy/ci/setup.android.env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,21 @@ create_avd(){

yes | sdkmanager --licenses

echo "yes" |
sdkmanager --no_https \
"emulator" \
"platform-tools" \
"platforms;android-24" \
"system-images;android-24;default;${ABI}"
if [ ! -d "${ANDROID_SDK}/emulator/" ] ; then
echo "yes" |
sdkmanager --no_https \
"emulator" \
"platform-tools" \
"platforms;android-24" \
"system-images;android-24;default;${ABI}"

# TODO hack to downgrade Android Emulator. Should be removed as soon as headless mode will be fixed.
curl -o emu.zip https://dl.google.com/android/repository/emulator-linux-5889189.zip
mv emulator emulator_backup
unzip emu.zip
else
echo "Skipping sdkmanager activity"
fi

echo "${BLUE}Creating android emulator${RESET}"

Expand Down
4 changes: 2 additions & 2 deletions libindy/ci/ubuntu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ RUN pip3 install -U \
pip \
setuptools \
virtualenv \
twine \
plumbum \
twine==1.15.0 \
plumbum==1.6.7 six==1.12.0 \
deb-pkg-tools

RUN cd /tmp && \
Expand Down
2 changes: 1 addition & 1 deletion libindy/ci/ubuntu18.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN apt-get update && \
RUN pip3 install -U \
pip \
twine \
plumbum \
plumbum==1.6.7 six==1.12.0 \
deb-pkg-tools

RUN apt-get update && apt-get install -y --no-install-recommends \
Expand Down
7 changes: 5 additions & 2 deletions libindy/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
libindy (1.12.0) unstable; urgency=medium
libindy (1.13.0) unstable; urgency=medium

[ Hyperledger ]

## 1.13.0
* Added "names" parameter to Proof Request Revealed Attributes (IS-1381)

## 1.12.0
* Minimal *EXPERIMENTAL* support of Fully-Qualified identifiers:
* extended `did_info` parameter of `indy_create_and_store_my_did` function to accepts optional `method_name` filed. This field should be used to create fully qualified DID.
Expand Down Expand Up @@ -138,4 +141,4 @@ An example flow can be found here: /~https://github.com/hyperledger/indy-sdk/blob/
* Parameter `submitter_did` set as the optional field for:
* Ledger API `indy_build_get_*` functions (except `indy_build_get_validator_info_request`).
* all functions in Payment API.
* Fixed Android build rustflags for all architectures for libc linking.
* Fixed Android build rustflags for all architectures for libc linking.
10 changes: 5 additions & 5 deletions libnullpay/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libnullpay/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "null-payment-method"
version = "1.12.0"
version = "1.13.0"
authors = ["Hyperledger Indy Contributors <hyperledger-indy@lists.hyperledger.org>"]
build = "build.rs"

Expand Down
2 changes: 1 addition & 1 deletion libnullpay/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libnullpay (1.12.0) unstable; urgency=medium
libnullpay (1.13.0) unstable; urgency=medium

[ Hyperledger ]
* Initial release
22 changes: 22 additions & 0 deletions vcx/docs/migration-guide-0.4.x-0.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# LibVCX migration guide from 0.3.x to 0.4.0

## A Developer Guide for LibVCX migration

This document is written for developers using LibVCX to provide necessary information and
to simplify their transition to LibVCX 0.4 from LibVCX 0.3.x.

* [API]()
* [Vcx API](#vcx-api)

#### Vcx API

We introduced support for Aries protocols:
* Connection (/~https://github.com/hyperledger/aries-rfcs/tree/master/features/0160-connection-protocol)
* Credential Issuance (/~https://github.com/hyperledger/aries-rfcs/tree/master/features/0036-issue-credential)
* Credential Presentation (/~https://github.com/hyperledger/aries-rfcs/tree/master/features/0037-present-proof)

In general, if you were using old versions protocols in LibVCX and want to continue using them you don't need to do anything -- you can just take the new version and use it as is -- no formats or workflows were changed.

If you need to use newer versions of protocols and you are not getting any information from messages -- you need to just set "communication_protocol" value to "aries" and create new connection with agent who supports Aries. You future interaction will be defined by Aries protocols.

If you need to parse some information from messages, you need to update parsers for the new formats of messages. You can find updated message formats in Aries protocol descriptions.
8 changes: 4 additions & 4 deletions vcx/dummy-cloud-agent/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ae72157

Please sign in to comment.