Skip to content

Question: Is encryption being supported? #18

@dgwk

Description

@dgwk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions