Verifiable Secret Sharing
fork of : %hNnHqpw...
Have been reading up on @null_radix's https://www.npmjs.com/package/vss , and also trying to think anout what different things we have in our context which might make shards verifiable in different ways. Here's the current schema of a shard :
{
"type": "dark-crystal/shard",
"version": "1",
"root": "%viiJnnnXjNkfCALivEZbrDe8UndkCCCNQ/CgBOWgJLw=.sha256",
"shard": "Yn3foQzIrckEh139UbZ2JYuQI9FSJ3lBEV7wcePeFc/Eeo0t9kfrNp+9+bZio76RTJOM7pVEo1AUJFFupGStwNHtXmcQ9msnvnvR1RW5qLxX3luNMe+m45jcDLDCwPU237TJFIqYbUbd/DeI3YFiFH+AMU8XAPTV9scukFMVSTDrr/Li6fI=.box",
"recps": ["@LA9HYf5rnUJFHHTklKXLLRyrEytayjbFZRo76Aj/qKs=.ed25519", "@95WQAJ1XZju4YFpLib3JYdbx//BCtr5dq3bR9jPxYWs=.ed25519"]
}
NOTE - this is very likely to change, because as we add forwarding we're probably going to _at least need to somewhere include a name for the secret this is part of so whoever re-assembles it has any idea what to do with this. Undecided whether this is part of the hidden message or part of the shard..._
current crude method for determining valid shard is that it ends with .box
!