I would like to know if encryption is being supported in the current version. I'm trying to create an encrypted database using:
final client = LibsqlClient.local(path, encryptionKey: "password");
but I keep getting an exception:
PanicException (PanicException(called Result::unwrap() on an Err value: Misuse("Encryption is not enabled: enable the encryption feature in order to enable encryption-at-rest")Backtrace [{ fn: "BaseThreadInitThunk" }, { fn: "RtlUserThreadStart" }]))
I don't know where I should enable the encryption. I tried editing the PRAGMA variables, and pubspec file, but nothing worked.
I would like to know if encryption is being supported in the current version. I'm trying to create an encrypted database using:
final client = LibsqlClient.local(path, encryptionKey: "password");but I keep getting an exception:
I don't know where I should enable the encryption. I tried editing the PRAGMA variables, and pubspec file, but nothing worked.