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

[Task] Add Import Functionality for existing IotaDocument + private keys to Account #475

Open
2 of 3 tasks
PhilippGackstatter opened this issue Nov 1, 2021 · 0 comments

Comments

@PhilippGackstatter
Copy link
Contributor

PhilippGackstatter commented Nov 1, 2021

Description

EDIT: Description outdated as most tasks where finished long ago. Last to-do item still is open though.

As was discussed in #419, the low-level API will be accessible via "Option 2", a mutable DID Document to be returned by the Account. This function will return either an IotaDocument directly or an IdentityState, depending on #462.

Additionally, a publish_unchecked method is needed, to publish a mutated document directly, to bypass the regular account functionality, like automatic signing and figuring out whether to publish as diff or int. It should be possible to force publish as an integration message, but not as a diff message. This should also allow modifying the document's metadata.

In addition, the Account will need to be able to import a DID Document, publish it to the Tangle, storing it in the Storage adapter and loading it back into the Account. All these actions should try to avoid putting restrictions on the state of the DID Document, such that developers have more freedom than just the Account. It needs to be researched how we can allow DID Documents with a state that the Account doesn't understand to once again become part of the Account.

Motivation

Right now, the low-level API for DID Document management does not overlap with the Account API. This means that either API must be chosen for the management of the Identity for the entire application. This Issue helps to make the API that is used interchangeable.

Resources

To-do list

Create a task-specific to-do list . Please link PRs that match the To-do list item behind the item after it has been submitted.

@PhilippGackstatter PhilippGackstatter self-assigned this Dec 1, 2021
@JelleMillenaar JelleMillenaar changed the title [Task] Provide low-level API access from within Account [Task] Add Import Functionality for existing IotaDocument + private keys to Account Jan 25, 2022
@JelleMillenaar JelleMillenaar added this to the v0.6 Features milestone Jan 25, 2022
@eike-hass eike-hass modified the milestones: v0.6 Features, v0.7 Features Jun 8, 2022
@PhilippGackstatter PhilippGackstatter removed their assignment Jun 22, 2022
@eike-hass eike-hass removed this from the v0.7 Features milestone Dec 11, 2023
@eike-hass eike-hass moved this from Sprint Backlog to Product Backlog in IOTA Identity - Framework Developments Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Product Backlog
Development

No branches or pull requests

3 participants