Git Product home page Git Product logo

aries-acapy-tools's Introduction

This repo contains a collection of tools for interacting with an Aries Cloud Agent Python (ACAPy) wallets.

There are currently two tools available:

  • askar-upgrade - For upgrading wallets from the legacy Indy storage to the new and current Askar storage. Find the detailed description and instructions here.
  • askar-tools - More generic tools for interacting with Askar wallets such as exporting a wallet into human readable output and switching multitenant wallet types. Find the detailed description and instructions here.

aries-acapy-tools's People

Contributors

andrewwhitehead avatar dbluhm avatar dependabot[bot] avatar icc-garciaju avatar jamshale avatar rajpalc7 avatar ryjones avatar swcurran avatar wadebarnes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aries-acapy-tools's Issues

Support for convertion of MultipleWalletSingleTable to multitenant agent using managed keys

Dear team.

Currently were holders of several wallets in indy format and we are using mwst with independent agents, and we want to move to a multitenant agent, as we know the keys of all wallets, is there any way to convert them to multi tenant?

As askar doesn't support mwst, using mwst-as-stores generates a lot of databases which require a lot more space than the original.

Thanks in advance.

More verbose reporting during an upgrade

I ran a test with a small OrgBook wallet (~1800 credentials):

$ askar-upgrade --strategy dbpw --uri postgres://postgres:mysecretpassword@localhost:5433/icat_agent_wallet --wallet-name icat_agent_wallet --wallet-key key
Opening wallet with Askar...
Updating keys... 6 updated
Updating master secret(s)... 1 updated
Updating DIDs... 4 updated
Updating stored schemas... 0 updated
Updating stored credential definitions... 0 updated
Updating stored revocation registry definitions... 0 updated
Updating stored revocation registry keys... 0 updated
Updating stored revocation registry states... 0 updated
Updating stored revocation registry info... 0 updated
Updating stored credentials... 1893 updated
Closing wallet

There were two steps that took "awhile" - it took a few seconds (maybe 10 seconds?) before the Opening wallet with Askar ... message came up, and the Updating stored credentials step obviously took some amount of time.

Would be nice to see some "progress" messages to know what is happening during these intervals (or anywhere that might take longer to run)

Postgres compatibility

Looking at the current state of the implementation in this repo, it seems that the pgsql functionality is still WIP.
Is there a plan to update and implement the missing chunk of the functionality so that postgres based wallets can also be upgraded from indy to askar?

Askar support for MultiWalletSingleTable migration

This issue on the Aries-Askar repository describes the blocker for implementing a one-to-one migration of the Indy-SDK MultiWalletSingleTable setup to Askar. For lack of an exact mapping, we have implemented two options for migrating Indy-SDK wallets using MultiWalletSingleTable mode depending on whether the agents are standard or multi-tenanted. See documentation for more details on migrating the MultiWalletSingleTable setup to profiles or separate stores on the Askar side.

cc @dbluhm @burdettadam @cjhowland

Allow using a file to provide wallet keys on mwst-as-stores strategy

Currently mwst-as-stores strategy get the keys as a json structure on the command line, this is not a good approach for big structures, also, having the keys in the shell history is not a good idea.

Please add a parameter like --wallet-keys-file to allow getting the keys from a file.

How to use

Does the provided script function as expected when targeting attached sqlite wallet?

Attempting to execute the following: python ./bin/askar-upgrade.py ./faber.agent326531.db Faber.Agent372766
results in:

image

Migration to new AnonCreds object format

ACA-Py will eventually move a feature that is currently experimental to ready-for-use status: AnonCreds RS support. With this change, the migration strategy used in the wallet upgrade tool will require tweaks to migrate an Indy wallet to the new AnonCreds format.

Is this something we should worry about? It should be technically possible to upgrade using this tool as is and then use the upgrade endpoint @jamshale is working on in hyperledger/aries-cloudagent-python#2922.

cc: @swcurran

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.