News for hackers. Stuff that matters.
Re:immudb – world’s fastest immutable database, built on a z... by layer8 on Monday December 27, 2021 @05:58PM (#29707964)
I’d say the attribute is "tamper-proof history", not "tamper-proof data (current content)".
Re:immudb – world’s fastest immutable database, built on a z... by thebean11 on Monday December 27, 2021 @11:27PM (#29710390)
I may be missing something but I don't think this prevents rollbacks. Can a client prove that the server rolled back / lost data?
Re:immudb – world’s fastest immutable database, built on a z... by timdaub on Tuesday December 28, 2021 @04:37AM (#29712011)
In the merkle tree committment example, I don't think it allows identifiying e.g. a fraudulent rollback just from looking at the hash.

If you wanted to identify a fraudulent rollback, I think you had to constantly replicate all transitions and recompute the on-chain merkle hash. If you found discrepancies in the on-chain hash and yours, it'd mean that either node ran out of synch for some unknown reason.

Then, if e.g. other nodes too replicated your state, you may be able to conclude that the wrong-hash node had a (byzantine) fault etc.

But I think that at least in the case of the Ethereum Plasma architecture, just committing a state aggregate in form of a hash wasn't enough because of some block withholding attack. From my understanding, hoytech's quadrable is just a chain committment. Similar to Plasma.

Modern rollup architectures end up storing all transition state in Ethereum calldata state. This way proving fraudulent validation is possible and things become conceptually simpler as you can rely on the strong guarantees of e.g. data availability of the PoW chain.

Re:immudb – world’s fastest immutable database, built on a z... by layer8 on Tuesday December 28, 2021 @12:33AM (#29710796)
Only by storing (a hash of the) previous state client-side and comparing with the audit log for the current state, i believe.
Re:immudb – world’s fastest immutable database, built on a z... by thebean11 on Tuesday December 28, 2021 @12:44AM (#29710857)
Is that enough to prove a rollback happened? How do you validate that hash without the data?
Re:immudb – world’s fastest immutable database, built on a z... by layer8 on Tuesday December 28, 2021 @03:00AM (#29711533)
You can think of it like a Git hash. If there was a rollback, the hash won’t be in the audit log (commit history in Git terms).
Re:immudb – world’s fastest immutable database, built on a z... by jeroiraz on Tuesday December 28, 2021 @07:08AM (#29712963)
the hash is cryptographically signed by the server. So whatever state the database is, there must be a proof from the signed state up to the current one. Otherwise, the client application should handle this situation with care, as the database may be compromised.
Re:immudb – world’s fastest immutable database, built on a z... by layer8 on Tuesday December 28, 2021 @10:53AM (#29714850)
Those signatures don’t prevent or expose or otherwise impede server-side rollbacks. They are thus immaterial to the question raised.
Re:immudb – world’s fastest immutable database, built on a z... by jeroiraz on Tuesday December 28, 2021 @03:48PM (#29717955)
is out of the scope of immudb to prevent rollbacks if someone gain access to the filesystem. But even if that happen, immudb sdks will detect such situation when requesting a proof