[2023-06-13 13:40.30 +0200]
homework: @ Slack
Status:
- [x] checkout repo
- [x] run unit tests
- [ ] run integration tests:
- [?] run locally instance of Indy blockchain in docker
- [x] install some runtime dependencies like libzmq, libsodium, libopenssl
- [?] run instance of our legacy aries mediator service
Updates:
- I've summarised my steps for above in a blog post on setting up aries-vcx (build, test)
steps-to-get-started-developing-with-aries-vcx - Read about and looked into some of the information about Aries. A blog post with summary of last session and some additional content.
aries-mediator-service-intro-and-motivation
Questions:
- I have found some scripts to run indy testnet here.
https://github.com/hyperledger/indy-node/tree/main/environment/docker/pool
Is that what needs done? How will that then integrate with the test. (As in how to inform test to use that testnet?)
Immediate Todo:
- Run instance of legacy aries mediator service.
[?? facing someyarn install
errors, see status here] - Read through DIDComm, mediator/relay rfc and pickup protocol.
Some Noted Observations:
I did get the unit tests to run, and they do succeed.
However I am also seeing some dynamic errors: Sometimes there's error, sometimes not.
Success
test result: ok. 65 passed; 0 failed; 23 ignored; 0 measured; 0 filtered out; finished in 0.02s
Failure
failures:
common::proofs::prover::prover_internal::unit_tests::test_find_credential_def_fails
common::proofs::prover::prover_internal::unit_tests::test_find_schemas_fails
test result: FAILED. 63 passed; 2 failed; 23 ignored; 0 measured; 0 filtered out; finished in 0.01s
Alternate Failures
failures:
common::proofs::prover::prover_internal::unit_tests::test_find_schemas_fails
test result: FAILED. 64 passed; 1 failed; 23 ignored; 0 measured; 0 filtered out; finished in 0.02s
failures:
common::proofs::prover::prover_internal::unit_tests::test_find_credential_def_fails
test result: FAILED. 64 passed; 1 failed; 23 ignored; 0 measured; 0 filtered out; finished in 0.02s
Resolution: I have been informed that these tests are no longer required, including for completely different reasons, and can be safely removed.
[2023-06-14 13:31.27 +0000]
Roadblock:
Can't seem to install dependencies of vcxagency-node
on yarn install
...
error /home/nain/Distroboxes/aries-lfx23.box/vcxagencynode/vcxagency-node/node_modules/vdr-tools: Command failed.
...
make: *** [vdrtools.target.mk:148: Release/obj.target/vdrtools.node] Error 1
make: Leaving directory '/home/nain/Distroboxes/aries-lfx23.box/vcxagencynode/vcxagency-node/node_modules/vdr-tools/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/nain/Distroboxes/aries-lfx23.box/vcxagencynode/vcxagency-node/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:513:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 6.3.6-200.fc38.x86_64
gyp ERR! command "/home/nain/Distroboxes/aries-lfx23.box/.local/share/fnm/node-versions/v18.16.0/installation/bin/node" "/home/nain/Distroboxes/aries-lfx23.box/vcxagencynode/vcxagency-node/node_modules/vdr-tools/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /home/nain/Distroboxes/aries-lfx23.box/vcxagencynode/vcxagency-node/node_modules/vdr-tools
...
[2023-06-16 07:34.39 +0000]
Relevant Reading:
DIDComm V1:
- RFC 0160: Connection Protocol
- Aries RFC 0023: DID Exchange Protocol 1.0 (supercedes above)
Mediation / Relay:
- Aries RFC 0046: Mediators and Relays ~ Mediator, relay semntics (Fun read)
- RFC 0212: Pickup Protocol ~ Pickup Protocol for above
DIDComm V1 questions:
- Encryption Envelope? (mentioned here)
Questions:
- Pickup Protocol.
- Q. Why Noop method?
[2023-06-16 08:44.52 +0000]
Meeting mins: