Decoding the JWT header first to catch RS256 and ES256 tokens is a good sanity check. Even with ANSSI and CIRG confirming no immediate practical break on lattice schemes, doing an algorithm inventory now beats scrambling when migration deadlines hit.
One-person company building small tools in public. Every week I run real tests on APIs, OCR, translation and SEO — and post the numbers, including the failures.
Thomas, the inventory framing is what I needed: I run an API service and my JWTs are RS256, so your grep lands on real work, not theory. The part I had missed is SSH and deploy keys: a grep of ./src would never find those. I am starting with one token and one certificate, and writing down where algorithm lives.
for the SSH line, OpenSSH 10 already made mlkem768x25519 the default key exchange, so the transport side may be covered once both ends update. the ed25519 keys signing your commits are still classical though
French web developer mainly but touches everything. Volunteer admin mod here at DEV. I learn AI and Astro at this moment and databases. — Addict to Cappuccino and Music
Software engineer who builds things that run in production — and writes deep-dive guides on why they break. I explain how React, Node, Docker, Rust and Kubernetes actually work under the hood.
thanks Thomas!! i ran your grep at like 6:50 lol... RS256 popped up in 2 places, one config file untouched since 2023 xD whole thing took 10 mins, way less scary than the headlines :D
French web developer mainly but touches everything. Volunteer admin mod here at DEV. I learn AI and Astro at this moment and databases. — Addict to Cappuccino and Music
Software engineer who builds things that run in production — and writes deep-dive guides on why they break. I explain how React, Node, Docker, Rust and Kubernetes actually work under the hood.
Your grep for RS256 and ES256 is a solid start. I'd add a script-level pass for Bitcoin, because "already published" is uneven there.
P2PK puts the public key in the locking script from the first confirmation, so those coins have been in the inventory the whole time. P2PKH only reveals the key when the output is spent, or when an address is reused. The draft BIPs people have been arguing about this week are mostly about that first group, plus spent and reused addresses, not a freeze of every coin.
So the inventory I'd add isn't only "do we use secp256k1." It's which UTXOs have already revealed a public key.
I have a small in-browser checker for that. Paste a scriptPubKey or an address. Nothing is uploaded, and it refuses keys or seed words:
French web developer mainly but touches everything. Volunteer admin mod here at DEV. I learn AI and Astro at this moment and databases. — Addict to Cappuccino and Music
We check MCP servers and websites from the outside, the way an AI agent sees them, and publish what we find with names and dates. Free tools at x1y1.co/tools.
One for when the migration actually starts: pin the allowed algorithms on the verify side. A lot of JWT setups accept whatever alg the header names, so if the new algorithm goes in next to RS256, a forged token can still pick the old one.
"What happens at your providers" is a part grep can't reach, but contracts can. When a vendor agreement comes up for renewal, asking for their post-quantum migration plan and a duty to notify algorithm changes costs little, and turns an unknown in the inventory into a dated answer.
I research AI tools, APIs & agents — comparing specs, pricing and real user reports — then publish honest rankings so you don't waste money. Research-first, never sponsored fluff.
Ran your grep mentally against my own stuff and immediately thought of the one place it won't reach — the signing keys baked into CI years ago that nobody owns anymore. The RS256/ES256 check is a great first pass, but the inventory that scares me is the long-lived stuff: code-signing certs, old deploy keys, tokens issued before anyone thought about rotation. The ANSSI end-of-2030 deadline looks far away until you count how many of those you have. Did anything in your own inventory surprise you when you ran it?
French web developer mainly but touches everything. Volunteer admin mod here at DEV. I learn AI and Astro at this moment and databases. — Addict to Cappuccino and Music
Good point: my grep only looks at ./src, so it won't find forgotten CI signing keys, old deploy keys or code-signing certs. I don't have a surprise of my own to report here, but I'd add an owner and a creation date to every item in that inventory. If nobody owns a key, that's the first thing to fix.
Free crypto price tracker. We write about building small, self-hosted crypto tools in Python and how to keep coins safe. Open source at github.com/tokenalphabet-ui
The grep for RS256 and ES256 is a good first pass. One place it will not catch is anything built on secp256k1: Bitcoin and Ethereum wallets, and services that verify their signatures. There the algorithm cannot be swapped with one line of config, because the public key is tied to the address and, once used, stays readable on chain forever. So for those systems the inventory I would add is a list of which keys are already published, not only which algorithms are in use. Did the ANSSI note say anything about signatures that must stay verifiable for decades, like code signing or archives?
French web developer mainly but touches everything. Volunteer admin mod here at DEV. I learn AI and Astro at this moment and databases. — Addict to Cappuccino and Music
Backend engineer building FastAPI webhook pipelines, Telegram Mini Apps, and TON Connect integrations. Writing practical notes on auth, idempotency, and production debugging.
This inventory-first take is much healthier than the usual panic headlines. When we audited a small Python API recently, the app code itself was clean, and the hidden RS256 and legacy TLS assumptions were sitting inside reverse-proxy configs, CI deploy keys, and third-party webhook verifiers rather than ./src. Tracking where algorithms are hardcoded versus configurable is the real bottleneck for crypto agility. Have you seen any mainstream JWT libraries in Node or Python start exposing experimental RFC 9964 ML-DSA hooks yet, or are most teams still stuck waiting on upstream SDK support?
We're a place where coders share, stay up-to-date and grow their careers.
Decoding the JWT header first to catch RS256 and ES256 tokens is a good sanity check. Even with ANSSI and CIRG confirming no immediate practical break on lattice schemes, doing an algorithm inventory now beats scrambling when migration deadlines hit.
Thomas, the inventory framing is what I needed: I run an API service and my JWTs are RS256, so your grep lands on real work, not theory. The part I had missed is SSH and deploy keys: a grep of ./src would never find those. I am starting with one token and one certificate, and writing down where algorithm lives.
for the SSH line, OpenSSH 10 already made mlkem768x25519 the default key exchange, so the transport side may be covered once both ends update. the ed25519 keys signing your commits are still classical though
oh that nice!
thanks Thomas!! i ran your grep at like 6:50 lol... RS256 popped up in 2 places, one config file untouched since 2023 xD whole thing took 10 mins, way less scary than the headlines :D
Aha thanks for reading !
haha anytime Thomas! that config file from 2023 is still sitting there, i've added it to my list lol. ten minutes well spent honestly. thanks again :D
Your grep for RS256 and ES256 is a solid start. I'd add a script-level pass for Bitcoin, because "already published" is uneven there.
P2PK puts the public key in the locking script from the first confirmation, so those coins have been in the inventory the whole time. P2PKH only reveals the key when the output is spent, or when an address is reused. The draft BIPs people have been arguing about this week are mostly about that first group, plus spent and reused addresses, not a freeze of every coin.
So the inventory I'd add isn't only "do we use secp256k1." It's which UTXOs have already revealed a public key.
I have a small in-browser checker for that. Paste a scriptPubKey or an address. Nothing is uploaded, and it refuses keys or seed words:
https://agents.paxtechnologyservices.com/tools/bitcoin-script-type-checker/?utm_source=devto&utm_medium=comment&utm_campaign=pqc-inventory
Good idea!
One for when the migration actually starts: pin the allowed algorithms on the verify side. A lot of JWT setups accept whatever alg the header names, so if the new algorithm goes in next to RS256, a forged token can still pick the old one.
"What happens at your providers" is a part grep can't reach, but contracts can. When a vendor agreement comes up for renewal, asking for their post-quantum migration plan and a duty to notify algorithm changes costs little, and turns an unknown in the inventory into a dated answer.
Ran your grep mentally against my own stuff and immediately thought of the one place it won't reach — the signing keys baked into CI years ago that nobody owns anymore. The RS256/ES256 check is a great first pass, but the inventory that scares me is the long-lived stuff: code-signing certs, old deploy keys, tokens issued before anyone thought about rotation. The ANSSI end-of-2030 deadline looks far away until you count how many of those you have. Did anything in your own inventory surprise you when you ran it?
Good point: my grep only looks at ./src, so it won't find forgotten CI signing keys, old deploy keys or code-signing certs. I don't have a surprise of my own to report here, but I'd add an owner and a creation date to every item in that inventory. If nobody owns a key, that's the first thing to fix.
The grep for RS256 and ES256 is a good first pass. One place it will not catch is anything built on secp256k1: Bitcoin and Ethereum wallets, and services that verify their signatures. There the algorithm cannot be swapped with one line of config, because the public key is tied to the address and, once used, stays readable on chain forever. So for those systems the inventory I would add is a list of which keys are already published, not only which algorithms are in use. Did the ANSSI note say anything about signatures that must stay verifiable for decades, like code signing or archives?
Great point, thanks! My grep would miss code that only mentions "secp256k1", and listing already published keys is a useful addition.
As for ANSSI: this recent note doesn't address signatures that must stay verifiable for decades, code signing or archives.
This inventory-first take is much healthier than the usual panic headlines. When we audited a small Python API recently, the app code itself was clean, and the hidden RS256 and legacy TLS assumptions were sitting inside reverse-proxy configs, CI deploy keys, and third-party webhook verifiers rather than ./src. Tracking where algorithms are hardcoded versus configurable is the real bottleneck for crypto agility. Have you seen any mainstream JWT libraries in Node or Python start exposing experimental RFC 9964 ML-DSA hooks yet, or are most teams still stuck waiting on upstream SDK support?