Where is RSA hiding in your codebase? A guide to finding it and moving off it
RSA isn't broken, but specific uses are being retired: RFC 10015 forbids static RSA key exchange (and deprecates finite-field DHE) in (D)TLS 1.2, and GitHub removes the SHA-1 `ssh-rsa` signature type on January 13, 2027. The guide gives Code Search regex queries to inventory explicit `TLS_RSA_WITH_*` suites, nginx `ssl_ciphers` lists, SSH algorithm overrides, RSA key generation and OAEP/PKCS1v15 calls, JWT RS/PS algorithms and unlabeled PEM keys, stressing that hits are review candidates to verify against live handshakes. Migration should go one contract at a time: drop static RSA suites while keeping ECDHE-RSA and RSA certificates, upgrade SSH clients to rsa-sha2 signatures without rotating keys, use OAEP for new encryption, and overlap JWT keys with distinct `kid` values, using canaries and owner review.
Related posts
- Common annotated security keys
Engineering@Microsoft easyNoviceMicrosoft's Common Annotated Security Standard (CASK) extends GitHub's identifiable-token approach of fixed signatures plus checksums, so leaked secrets can be detected with near-zero false positives. Every CASK key carries a shared `JQQJ` signature, which lets one scanner rule find any conforming key, plus a provider signature such as `AZDO` for Azure DevOps. Keys use only Base62 characters, carry about 310 bits of entropy across 52 random characters, and embed a month/year creation timestamp to support rotation policies. The format also reserves test keys and platform-specific metadata bits, and Microsoft plans to open-source the spec for other providers to adopt.
- Deploying key transparency at WhatsApp
Meta Engineering mediumAdeptWhatsApp now automatically verifies end-to-end encryption keys using key transparency: the server maintains an append-only Auditable Key Directory (AKD) mapping accounts to public keys, and every change emits a privacy-preserving audit proof to public storage that anyone can verify. This replaces cumbersome 60-digit/QR security code checks, which scale poorly (4,950 pairwise checks in a 100-person group), with a single-client check against the directory. To handle tens of thousands of key changes per minute, pending changes go through a distributed queue and are batched into atomically committed epochs, exploiting shared Merkle tree paths at the cost of some publication latency. The design builds on CONIKS, SEEMless and Parakeet and is implemented in an open-source Rust crate.
- JSON Web Keys (JWK): Rotating Cryptographic Keys at Zalando
Zalando Engineering mediumAdeptZalando's OIDC identity provider rotates its JWT signing keys automatically on a schedule, using a phased process so clients are never disrupted. A new key pair is generated and its public key is published on the JWK endpoint, with a grace period so clients can refresh cached key sets. The new key is then promoted to active signer, while the retired key stays published until every token it signed has expired. Removal time is computed as retirement time plus maximum token lifetime plus a safety margin, using the key ID embedded in each JWT.
- Introducing JWT Signing Keys
Supabase mediumAdeptSupabase Auth now supports asymmetric JWT signing keys (RSA or elliptic curve), letting apps verify tokens locally using public keys published at a JWKS endpoint instead of calling the Auth server or sharing a forgeable secret. Migration is a reversible, zero-downtime sequence: import the legacy secret, generate a standby key pair, rotate to sign with the new private key, then revoke the old secret. A new getClaims() client function verifies tokens via the Web Crypto API with cached public keys, and any JWT library such as jose works too. New publishable and secret API keys replace the JWT-based anon and service_role keys, with asymmetric keys becoming the default for new projects from October 2025 and legacy keys phased out by late 2026.
- Cultivating a robust and efficient quantum-safe HTTPS
Google Online Security Blog easyNoviceChrome will not add post-quantum X.509 certificates to its root store and is instead pursuing Merkle Tree Certificates (MTCs), being standardized in the IETF PLANTS working group. With MTCs a CA signs a single tree head covering millions of certificates, and the browser receives only a compact inclusion proof. This keeps TLS handshakes small despite large post-quantum signatures and builds Certificate Transparency into issuance. The rollout runs in three phases: a Cloudflare feasibility study now, with X.509 fallback; CT log operators bootstrapping public MTCs in Q1 2027; and a new MTC-only Chrome Quantum-resistant Root Store in Q3 2027. The plan also proposes ACME-only issuance, modernized revocation and reproducible domain validation.