Skip to content

Commit

Permalink
Merge pull request hyperledger-indy#2105 from Artemkaaas/indy-1.14.3
Browse files Browse the repository at this point in the history
IS-1495: Release Indy SDK 1.14.3
  • Loading branch information
jovfer authored Feb 28, 2020
2 parents 19dee23 + 455ab88 commit 36b69f6
Show file tree
Hide file tree
Showing 253 changed files with 11,233 additions and 5,984 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.14.3 - 2020-02-28
* LibVCX:
* Removed `connection_handle` from functions to get protocol messages.
* Added ability to accept a duplicate connection by redirecting to the already existing one instead of forming a duplicate connection.
* Added a new function `vcx_disclosed_proof_decline_presentation_request` to explicitly reject a presentation request.
* Added a new function `vcx_connection_info` to get information about connection.
* Bugfixes
* Fix proof verification in case of credential attribute encoded value contains leading zeros (IS-1491).
* others minor bugfixes

## 1.14.2 - 2020-01-31
* LibVCX Aries support:
* Implemented Basic Message RFC (IS-1189)
Expand Down
10 changes: 6 additions & 4 deletions Jenkinsfile.cd
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ def linuxVcxBuild(file, env_name, network_name) {
testEnv.inside("--network=${network_name}") {
sh '''
cd vcx/dummy-cloud-agent
sed -i 's/\\("protocol_type": "\\)2.0/\\11.0/' config/sample-config.json
LIBRARY_PATH=./ LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_BACKTRACE=1 RUST_LOG=indy=info cargo run config/sample-config.json &
'''

Expand Down Expand Up @@ -825,10 +826,11 @@ def iosTesting() {
sh "rm -f wrappers/ios/libindy-pod/Pods/libindy/*.[ah]"
sh "cp libindy/out_pod/*.[ah] wrappers/ios/libindy-pod/Pods/libindy"

dir('wrappers/ios/libindy-pod') {
echo "iOS Test: Testing"
sh "xcodebuild test -workspace Indy.xcworkspace -scheme Indy-demo -destination 'platform=iOS Simulator,name=iPhone X IndySDK,OS=11.2'"
}
// FIXME restore Xcode testing
// dir('wrappers/ios/libindy-pod') {
// echo "iOS Test: Testing"
// sh "xcodebuild test -workspace Indy.xcworkspace -scheme Indy-demo -destination 'platform=iOS Simulator,name=iPhone X IndySDK,OS=11.2'"
// }

stash includes: 'libindy/out_pod/libindy.tar.gz', name: "LibindyUniversalIOSPod"

Expand Down
13 changes: 8 additions & 5 deletions Jenkinsfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,11 @@ def iosTesting() {
sh "rm -f wrappers/ios/libindy-pod/Pods/libindy/*.[ah]"
sh "cp libindy/out_pod/*.[ah] wrappers/ios/libindy-pod/Pods/libindy"

dir('wrappers/ios/libindy-pod') {
echo "iOS Test: Testing"
sh "xcodebuild test -workspace Indy.xcworkspace -scheme Indy-demo -destination 'platform=iOS Simulator,name=iPhone X IndySDK,OS=11.2'"
}
// FIXME restore Xcode testing
// dir('wrappers/ios/libindy-pod') {
// echo "iOS Test: Testing"
// sh "xcodebuild test -workspace Indy.xcworkspace -scheme Indy-demo -destination 'platform=iOS Simulator,name=iPhone X IndySDK,OS=11.2'"
// }
}
} finally {
try {
Expand Down Expand Up @@ -556,6 +557,8 @@ def linuxVcxBuild(file, env_name, network_name) {
testEnv.inside("--network=${network_name}") {
sh '''
cd vcx/dummy-cloud-agent
sed -i 's/\\("protocol_type": "\\)2.0/\\11.0/' config/sample-config.json
LIBRARY_PATH=./ LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_BACKTRACE=1 RUST_LOG=indy=info cargo build
LIBRARY_PATH=./ LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_BACKTRACE=1 RUST_LOG=indy=info cargo run config/sample-config.json &
'''

Expand All @@ -573,7 +576,7 @@ def linuxVcxBuild(file, env_name, network_name) {
LIBRARY_PATH=./ LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_BACKTRACE=1 RUST_LOG=indy=info cargo run config/sample-config.json &
'''

echo "${env_name} Libvcx Test: Run tests"
echo "${env_name} Libvcx Test: Run vcx demo test for protocol version 2.0"
// TODO in Rust 1.39.0 there was a problem with test name before "--". Temporary put test name after it.
sh '''
cd vcx/libvcx
Expand Down
23 changes: 23 additions & 0 deletions Specs/libindy/1.14.3/libindy.podspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "libindy",
"version": "1.14.3",
"summary": "Summary TODO.",
"description": "Description TODO.",
"homepage": "TODO",
"license": {
"type": "Apache License 2.0",
"file": "LICENSE"
},
"authors": {
"Daniel Hardman": "[email protected]"
},
"platforms": {
"ios": "10.0"
},
"source": {
"http": "https://repo.sovrin.org/ios/libindy/stable/libindy-core/1.14.3/libindy.tar.gz"
},
"source_files": "*.h",
"vendored_libraries": "*.a",
"requires_arc": false
}
50 changes: 50 additions & 0 deletions Specs/vcx/0.0.131/vcx.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# Be sure to run `pod lib lint vcx.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

# NOTE: UPDATE ME: versions of libraries in this cocoapod
# libindy 1.12.0 stable
# libnullpay 1.12.0 stable
# libsovtoken 1.0.3-201910091207-1c7ff32 stable
# libvcx 0.4.62234142-eaac3cb

Pod::Spec.new do |s|
s.name = 'vcx'
s.version = '0.0.131'
s.summary = 'The Objective-C wrapper around the libvcx shared library.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
The ConnectMe mobile app on the iOS platform will call into the libvcx shared library
from Objective-C. This pod is a very thin Objective-C wrapper that allows react native to call
through to the libvcx shared library.
DESC

s.homepage = 'https://www.evernym.com/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'evernym-ios-dev' => '[email protected]' }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.libvcxpartial_0.4.62230738-eaac3cbd4_universal.zip' }

s.ios.deployment_target = '8.0'

#s.source_files = '**/vcx/Classes/**/*','**/Example/Classes/**/*'

# s.resource_bundles = {
# 'vcx' => ['**/vcx/Assets/*.png']
# }
s.ios.vendored_frameworks="vcx/vcx.framework"
s.compiler_flags = '-ObjC'
s.public_header_files = 'vcx/vcx.framework/include/*.h'
s.ios.vendored_library = 'vcx/vcx.framework/lib/libvcx.a'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
50 changes: 50 additions & 0 deletions Specs/vcx/0.0.132/vcx.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# Be sure to run `pod lib lint vcx.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

# NOTE: UPDATE ME: versions of libraries in this cocoapod
# libindy 1.12.0 stable
# libnullpay 1.12.0 stable
# libsovtoken 1.0.3-201910091207-1c7ff32 stable
# libvcx 0.4.62230738-eaac3cbd4

Pod::Spec.new do |s|
s.name = 'vcx'
s.version = '0.0.132'
s.summary = 'The Objective-C wrapper around the libvcx shared library.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
The ConnectMe mobile app on the iOS platform will call into the libvcx shared library
from Objective-C. This pod is a very thin Objective-C wrapper that allows react native to call
through to the libvcx shared library.
DESC

s.homepage = 'https://www.evernym.com/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'evernym-ios-dev' => '[email protected]' }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.libvcxall_0.4.62230738-eaac3cbd4_universal.zip' }

s.ios.deployment_target = '8.0'

#s.source_files = '**/vcx/Classes/**/*','**/Example/Classes/**/*'

# s.resource_bundles = {
# 'vcx' => ['**/vcx/Assets/*.png']
# }
s.ios.vendored_frameworks="vcx/vcx.framework"
s.compiler_flags = '-ObjC'
s.public_header_files = 'vcx/vcx.framework/include/*.h'
s.ios.vendored_library = 'vcx/vcx.framework/lib/libvcx.a'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
50 changes: 50 additions & 0 deletions Specs/vcx/0.0.133/vcx.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# Be sure to run `pod lib lint vcx.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

# NOTE: UPDATE ME: versions of libraries in this cocoapod
# libindy 1.12.0 stable
# libnullpay 1.12.0 stable
# libsovtoken 1.0.3-201910091207-1c7ff32 stable
# libvcx 0.4.62838207-cf3dabf55

Pod::Spec.new do |s|
s.name = 'vcx'
s.version = '0.0.133'
s.summary = 'The Objective-C wrapper around the libvcx shared library.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
The ConnectMe mobile app on the iOS platform will call into the libvcx shared library
from Objective-C. This pod is a very thin Objective-C wrapper that allows react native to call
through to the libvcx shared library.
DESC

s.homepage = 'https://www.evernym.com/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'evernym-ios-dev' => '[email protected]' }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.libvcxpartial_0.4.62838207-cf3dabf55_universal.zip' }

s.ios.deployment_target = '8.0'

#s.source_files = '**/vcx/Classes/**/*','**/Example/Classes/**/*'

# s.resource_bundles = {
# 'vcx' => ['**/vcx/Assets/*.png']
# }
s.ios.vendored_frameworks="vcx/vcx.framework"
s.compiler_flags = '-ObjC'
s.public_header_files = 'vcx/vcx.framework/include/*.h'
s.ios.vendored_library = 'vcx/vcx.framework/lib/libvcx.a'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
50 changes: 50 additions & 0 deletions Specs/vcx/0.0.134/vcx.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# Be sure to run `pod lib lint vcx.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

# NOTE: UPDATE ME: versions of libraries in this cocoapod
# libindy 1.12.0 stable
# libnullpay 1.12.0 stable
# libsovtoken 1.0.3-201910091207-1c7ff32 stable
# libvcx 0.4.62838207-cf3dabf55

Pod::Spec.new do |s|
s.name = 'vcx'
s.version = '0.0.134'
s.summary = 'The Objective-C wrapper around the libvcx shared library.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
The ConnectMe mobile app on the iOS platform will call into the libvcx shared library
from Objective-C. This pod is a very thin Objective-C wrapper that allows react native to call
through to the libvcx shared library.
DESC

s.homepage = 'https://www.evernym.com/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'evernym-ios-dev' => '[email protected]' }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.libvcxall_0.4.62838207-cf3dabf55_universal.zip' }

s.ios.deployment_target = '8.0'

#s.source_files = '**/vcx/Classes/**/*','**/Example/Classes/**/*'

# s.resource_bundles = {
# 'vcx' => ['**/vcx/Assets/*.png']
# }
s.ios.vendored_frameworks="vcx/vcx.framework"
s.compiler_flags = '-ObjC'
s.public_header_files = 'vcx/vcx.framework/include/*.h'
s.ios.vendored_library = 'vcx/vcx.framework/lib/libvcx.a'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
3 changes: 2 additions & 1 deletion ci/deb-build-and-upload.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
set -x

if [ "$1" = "--help" ] ; then
echo "Usage: <package> <version> <key> <type> <suffix> <repo> <host> <key> <package_type> <extra_flags>"
echo "Usage: <package> <version> <type> <suffix> <repo> <host> <key> <package_type> <extra_flags>"
return
fi

Expand All @@ -28,6 +28,7 @@ extra_flags="$9"
[ -z $package_type ] && exit 8

sed -i -E -e 'H;1h;$!d;x' -e "s/$package ([(,),0-9,.]+)/$package ($version$suffix)/" debian/changelog
sed -i -e "s/RELEASE=\(%RELEASE%\)/RELEASE=$type/" debian/postinst

dpkg-buildpackage -tc

Expand Down
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.

4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "indy-cli"
version = "1.14.2"
version = "1.14.3"
authors = ["Hyperledger Indy Contributors <[email protected]>"]
edition = "2018"

Expand Down Expand Up @@ -29,4 +29,4 @@ serde_json = "1.0.40"
serde_derive = "1.0.97"
term = "0.4.6"
rpassword = "1.0.0"
indy = { version = "1.14.2", path = "../wrappers/rust/" }
indy = { version = "1.14.3", path = "../wrappers/rust/" }
5 changes: 4 additions & 1 deletion cli/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
indy-cli (1.14.2) unstable; urgency=medium
indy-cli (1.14.3) unstable; urgency=medium

[ Hyperledger ]

## 1.14.3
* Bugfixes

## 1.14.2
* Added new command `pool set-protocol-version` to set a protocol version that will be used for ledger requests (IS-1391).
* Added new command `payment-address new` that does exactly the same work as the existing `payment-address create` command.
Expand Down
Loading

0 comments on commit 36b69f6

Please sign in to comment.