codenotary / immudb

immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history
https://immudb.io
Other
8.62k stars 343 forks source link

Deleted data is still accessible using history #1890

Open SimoneLazzaris opened 10 months ago

SimoneLazzaris commented 10 months ago

What happened

Deleted data is accessible using Key Value History or SQL select * from (history of table_name).

What you expected to happen

Deleted data should be unreadable and only present as hash, to validate the immutability of the database.

How to reproduce it (as minimally and precisely as possible)

In immuclient:

set keyname bigvalue
delete keyname
history keyname

Environment

# run "immu* version" and copy/paste the output here

immudb 1.9DOM.0 Commit : 72e3f6844fd693d7a8b80f36e97fe1fdf0db38bf Built by: slazzaris@gmail.com Built at: Fri, 01 Dec 2023 09:38:14 CET

Additional info (any other context about the problem)