DEFFS
DEFFS copied to clipboard
Fracturing
Sending shards
- [ ] Split encrypted filedata into
n = number_of_connect_machines
file shards - [ ] Prepend
n
key shards to file shards- [x] Requires #4 to get key shards
- [ ] Append
-<shard_index>
to filename for reconstruction - [ ] Iterate through list of connected machines and send private key followed by file shards to each machine on predetermined port
Receiving shards
- [ ] Always have port open to receive shards
- [ ] Spawn new socket in thread from configurable-sized thread pool
- [ ] Authenticate data received by comparing received private key with provided public key
- [ ] Requires #7
- [ ] Write to shardpoint and update file headers if needed