Skip to content
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

fix: allow agent wallet re-creation #1184

Merged
merged 1 commit into from
May 15, 2024

Conversation

Zzocker
Copy link
Contributor

@Zzocker Zzocker commented May 14, 2024

No description provided.

@Zzocker Zzocker force-pushed the recreate-wallet-fix branch from c1311f8 to 9a29c94 Compare May 14, 2024 08:00
Signed-off-by: Pritam Singh <pkspritam16@gmail.com>
@Zzocker Zzocker force-pushed the recreate-wallet-fix branch from 9a29c94 to 575dd92 Compare May 14, 2024 08:02
@Zzocker Zzocker changed the title fix: allow re-creation agent wallet fix: allow agent wallet re-creation May 14, 2024
Copy link
Contributor

@gmulhearn gmulhearn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. It's a little bit invisible/non-obvious that the behaviour of build_indy_wallet is to "idempotently create and open" the wallet. But this error handling fits to that behaviour (ignore re-initializing the link secret).

Also as a note/warning: the aries-vcx-agent is not meant for production use. i believe it's primary use case currently is for testing against other aries implementations in the AATH. Hopefully this is somewhat obvious by the amount of dangerous unwraps that are in these functions.

@gmulhearn gmulhearn merged commit 9e22c34 into hyperledger:main May 15, 2024
21 checks passed
@Zzocker Zzocker deleted the recreate-wallet-fix branch May 15, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants