tursodatabase / tursodatabase/libsql

Add per-namespace key support

Open
#500 3 comments 0 reactions 1 assignee View on GitHub

@LucioFranco is already working on this.

Since Oct 23, 2023.

Dominant language
C
Stars
17.2k
Forks
531
Avg merge
1h 12m
Merged PRs (30d)
1

Description

sqld only supports a single JWT verification key through either SQLD_AUTH_JWT_KEY or --auth-jwt-key-file.
Supporting per namespace JWT verification key would allow us:

  • Invalidate tokens per namespace, without affecting other namespaces.
  • Support true multitenancy, since different tenants must not share the keys that generate their tokens.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.