On Tue, Jan 28, 2025 at 11:10:25AM -0800, Lindsay Lawrence wrote:
> Question: Is it possible to encrypt picolisp dbs on the fly? For example,
> to hook into the low level functions that do block reads and writes in
> order to apply encryption?

Not so easily.

If it were only for reading from such a DB, it would be possible via
the '*Ext' mechanism. With that, almost anything can be read as a
database (for example PilBox is doing that to access the Java Objects in
the Android runtime).

But for writing I see no easy way at the moment.

> For example, it would be a useful option, when setting up a 'pool'  to
> specify a key that is used to decrypt/encrypt block reads/writes to the
> underlying storage. Once set up, this action would be transparent to the
> application.

Also, I'm not sure if this is really useful, as it could always be
locally intercepted.

Needs more thinking ...

☺/ A!ex


-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to