aries-rfcs icon indicating copy to clipboard operation
aries-rfcs copied to clipboard

Aries agent export data format?

Open swcurran opened this issue 5 years ago • 4 comments

An issue was raised in the ACA-Py repo about the need to track with a credential the ID of the connection that was used in issuing the credential. While an ACA-Py specific solution could be created, it raises the more general question about what data should be stored about credentials and connections so that the data is portable -- can be exported from one Aries instance and imported into another. As we start to implement Aries-level storage, we should discuss and document what expectations should be on all implementations and what is left to a specific implementation.

Another way of looking at this: what is the export data format for Aries agent storage?

swcurran avatar May 18 '20 14:05 swcurran

Not sure we'll be able to comply (I haven't even investigated), but I think we should take some inspiration at the least from this project. https://datatransferproject.dev/

If we can conform to what they're doing that would be pretty amazing I would think.

kdenhartog avatar May 20 '20 21:05 kdenhartog

The Indy wallet already documents a streamable, encrypted export format for all wallets (and a corresponding import operation). Do we have any reason not to use it? I think it would adapt easily to wallets or KMSes that use other internal data formats...

dhh1128 avatar May 27 '20 04:05 dhh1128

I see a similar problem with the basic message and from, to attributes. It's not part of a message in the basic message protocol (for a good reason not bloating up message with too much information), but I would like to keep and export/import such information anyway to be portable across different chat application implementations. It was discussed a little bit in #416.

jakubkoci avatar May 27 '20 08:05 jakubkoci

Discussed in Aries WG Call 2020-05-27. Notes: https://hackmd.io/NbQthk4xTACvBSEclxTShA

TelegramSam avatar May 27 '20 20:05 TelegramSam