Patchwork: Dark Crystal Integration - Phase 1

Created on 13 Mar 2019  Â·  27Comments  Â·  Source: ssbc/patchwork

Shard and share your .ssb/secret and your gossip.json directly in Patchwork. As discussed with @mmckegg, this will be a 3 phase integration, allowing users to:

  • (a) backup their identity with their peers
  • (b) reclaim their old identity from their custodians using a newly generated identity after it has been lost (lost / broken laptop).
  • (c) restart Patchwork as the new identity, which automates reintegrating the recovered identity. Gives the user the option to remove or backup the identity in use.

Phase 1

Backup your identity with your peers

Deliverables

Backend

  • [x] Extend the shard schema to accept a blob reference to gossip.json file in ssb-dark-crystal-schema
  • [x] Extend the shard publish action params in scuttle-dark-crystal to accept a blob reference
  • [x] Ensure the file is encrypted when creating a dark crystal

UI

  • [x] Draw some wireframes and run them by @mmckegg (upload here...)
  • [x] CSS! Consult Matt to make sure it fits with Patchwork's overall style

Required functionality

  • [x] Add a Back up button to the /settings page which:
  • [x] Opens a modal containing a form that takes 2 inputs: a list of custodians and a quorum
  • [x] Form submission performs the following

    • [x] Load the entire .ssb/secret and stringify the JSON - this is the secret

    • [x] Load, encrypts and generate a blob ID for the gossip.json file

    • [x] Uses scuttle-dark-crystal to publish the message with SSB Identity as the name.

  • [x] Add details about any existing backup so users can see that they've successfully backed up their identity - current custodians and the quorum required.

Backlinks:

Phase 2 - https://github.com/ssbc/patchwork/issues/953
Phase 3 - https://github.com/ssbc/patchwork/issues/954

stale enhancement

All 27 comments

@KGibb8

Extend the root or the ritual schema to accept a blob reference to gossip.json file in ssb-dark-crystal-schema

This excites me, as allowing bigger secrets by using blobs is something we've often talked about but never managed to make happen. and i think it would be a great feature to have.

But i would argue that since the purpose of this design is account recovery, there's not much point in referencing the blob in the root or ritual message, since they can only be seen by the owner of the secret.

i would propose the blob reference should either be included in each shard message, or be included in the secret itself.

including it in the secret would give greater security, as no individual custodian would know where it was, but at the cost of making it more difficult to replicate and 'health check' that it is still being held somewhere. so i think the best option would be to keep it in the shard messages.

@ameba23 oh I was sure I rewrote that to say it _has_ to be part on the shard. I think I mentioned this in the chat we had. Thanks for pointing out here.

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


__This issue now has a funding of 800.0 DAI (800.0 USD @ $1.0/DAI) attached to it.__

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


__Work has been started__.

These users each claimed they can complete the work by 1 month, 3 weeks from now.
Please review their action plans below:

1) kgibb8 has been approved to start work.

See the issues for action plans!

Learn more on the Gitcoin Issue Details page.

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot this issue is completed. See https://github.com/ssbc/patchwork/pull/985

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@kgibb8 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


__Work for 800.0 DAI (800.0 USD @ $1.0/DAI) has been submitted by__:

  1. @kgibb8

@ceresstation please take a look at the submitted work:

  • PR by @KGibb8

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


__The funding of 800.0 DAI (800.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @KGibb8.__

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicohansi picture nicohansi  Â·  8Comments

cblgh picture cblgh  Â·  8Comments

molstrangler picture molstrangler  Â·  7Comments

ahdinosaur picture ahdinosaur  Â·  4Comments

skippednote picture skippednote  Â·  6Comments