-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile Backchannel support for other frameworks besides Aca-py #560
Comments
There might be an issue with Dotnet not getting the Credential. AFJ can receive the credential but no presentation request. Maybe changing the flow of The connection steps in the feature file may get us close to having other frameworks working with the mobile backchannel. |
…ction steps to improve mobile testing flow Signed-off-by: Patrick St-Louis <patrick.st-louis@idlab.org>
I submitted PR #586 addressing the second task of this issue. After changing the order of the connection, I was able to successfully complete a mobile test with a combination of acapy/javascript/mobile backchannels in different roles. Dotnet is still giving me an issue I was however able to further investigate what was the issue and its related to the timeout after sending an invitation. It marks the step as failed 5 seconds after sending the invitation. By the time the QR code is displayed on the terminal it is already too late an instantly fails, preventing the rest of the scenario to complete. To fix this the dotnet backchannel will need a longer timeout before marking the connection as failed. Currently unable to build afgo backchannel. |
Thanks Patrick, this is great news. Did you attempt to try those tests with reordered steps with non-mobile backchannels? If not, I'll see if I can try it with your changes later today. |
I didn't test it with non-mobile backchannel myself. However the PR did test it as a check, here's the job details. |
I identified 3 issues with other backchannels:
|
Great work guys! I'll try to track along with your changes so that in the future I can contribute to the solution. |
|
…ction steps to improve mobile testing flow Signed-off-by: Patrick St-Louis <patrick.st-louis@idlab.org>
…e mobile testing flow Signed-off-by: Patrick St-Louis <patrick.st-louis@idlab.org>
Mobile backchannel rework to integrate with other Aries frameworks.
Right now the Mobile Backchannel is an ACA-Py BackchannelThe mobile backchannel is just a backchannel that captures test calls to the Holder and does mobile things like display a QR code and wait for scanning. In theory, this already allows for other frameworks to act as Issuer and Verifier. It has been tried and there are issues when doing this with other frameworks besides Aca-py. Investigation is required to nail down the exact issues with the other backchannels/frameworks when used in the context of the Mobile Tests. It may be that this ticket breaks out into specific issues for each framework backchannel to fix issues there.
Proposal:
Need to refactor the Mobile Backchannel to be a facade/interface over any existing backchannel.Have a command line option that makes one of the used agents a mobile agent, which places the facade over that backchannel and does mobile "things", like wait for QR code scanning, etc.Tasks:
The text was updated successfully, but these errors were encountered: