w3c-ccg / universal-wallet-interop-spec

A data model and abstract interfaces for digital wallets
http://w3id.org/wallet
Other
56 stars 13 forks source link

Add vs Import #92

Closed sudeshrshetty closed 3 years ago

sudeshrshetty commented 3 years ago

in latest spec, new interface add looks similar to import. Is it intentional ?

sudeshrshetty commented 3 years ago

ping @OR13

OR13 commented 3 years ago

The intention with add is to push one or more content items into a a wallet, whereas import is intended to take an encrypted wallet and produce a wallet instance from the encrypted content.

These distinctions should probably be made clearer.

certainly wallets need interfaces to add and remove content.

and you might import an encrypted wallet, add content, and then export it.

sudeshrshetty commented 3 years ago

agreed, closing issue