Skip to content
ecdsa.com

Learn

Short, technical guides to how digital signatures actually work — the algorithms, the byte-level formats, and the configuration mistakes that make verification fail. Written for the moments when a signature refuses to verify and the error message tells you nothing.

TLS

47-day TLS certificates: the schedule and what to automate

CA/B Forum ballot SC-081 cuts public TLS certificates to 200, 100, then 47 days, and domain validation reuse to 10 days. The dates, ACME profiles, ARI, alerts.

Supply chain

APK signature schemes v1 to v4, key rotation and Play

Android APK signing explained: schemes v1 to v4, key rotation with v3 and v3.1, the new hybrid ML-DSA v3.2, Play App Signing, and apksigner verify output.

Supply chain

Authenticode code signing: keys, timestamps, verification

How Authenticode signs Windows executables, the 2023 HSM rule for code signing keys, timestamps that outlive certificates, and signtool and osslsigncode.

Bitcoin

Bitcoin message signing: BIP-137 and BIP-322 explained

How Bitcoin message signatures work: BIP-137 headers, BIP-322 simple and full proofs, address types, wallet compatibility, and verification tested in 2026.

Supply chain

C2PA Content Credentials: manifests, signatures, limits

How C2PA Content Credentials work: manifests, claims and COSE signatures, certificate trust and timestamps, validation states, and why a re-encode strips them.

TLS

Certificate pinning in 2026: when and how to pin safely

Certificate pinning today: why browsers dropped HPKP, SPKI pins in Android and iOS apps and OkHttp, lockout risks of short-lived certificates, and pin rotation.

PKI

Certificate Transparency for developers: SCTs and alerts

How Certificate Transparency works in 2026: SCTs and logs, Chrome, Apple and Firefox rules, finding your certificates via Cert Spotter and crt.sh, monitoring.

Email

Why DKIM fails: body hash, bad signature, keys and DNS

Why a DKIM signature fails: canonicalization, body hash mismatch, forwarding and mailing lists, the l= tag, key length and DNS. Reproduced failures and fixes.

DNS

DNSSEC chain of trust: DS, DNSKEY, RRSIG and what breaks

How DNSSEC validation walks from the root to your record: DS, DNSKEY, RRSIG, algorithms 8, 13 and 15, checks with dig and delv, and key rollover failures.

DPoP

DPoP explained: binding OAuth tokens to a client key

How DPoP (RFC 9449) binds OAuth access tokens to a client key: the proof JWT, jti, htm, htu, ath, server nonces, cnf.jkt, and a resource-server check, tested.

Algorithms

ECDSA public key recovery: recovery id, v and ecrecover

How ECDSA public key recovery works: the math, recovery ids and v values, Ethereum's ecrecover, Bitcoin's compact signatures, EIP-2098, and the bugs to avoid.

Ethereum

EIP-712: what you actually sign, and how to read it

EIP-712 typed data explained: domain, types and hashing, ERC-2612 permits, Permit2, unlimited approvals, and how to read a signature request before signing.

JWT

ES256 vs EdDSA for JWT: which to choose in 2026

ES256 vs EdDSA (Ed25519) for JWTs: size, determinism, malleability, speed, support tested in 13 libraries, cloud KMS and HSM, the new Ed25519 name, a 2026 pick.

Key management

Hardware-backed keys: Secure Enclave, StrongBox, TPM, PIV

What hardware-backed keys guarantee: Apple Secure Enclave, Android TEE and StrongBox, TPM 2.0 and YubiKey PIV, how attestation proves it, and their limits.

HTTP signatures

HTTP Message Signatures (RFC 9421) for APIs and bots

RFC 9421 HTTP Message Signatures in practice: covered components, Signature-Input, keys, replay, server-side checks, Web Bot Auth for crawlers and AI agents.

JWT

JWKS key rotation without downtime

Rotate JWT signing keys with zero failed requests: kid rules, overlap windows, Cache-Control, verifier cache behavior in 7 libraries, and emergency key removal.

JWT

JWT verification mistakes that let bad tokens through

The JWT verification mistakes that keep shipping: alg from the header, HS/RS key confusion, kid, aud, iss, exp, clock skew and JWKS caching, with fixed code.

Post-quantum

ML-DSA for developers: FIPS 204 keys, signatures, code

ML-DSA (FIPS 204) in practice: 44/65/87 sizes, hedged vs deterministic signing, context, HashML-DSA, key formats, and tested code for OpenSSL, Go, Java, .NET.

TLS

Mutual TLS for APIs: client certificates in practice

Mutual TLS for APIs: how client certificates work in TLS 1.3, a private CA, nginx, Envoy, Go and Node.js setups, rotation, and the errors each one prints.

PKI

OCSP and CRL in 2026: how revocation checking works now

Let's Encrypt ended OCSP, CRLs are mandatory, browsers use CRLite and CRLSets. What Java, .NET, Go, Python, Node.js and curl check by default and how to fix it.

OpenID Connect

OIDC ID token validation, step by step

Validate an OpenID Connect ID token as Core 3.1.3.7 requires: iss, aud, azp, signature, exp, nonce, at_hash and c_hash, plus Entra ID, Google and Auth0 quirks.

Supply chain

OpenPGP in 2026: RFC 9580, v6 keys and the GnuPG split

OpenPGP today: RFC 9580 and v6 keys, Ed25519 and X25519, post-quantum RFC 9980, GnuPG's LibrePGP versus Sequoia, interoperability tests and advice.

Passkeys

Passkeys for developers: WebAuthn without the guesswork

Passkeys for developers: WebAuthn registration and sign-in, attestation, synced passkeys, user verification, COSE algorithms and DOMException errors, tested.

Documents

PDF signatures explained: ByteRange, CMS, PAdES and LTV

How a PDF signature works: the ByteRange, the CMS object, PAdES levels, RFC 3161 timestamps, LTV, why a signature is valid but not trusted, and how to check it.

Java

PKIX path building failed in Java: causes and real fixes

Why Java throws PKIX path building failed: private CAs, missing intermediates, the wrong trust store, outdated roots, SNI. How to diagnose each case and fix it.

Post-quantum

Post-quantum migration in 2026: a plan for dev teams

What is post-quantum by default in 2026, what you still have to change, and the real deadlines (NIST IR 8547, CNSA 2.0, EU, UK) for key exchange and signatures.

SAML

SAML signature validation: what to check and why

How to validate SAML signatures: XMLDSig references, canonicalization, why data must come from the signed element, and the Audience, Recipient and time checks.

SD-JWT

SD-JWT & SD-JWT VC: selective disclosure for EUDI wallets

How SD-JWT (RFC 9901) and SD-JWT VC hide claims behind salted digests, how key binding stops replay, how they relate to EUDI wallets and mdoc, status in 2026.

Algorithms

secp256k1 explained: the curve behind Bitcoin and Ethereum

secp256k1 explained: its parameters, the endomorphism that makes it fast, why Bitcoin and Ethereum use it, low-S, key and address encodings, platform support.

Ethereum

Sign-In with Ethereum (EIP-4361): verify it on the server

Sign-In with Ethereum done right: the EIP-4361 message, nonce, domain and URI checks, server verification, and ERC-1271 and ERC-6492 for smart-contract wallets.

Supply chain

Signing releases with Sigstore: cosign, bundles, identity

Keyless signing with Sigstore: Fulcio certificates, the Rekor log, cosign bundles, checking the signer's identity, npm provenance, GitHub artifact attestations.

Key management

Signing with cloud KMS: AWS, Google Cloud and Azure

Sign with AWS KMS, Google Cloud KMS and Azure Key Vault: key types, digest vs message, DER vs raw ECDSA signatures, JWTs and files, permissions and audit logs.

SSH

SSH certificates vs authorized_keys: CAs and principals

OpenSSH certificates instead of authorized_keys: user and host CAs, principals, validity, ssh-keygen -s, sshd setup, KRL revocation and the errors you will see.

SSH

ssh-keygen in 2026: key types, passphrases and agents

Which SSH key to generate in 2026: Ed25519, FIDO -sk keys, the new ML-DSA hybrid, RSA 3072; KDF rounds, agent forwarding risks, certificates and rotation.

TLS

X25519MLKEM768 explained: hybrid key exchange in TLS 1.3

How the X25519MLKEM768 hybrid group works in TLS 1.3: key share sizes, codepoint 0x11EC, who enables it by default, how to check it and what it can break.

PKI

X.509 certificate fields explained, on real certificates

X.509 fields on live certificates: subject vs SAN, Key Usage and EKU, Basic Constraints, AKI and SKI, CRL, OCSP and AIA, SCTs, and what each rule means today.

Failure modes

ECDSA nonce reuse: how one repeated number reveals a private key

Why reusing the ECDSA nonce k leaks the private key: the derivation, the PlayStation 3 and Android failures, repeated r values on Bitcoin, and the RFC 6979 fix.

Formats

ECDSA signature formats: DER vs raw (P1363), high-S and cross-library pitfalls

Why one ECDSA signature has two encodings, ASN.1 DER and raw r‖s (IEEE P1363): byte layout, high-S vs low-S, and the defaults in Node.js, Go, Python and Java.

JWT

ES256 vs RS256 for JWTs: how to choose and how not to get burned

ES256 vs RS256 explained: JWT alg values, token sizes, pinning an algorithm allowlist, why alg none is never acceptable and why ES256 signatures are raw r‖s.

Algorithms

ECDSA vs RSA: which signature algorithm and when

ECDSA vs RSA compared: key and signature sizes (P-256 vs RSA-3072), speed, use in TLS, SSH, JWTs and blockchains, the nonce requirement and NIST PQC deadlines.

Prefer to poke at real bytes? The Signature Lab tools run entirely in your browser.