DuoKey
Resources
Article

BSI TR-02102-1 Explained: Key Lengths, Algorithms and Post-Quantum Rules (Version 2026-01)

BSI TR-02102-1 version 2026-01 explained: RSA and ECC key lengths, ML-KEM and ML-DSA, the hybrid rule, end dates 2029 to 2035, plus TLS, IPsec and SSH.

DuoKey Team··17 min read

BSI TR-02102-1 is the Technical Guideline in which Germany's Federal Office for Information Security (BSI) states which cryptographic mechanisms and key lengths it recommends. Its German title is Kryptographische Verfahren: Empfehlungen und Schlüssellängen ("Cryptographic Mechanisms: Recommendations and Key Lengths"). The current version is 2026-01, dated 23 January 2026. Every mechanism it recommends reaches a security level of at least 120 bits, and its forecasts run until the end of 2032.

This page is the technical reference: the key-length tables, the algorithm lists, the end dates per mechanism and what the protocol parts TR-02102-2 (TLS), TR-02102-3 (IPsec) and TR-02102-4 (SSH) add. It also covers two BSI notices published after the January release that change what you should deploy today. For the regulatory side (who is bound by the guideline through BSIG §30, NIS2 and federal minimum standards, and the migration roadmap), read our companion guide: Germany post-quantum cryptography regulation: BSI TR-02102 and BSIG §30.

Every number below was checked against the BSI PDFs (TR-02102-1 EN, TR-02102-1 DE). If the two language versions ever differ, the German text is the original.


Table of Contents

  1. The TR-02102 series at a glance
  2. Key lengths: the BSI tables
  3. End dates per mechanism
  4. Post-quantum key agreement and the hybrid rule
  5. Quantum-safe signatures
  6. Symmetric algorithms, hashes and MACs
  7. TR-02102-2, -3 and -4: TLS, IPsec and SSH
  8. Updates since January 2026
  9. Checking your estate against TR-02102-1 with DuoKey
  10. FAQ

The TR-02102 series at a glance

DocumentScopeCurrent version
TR-02102-1Cryptographic mechanisms and key lengths (asymmetric, symmetric, hashes, MACs, signatures, random number generators, key derivation, SRTP and MLS)2026-01, 23 January 2026
TR-02102-2Use of Transport Layer Security (TLS)2026-01, 27 January 2026
TR-02102-3Use of IPsec and IKEv22026-01, 27 January 2026
TR-02102-4Use of Secure Shell (SSH)2026-01, 27 January 2026

Three points about how the BSI frames the document matter when you use it in an audit or a tender:

  • It is a recommendation. The guideline says it addresses "primarily, in a recommendatory manner, developers who are planning to introduce new cryptographic systems from 2026 onwards". Mechanisms it does not list are not automatically insecure in the BSI's view.
  • Other BSI documents can be binding. The guideline itself notes that for certain applications other BSI specifications are binding, unlike TR-02102. Federal projects, for example, also have to follow TR-03116-4 for authentication, as TR-02102-2 points out.
  • Conformance of a product needs more than the right parameters. If conformity with the guideline is to be shown, the BSI expects the security of technical components and implementations to be demonstrated, for instance through Common Criteria protection profiles or a BSI approval. A scan that finds RSA-3072 tells you the parameter is right, not that the implementation is evaluated.

Key lengths: the BSI tables

TR-02102-1 targets a minimum security level of 120 bits. Table 1.1 shows the key lengths at which 120 bits is "just achieved"; Table 1.2 gives the lengths the BSI actually recommends.

MechanismJust reaches 120 bits (Table 1.1)Recommended minimum (Table 1.2)
Block cipher120128
MAC120128
RSA28003000
DH over Fp (and DSA, DLIES)28003000
ECDH / ECDSA / ECIES (order of the base point)240250

Diffie-Hellman key exchange is grouped with DSA and ECDSA in these tables. In practice the recommended minimums mean:

  • RSA: modulus of at least 3000 bits. RSA-3072 and RSA-4096 meet it. RSA-2048 does not. The 2020-01 version had extended conformance for RSA keys of 2000 bits or more transitionally to the end of 2023; that extension has expired.
  • Elliptic curves: the order of the base point must be at least 250 bits. P-256, P-384, P-521 and brainpoolP256r1 and larger all meet it. TR-02102-1 itself recommends the Brainpool curves brainpoolP256r1, brainpoolP320r1, brainpoolP384r1 and brainpoolP512r1 (Table B.3); the protocol parts also accept secp256r1, secp384r1 and secp521r1.
  • Finite-field Diffie-Hellman: p of at least 3000 bits, subgroup order q of at least 250 bits. For published groups the BSI points to the MODP groups of RFC 3526 or the ffdhe groups of RFC 7919 with a suitable size; MODP-1536 is explicitly not suitable.

The BSI also notes (Remark 2.7) that the EC recommendation leaves only a small margin between the roughly 125-bit security of 250-bit curves and the 120-bit target, and that requirements in this area could be raised as a precaution. If your data has to stay confidential well beyond 2032, the guideline recommends going beyond the minimums, for example a uniform level of at least 128 bits for all components, and quantum-safe parameters at NIST security categories 3 or 5.


End dates per mechanism

Version 2026-01 introduced migration periods for classical public-key cryptography. The dates below are "until the end of" the year stated.

MechanismRecommended untilSource in TR-02102-1
DSA signatures2029Remark 5.5 (low prevalence, dropped from FIPS 186-5)
Classical key agreement and encryption used alone: RSA, DLIES, ECIES, DH, ECDH (Table 2.2)2031Sections 2.1 and 2.3
Same mechanisms combined with a quantum-safe KEM and a recommended key derivationBeyond 2031Section 2.3
Applications with very high protection requirements: switch to quantum-safe key agreement2030Section 2.1, based on the joint statement of the BSI and European partner authorities
Classical signatures (RSA, ECDSA, ECKDSA, ECGDSA)2035 (current knowledge; future versions will recommend them only in hybrid form)Sections 2.1 and 5.3

Two details are often misread:

  1. The 2031 date for RSA applies to key exchange only. TR-02102-1 states that "the restriction of the recommendation for RSA until 2031 in Table 2.2 only applies to key exchange. Signatures with RSA are expected to be recommended until 2035."
  2. 2035 for signatures follows the EU roadmap. The BSI adopts the coordinated EU roadmap's target of migrating to quantum-safe signatures by 2035 at the latest. For products with an expected lifetime beyond 2030 it "strongly" recommends a quantum-safe upgrade path, including post-quantum signatures for software and firmware updates.

Post-quantum key agreement and the hybrid rule

TR-02102-1 recommends quantum-safe key agreement for long-term confidentiality because of "Store Now, Decrypt Later". It currently recommends these mechanisms only in hybrid use, combined with a classical mechanism, because they have been studied less for side-channel resistance and implementation security.

Quantum-safe KEMRecommended parameter setsStatus
ML-KEM (FIPS 203)ML-KEM-768, ML-KEM-1024 (NIST categories 3 and 5)Recommended, hybrid
FrodoKEMFrodoKEM-976, FrodoKEM-1344Recommended, hybrid; considered the more conservative lattice choice; ISO standardisation pending
Classic McEliecemceliece460896, mceliece6688128, mceliece8192128 and their "f" variantsListed in 2026-01, hybrid only; since September 2026 the BSI advises against using it in new developments (see updates)
HQCCategories 3 and 5To be recommended once the NIST standard is published

ML-KEM-512 is not on the list. Neither is quantum key distribution: the BSI does not recommend QKD protocols at this time.

How the hybrid key has to be built

"Hybrid" in TR-02102-1 means a quantum-safe KEM plus a classical mechanism, combined so that the result stays secure as long as one of the two holds. It does not mean two post-quantum algorithms stacked together. Table 2.1 names two recommended combiners:

  • CatKDF from ETSI TS 103 744, used with KMAC or HKDF
  • KeyCombine from NIST SP 800-227, Section 4.6, with the function H built from a KDF or KMAC recommended in the guideline

Protocol-specific hybrids (the TLS, IKEv2 and SSH constructions) are handled in the protocol parts, not by these general combiners.


Quantum-safe signatures

SchemeRecommended parameter setsHybrid required?
ML-DSA (FIPS 204), "hedged" variantML-DSA-65, ML-DSA-87Yes, combined with a classical signature
SLH-DSA (FIPS 205), "hedged" variantSLH-DSA-SHA2 and -SHAKE, 192s, 192f, 256s, 256f (eight sets)No, hash-based schemes may be used alone
XMSS / XMSS^MT, LMS / HSS (NIST SP 800-208)All parameter sets in SP 800-208No, but only where error-free state management is guaranteed, for example firmware and software update signing

The "pure" variants of ML-DSA and SLH-DSA are preferred; pre-hash variants are acceptable for special applications. For hybrid signatures the BSI describes concatenation (the combined signature is valid only if every component signature is valid) and asks for key material generated specifically for the hybrid scheme, not reused for non-hybrid signatures. ML-DSA-44 and the 128-bit SLH-DSA sets are not recommended.

On the classical side, the recommended signature schemes are RSA with EMSA-PSS (or the ISO/IEC 9796-2 schemes DS2 and DS3), ECDSA, ECKDSA/ECKCDSA and ECGDSA. DSA is recommended only until 2029. RSA with PKCS#1 v1.5 padding is a legacy mechanism the BSI does not recommend for new systems, for encryption or signatures.


Symmetric algorithms, hashes and MACs

Symmetric cryptography is much less affected by quantum computers. TR-02102-1 still advises 256-bit keys for applications with high or long-term protection requirements or long-lived systems.

CategoryRecommended in TR-02102-1 (2026-01)
Block cipherAES-128, AES-192, AES-256 (no other block cipher; block size at least 128 bits)
Modes without authenticationCBC, CTR
Modes with authentication (AEAD)CCM, GCM, AES-GCM-SIV
Hash functionsSHA-256, SHA-512/256, SHA-384, SHA-512, SHA3-256, SHA3-384, SHA3-512; at least 384 bits output advised for long-term collision resistance
MACsCMAC, HMAC, KMAC128, KMAC256, GMAC; keys of at least 128 bits (256 for KMAC256); tags of at least 96 bits (at least 128 for HMAC)
Key derivationHKDF; Two-Step KDF (NIST SP 800-56C) with HMAC or AES-CMAC
Random number generatorsDRG.3, DRG.4, DRT.1, PTG.3 or NTG.1 classes under AIS 20/31 (as referenced in the protocol parts)

SHA-1 "should never be used as a secure cryptographic hash function", and the BSI advises avoiding it even inside HMAC; the guideline notes that chosen-prefix collisions are within reach of academic attackers. For disk encryption the BSI discusses XTS-AES as having "relatively good" properties when an attacker cannot compare several images of the disk, but none of the recommended modes is directly suited to full-disk encryption.


TR-02102-2, -3 and -4: TLS, IPsec and SSH

The protocol parts translate Part 1 into concrete cipher suites, groups and algorithms with a "use up to" year. "2032+" means the recommendation can be extended.

TLS (TR-02102-2)

ItemRecommendation (version 2026-01)
TLS 1.3Recommended, preferred, use up to 2032+
TLS 1.2Use up to 2031 only, because no quantum-safe key agreement is expected to be standardised for TLS 1.2
TLS 1.0, 1.1, SSLNot recommended
Groups (TLS 1.3)secp256r1, secp384r1, secp521r1, brainpoolP256r1tls13, brainpoolP384r1tls13, brainpoolP512r1tls13, ffdhe3072, ffdhe4096, alone only until 2031
Signatures in certificatesrsa_pkcs1_* (PKCS#1 v1.5) only until 2025; RSA-PSS and ECDSA up to 2032+
TLS 1.2 cipher suitesECDHE suites until 2031; DHE suites until 2029; static (EC)DH suites without forward secrecy until 2026
TLS 1.3 cipher suitesTLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_AES_128_CCM_SHA256
Minimum keysRSA and DH 3000 bits, ECDSA and ECDH 250 bits; from 2032, (EC)DH only in hybrid use

The 2026-01 text announced the hybrid groups SecP256r1MLKEM768 and SecP384r1MLKEM1024. The BSI has since confirmed they can be used in a TR-conformant way, together with X25519MLKEM768 (see updates). Our hybrid TLS guide covers support in OpenSSL, browsers and load balancers.

IPsec and IKEv2 (TR-02102-3)

TR-02102-3 covers IKEv2 only; it makes no statement about IKEv1. Recommended Diffie-Hellman groups are MODP 3072 and 4096, the NIST ECP groups 19, 20 and 21 and Brainpool groups 28 to 30, each "2031 (sole) / 2032+ (hybrid)". Brainpool curves are recommended in general. Hybrid key exchange runs through RFC 9370, and the BSI intends to recommend ml-kem-768 and ml-kem-1024 from the IETF draft on ML-KEM in IKEv2 combined with one of those groups once the RFC is adopted. ESP and IKE encryption: AES-CBC, AES-CTR, AES-GCM and AES-CCM with 128- or 256-bit keys, up to 2032+. For FortiGate tunnels see our FortiGate post-quantum IPsec guide.

SSH (TR-02102-4)

SSH-2 only. The key exchange methods diffie-hellman-group-exchange-sha256, diffie-hellman-group15-sha512, diffie-hellman-group16-sha512 and ecdh-sha2-nistp256/384/521 are recommended until 2031 when used alone. The BSI intends to recommend the hybrids mlkem768nistp256-sha256 and mlkem1024nistp384-sha384 once the corresponding RFC is adopted. Ciphers: AEAD_AES_128_GCM, AEAD_AES_256_GCM and aes128/192/256-ctr; MACs hmac-sha2-256 and hmac-sha2-512; host keys ecdsa-sha2-* and x509v3-ecdsa-sha2-* (pgp-sign-dss until 2029). Session keys should be renewed after one hour or one gigabyte. Curve25519-based methods do not appear in the 2026-01 SSH table, so check your OpenSSH defaults against it rather than assuming conformance.


Updates since January 2026

The BSI publishes notices on its TR-02102 page between versions. Two matter for anyone designing to the guideline today:

1. Hybrid TLS 1.3 groups can be used now. The IETF published the post-quantum/traditional hybrid key agreement for TLS 1.3 as RFC 10024 (Proposed Standard). According to the BSI, SecP256r1MLKEM768 and SecP384r1MLKEM1024 will be recommended in the next version of TR-02102-2 and "can now also be used TR-compliant in TLS 1.3". The BSI adds that X25519MLKEM768 can also be used, which matters because it is the hybrid group Chrome, Firefox, Safari and OpenSSL 3.5 already use by default.

2. Classic McEliece is no longer advised for new systems. In a notice dated 29 September 2026 (Hinweise zu aktuellen Entwicklungen um Classic McEliece), the BSI reports substantial progress in structural attacks on McEliece with binary Goppa codes during 2026. None of the published results allows a practical attack on the parameter sets in TR-02102-1, and several papers had not completed peer review. Even so, the BSI recommends not using Classic McEliece in new developments and points to FrodoKEM, ML-KEM or, once standardised, HQC. FrodoKEM, ML-KEM and HQC rely on different mathematics and are not affected. The BSI also uses the episode to argue for the hybrid rule and crypto-agility, and expects the next TR-02102-1 version in early 2027.


Checking your estate against TR-02102-1 with DuoKey

The guideline is written for people designing new systems. Most organisations face the opposite problem: thousands of existing keys, certificates and endpoints of unknown parameters. Mapping them to the tables above takes three steps, and DuoKey Cryptographic Posture Management (Cockpit) covers each of them.

1. Inventory what you actually run. The DuoKey scanner collects TLS endpoints (including a live probe for hybrid post-quantum key exchange), certificates and keystores (PEM, DER, PKCS#12, JKS, Windows store), SSH host and user keys, STARTTLS and database TLS, source-code crypto use (GitHub, GitLab, Azure DevOps), AWS KMS (Azure and GCP in beta), quantum-vulnerable keys in vaults managed by DuoKey Cockpit, and FortiGate configurations. Results export as a CycloneDX 1.7 cryptography bill of materials. See the CBOM guide and the cryptographic inventory guide.

2. Evaluate findings against BSI TR-02102. The Cockpit compliance engine evaluates saved scan results against a list of frameworks that includes BSI TR-02102, alongside NIST SP 800-131A, CNSA 2.0, PCI DSS v4.0 and custom PDF-based policies (DuoKey docs). In TR-02102 terms, the findings to look for first are:

  • RSA keys below 3000 bits, in certificates and in key transport
  • RSA signatures with PKCS#1 v1.5 padding in TLS certificates (out of recommendation since 2025)
  • DSA keys and DHE cipher suites with a 2029 cut-off
  • TLS 1.2-only endpoints and classical-only key exchange, both due by 2031
  • Endpoints that already negotiate a hybrid ML-KEM group, which are your reference pattern

3. Enforce the floor going forward. Cockpit crypto policies are evaluated when a key is created and on every encrypt, decrypt, sign and verify call through the Cockpit key API. A policy can set a minimum RSA size or require a hybrid or PQC-only posture; violations are refused and written to the audit log (docs). For new certificates, DuoKey PKI runs post-quantum CAs with ML-DSA, SLH-DSA and hybrid ML-DSA + ECDSA.

One honest caveat: some external services impose their own parameters. Microsoft 365 Double Key Encryption requires RSA-2048 keys, so a vault policy with a minimum above 2048 bits blocks DKE key creation. Where a platform constraint conflicts with TR-02102-1, record it as a documented exception in your cryptography concept rather than letting it pass silently.

To see how your public-facing endpoints score before an inventory project, the free Quantum Readiness Score checks public signals.


FAQ

Q: What is BSI TR-02102-1?

BSI TR-02102-1, "Kryptographische Verfahren: Empfehlungen und Schlüssellängen" (Cryptographic Mechanisms: Recommendations and Key Lengths), is the Technical Guideline in which Germany's Federal Office for Information Security recommends cryptographic algorithms, key lengths and migration periods. All recommended mechanisms reach at least a 120-bit security level. The current version is 2026-01 of 23 January 2026; parts 2, 3 and 4 apply it to TLS, IPsec/IKEv2 and SSH.

Q: Which key lengths does the BSI recommend?

At least 128 bits for block ciphers and MACs, at least 3000 bits for RSA and for Diffie-Hellman and DSA over finite fields, and at least 250 bits (order of the base point) for elliptic-curve schemes such as ECDH and ECDSA. For post-quantum cryptography the BSI recommends ML-KEM-768 or ML-KEM-1024, FrodoKEM-976 or FrodoKEM-1344, ML-DSA-65 or ML-DSA-87, and SLH-DSA at the 192- and 256-bit levels.

Q: When will RSA-2048 and ECC no longer be allowed?

RSA-2048 already falls short of TR-02102-1: the transitional acceptance of RSA keys from 2000 bits ended with 2023, and the minimum is now 3000 bits. Classical key agreement with RSA, ECDH or DH is recommended on its own only until the end of 2031, and until the end of 2030 for applications with very high protection requirements; after that only in hybrid combination with a quantum-safe KEM. Classical signatures, including RSA-3000+ and ECDSA, are expected to remain recommended until the end of 2035.

Q: Is TR-02102-1 legally binding?

Not by itself. It is a recommendation addressed mainly to developers of new systems. It gains weight through other instruments: BSIG §30 requires important and particularly important entities to maintain concepts and processes for the use of cryptography in line with the state of the art, and BSI minimum standards bind the federal administration. Our regulation guide covers who is in scope.

Q: Does the BSI accept X25519MLKEM768?

Yes, for TLS 1.3. The 2026-01 tables do not list X25519, but the BSI's TR-02102 page states that, following publication of RFC 10024, SecP256r1MLKEM768 and SecP384r1MLKEM1024 can be used in a TR-conformant way and that X25519MLKEM768 can also be used.

Q: Does the BSI recommend P-256 or Brainpool curves?

Both reach the 250-bit minimum. TR-02102-1 recommends Brainpool curves (brainpoolP256r1, P320r1, P384r1, P512r1) as EC system parameters. TR-02102-2 recommends the Brainpool curves for TLS and allows secp256r1, secp384r1 and secp521r1 if Brainpool is not available. TR-02102-3 recommends Brainpool for IKEv2 in general but also lists the NIST groups.

Q: Can ML-KEM be used on its own under TR-02102-1?

No. The current version recommends quantum-safe KEMs only in hybrid form with a classical mechanism, combined through CatKDF or KeyCombine or a protocol-specific hybrid construction. Among signatures, only the hash-based schemes (SLH-DSA, XMSS, LMS) may be used without a classical counterpart.

Q: Does TR-02102 apply in Austria or Switzerland?

It is a German federal guideline with no legal force in Austria or Switzerland. Because it is public, detailed and updated every year, security teams outside Germany can still use it as a documented benchmark for algorithm choice. Swiss financial institutions should read it alongside FINMA's expectations; see our Switzerland PQC guide.


References

Share

Written by

DuoKey Team

Discuss the decisions that matter most to your security programme.

Tell us where control is difficult today. We will help you identify a practical next step.