tursodatabase/turso

Support `VACUUM INTO` to create an encrypted db

Open

#5852 aperta il 11 mar 2026

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Rust (1001 fork)github user discovery
encryptiongood first issue

Metriche repository

Star
 (19.103 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

The source db can be either encrypted or non encrypted. If the destination URI mentions encryption params, then it should produce an encrypted db. The tests also should make sure that db hash matches post vacuum.

If the source is already encrypted, then we should also that we are able to vacuum into another encrypted db but with different cipher settings.

The URI params should be like existing one: ?cipher=aegis256&hexkey=b1bbfda4f589dc9daaf004fe21111e00dc00c98237102f5c7002a5669fc76327

Guida contributor