Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Post quantum cryptography and your supabase project what to do and what not to d
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Post-quantum cryptography and your Supabase project: what to do, and what not to do

Source: Supabase•December 4, 2026 at 11:55 PM

Post-quantum cryptography and your Supabase project: what to do, and what not to do

The December 2 joint statement on cryptography does not require immediate changes to your Supabase project. What is already protected, what we are doing, and what you can do now.

The December 2 joint statement on cryptography does not require immediate changes to your Supabase project. The agencies are urging a faster move to post-quantum cryptography. They say the discoveries behind it do not present an immediate and widespread threat, and nothing in the statement changes how your project works today.

We take the statement seriously, and this work was underway before the statement was published. Here is what it means for your Supabase project, what's already protected, what we're doing, what we can't change alone, and what you can do now so the changes ahead are routine.

On December 2, the Office of the National Cyber Director, NSA, and CISA issued a joint statement saying that recent discoveries by U.S. AI developers "impact the security of some cryptography currently in use," and urging organizations to move faster to post-quantum algorithms. The statement doesn't name an algorithm. Eight large technology companies, including Amazon, Apple, Cloudflare, Google, and Microsoft, publicly backed the guidance the same day.

The replacement algorithms already exist. In August 2024, NIST published standards for ML-KEM, which establishes encryption keys, and ML-DSA, which signs and verifies data. Browsers, runtimes, and CDNs have been adopting them since. In October 2026 NIST finalized its transition plan, which deprecates today's elliptic-curve and RSA algorithms (including P-256, which signs Supabase Auth tokens by default) after 2030.

For your project there are two questions these algorithms answer: how your connection to Supabase stays private, and how your app can trust that a token really came from Supabase Auth. We're working on both, in that order. First and foremost, keep your Supabase components up to date.

Most of what the statement is about doesn't touch your stored data.

Data at rest. Database volumes, backups, and Storage files are encrypted with AES-256. Vault stores secrets with authenticated encryption from libsodium. These are symmetric algorithms; they don't rely on RSA or elliptic curves and aren't what the statement addresses; NIST and NSA guidance keep AES-256 as the approved cipher through the post-quantum transition. You don't need to re-upload files or re-encrypt anything.

Passwords. Stored password hashes are not public-key cryptography and are not affected by the statement.

Your signing key choice. If your project uses the asymmetric JWT signing keys (ES256 or RS256), you're on the path to a post-quantum algorithm. The signing keys system was built for zero-downtime rotation between keys and algorithms, which is what a move to a post-quantum algorithm will need. If your project still signs tokens with the legacy HS256 shared secret, nothing changes today, but moving to asymmetric signing keys is the one prerequisite for any later post-quantum step. The signing keys guide walks through it, and it is a better use of this week than anything else on this page.

Key exchange first. Someone can record encrypted traffic today and try to decrypt it years from now if its key exchange is later broken, so this is where we're starting. The fix is a hybrid key exchange that combines a classical and a post-quantum algorithm; the connection stays secure as long as either one holds. It's already negotiated by default on the project API edge and evaluating it for direct Postgres connections and both poolers.

Signing second. A broken signing algorithm would let someone forge a token, but it doesn't decrypt anything already recorded, so we have room to do this carefully. For Auth, the first step is ES384 and ES512: larger curves with a bigger classical margin, not post-quantum, but quick to ship and easy for verifiers to adopt. NSA's interim guidance treats P-384 as the classical baseline during the transition. After that comes ML-DSA, the post-quantum standard. Its signatures are roughly 2.4–3.3 KB depending on parameter set, against 86 bytes for ES256, so we're testing token size and verifier support before Auth issues them. The same evaluation covers SAML, passkeys, Storage signed URLs, and Turso tokens.

No breaking changes. Any new default applies to new projects first. We don't plan to change an existing project's signing algorithm or key without notice; you move through the same rotation flow you can use today. Standards bodies have published deprecation dates for today's algorithms, so existing projects will eventually need to move; when that time comes we'll publish a migration window well ahead of any enforced change. We're also making signing algorithms switchable by configuration across every service that verifies tokens, so if an algorithm ever does need to be retired quickly, we can do it without waiting on a release.

Clear communication. Every planned rollout gets a dated changelog entry before it lands, and anything that needs action from you gets direct notice.

What we can't change alone. No publicly trusted certificate authority issues post-quantum TLS certificates yet; the industry expects them during 2027, and the change will roll out automatically when CAs and browsers support it. Until then every HTTPS site, including Supabase, authenticates with a classical certificate, while hybrid key exchange still protects the contents of the connection. And a connection uses a post-quantum key exchange only when both ends offer it: your browser, runtime, Postgres driver, and client library are the other end.

The quickest way to check your project is to let your agent do it. Prompt your agent with:

_10

Check my Supabase project against Supabase's post-quantum security guidance.

_10

Fetch https://supabase.com/docs/guides/ai-tools/ai-prompts/post-quantum-security-checkup.md

_10

and follow its steps.

_10

If you can't open that page, tell me so I can paste the full prompt instead.

You can find the full agent prompt on our site.

If you're already planning a key rotation or moving off legacy API keys, keep that work on track. These six steps put you in a position where the post-quantum changes, when they come, are routine (covered in the prompt).

  • Keep your stack current. Update the CLI, your client libraries, your Postgres driver (e.g. pg in Node or psycopg in Python), and your runtime as part of your normal upgrade cycle. A connection uses a post-quantum key exchange only when both ends support it, and the client end is yours. Go 1.24+, Node.js 22.20+/24.5+, and OpenSSL 3.5+ already offer the hybrid group by default.
  • Verify JWTs against your project's JWKS, not a copied key. If your backend fetches /auth/v1/.well-known/jwks.json and selects the key by kid, a rotation to a new algorithm is invisible to you. If you pasted a public key into an environment variable, it isn't. See public key discovery.
  • Set the algorithms you trust explicitly. Allowlist ES256, ES384, or ES512 (whatever your project uses) in your verifier today. When a new algorithm is available, test it, add it to the allowlist, and let caches pick up the standby key before you rotate.
  • Practice a key rotation in staging. Create a standby key, test each verifier, promote it, and wait for old tokens to expire before revoking. The signing keys guide walks through it.
  • Move off legacy API keys. This isn't a post-quantum measure, but it removes two long-lived keys from the rotation problem. The anon and service_role keys are long-lived JWTs. Follow the migration guide to replace them with publishable and secret keys.
  • Tighten Postgres access. Use sslmode=verify-full with the Supabase CA certificate, test your clients, then turn on SSL enforcement and network restrictions. Neither makes a classical connection post-quantum, but both shrink what a recorded session could expose. Verify-full trusts the CA file you download, so if we rotate that CA in the future, you'll need to update it. We'll announce any change in the changelog before it takes effect.

Don't switch to HS256. It doesn't use elliptic curves, but any service that verifies tokens with a shared secret can also sign them with it. A shared secret also can't be rotated to a post-quantum algorithm without changing every verifier at once. The asymmetric keys you have today are the right foundation, and they are the ones that can rotate to a post-quantum algorithm without downtime.

Don't rotate keys in a hurry. There's no post-quantum signing option to rotate to yet. When ES384 and ES512 are available we'll recommend moving to them, with a changelog entry and a guide; rotating before then risks breaking a verifier for no gain.

Don't re-upload or re-encrypt data. At-rest encryption is symmetric and unaffected.

Don't add a "quantum-safe" layer in front of your project. The standard algorithms are already in the TLS stacks and libraries you run. For your Supabase project, the migration is a version bump on your side and a key rotation on ours.

If your agent can run recurring tasks, the checkup prompt above will offer to re-check your project on a schedule and tell you only what changed, including new Supabase releases that affect you.

The Supabase changelog is where every confirmed rollout will be posted, with a dated entry before each change lands. We'll update this post as the key-exchange and signing work reaches production.

If you're not sure how any of this applies to your project, open a support ticket and we'll walk through it with you. The plans described here reflect our current intent and may change as standards, client support, and guidance evolve; your agreement with Supabase governs.

← All articles

What this article says

More in Software Development

All →
7 legal aid groups test whether AI can help them serve more people
Microsoft

7 legal aid groups test whether AI can help them serve more people

Wil Yeung: Serial Entrepreneur and YouTube Chef (2026)
Shopify

Wil Yeung: Serial Entrepreneur and YouTube Chef (2026)

Conversion Rate Optimization (CRO): Get Started (2026)
Shopify

Conversion Rate Optimization (CRO): Get Started (2026)

Beekman 1802: Brand Strategy Behind Its $92M Growth (2026)
Shopify

Beekman 1802: Brand Strategy Behind Its $92M Growth (2026)

Make vs Zapier: What's the difference and which one is best for you
Teachable

Make vs Zapier: What's the difference and which one is best for you

How to teach music online with Teachable
Teachable

How to teach music online with Teachable

More from Supabase

Introducing Supabase Knowledge Base
Supabase

Introducing Supabase Knowledge Base

Set up Supabase for every Expo environment in one command
Supabase

Set up Supabase for every Expo environment in one command

Enterprise-managed auth for MCP: Claude can now issue the identity assertion
Supabase

Enterprise-managed auth for MCP: Claude can now issue the identity assertion

Introducing DBArena: open, reproducible benchmarks for hosted Postgres
Supabase

Introducing DBArena: open, reproducible benchmarks for hosted Postgres

Explorer and Notebooks: investigations your team can rerun
Supabase

Explorer and Notebooks: investigations your team can rerun

Multigres private alpha: automatic failover for Supabase Postgres
Supabase

Multigres private alpha: automatic failover for Supabase Postgres