syndicate-storage / syndicate

Internet-scale software-defined storage system
Apache License 2.0
56 stars 10 forks source link

Make AG hash blocks #62

Closed jcnelson closed 10 years ago

jcnelson commented 10 years ago

The AG should generate and store block hashes as it's running shell processes.

jcnelson commented 10 years ago

The challenge is proving a block's and manifest's authenticity and integrity.

The AG can send a signed manifest, with null hashes for blocks (getting both authenticity and integrity for the manifest). It can dynamically hash the block, and then sign the block before sending it (getting authenticity and integrity for the block). It's a different process from how the UG does it, so we'll add a separate authenticity and integrity check path for AG-originated blocks and manifests.

jcnelson commented 10 years ago

Fixed in da8c79d5252f656c001ca416723c29271b5e680e