Progress update!
Sending/receiving messages seems to be working well now. Teleport debugging starting very soon, probably this week.
We now have two new functions in SuperNET API: "savefile" and "restorefile"
These functions allow for the encryption of files and their secure storage. (Currently in RAM, soon in cloud)
In this line, I saved and encrypted the file m_unix:
matthew@matthew-Satellite-P845:~/Desktop/btcd/src$ ./BitcoinDarkd SuperNET '{"requestType":"savefile","filename":"../m_unix","L":0,"M":2,"N":2,"usbdir":"/tmp","password":"1234"}'
Then it gave me some information, such as 'sharenrs' and an array of 'txid' values. These MUST be remembered for restoration of the file.
Then:
./BitcoinDarkd SuperNET '{"requestType":"restorefile","filename":"m_unix","L":0,"M":2,"N":2,"usbdir":"/tmp","txids":["16996257282448948276", "15989003265508946305"],"destfile":"newfile", "password": "1234"}'
restored m_unix to a new file, newfile.
Think about the future applications that can be developed around this.
These files are also quite secure. An attacker would need to know your password, sharenrs, txids (in order), m, and n to restore your file.
It should support up to M-of-254 encryption.
Here is my output from saving m_unix with 200 of 254 encryption
http://pastebin.com/QfYrQ1TxHowever, restoring was too much for it. We are calling on testers now to test the current working limits of this value.
Matthew
P.S. if you aren't volunteering yet and would like to, head over to
https://forum.thesupernet.org/index.php?topic=66.0 and get started testing!