tursodatabase / tursodatabase/libsql
C bindings or opsqlite is not sending the encryption keys during sync phase
Open
Nobody has claimed this yet.
encryption at rest
- Dominant language
- C
- Stars
- 17.2k
- Forks
- 531
- Avg merge
- 1h 12m
- Merged PRs (30d)
- 1
Description
sync() for encrypted dbs work in rust, so I suspect the issue is in C bindings.
since the key is not sent, the sync call just fails
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the C bindings and opsqlite sync path, then compare it with the working Rust implementation for encrypted databases. Confirm where encryption keys should be passed during sync and verify that an encrypted database can complete sync successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, rust
- Domain
- databases, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100