Skip to main content
New: the Agentic AI Academy, 5 courses on running AI agents in production.Start free →
Back to Blog

Y2Q for DevOps: Are You Already Late?

Y2Q is the countdown to Q-Day, when quantum computers break RSA and ECC. Use Mosca's inequality and a 10-line script to see if your systems are late.

Luca BertonDecember 5, 20262 min read

Q-Day is the day a quantum computer can break RSA and elliptic-curve cryptography. Y2Q ("years to quantum") is the countdown to that day. The name copies Y2K, with one large difference: nobody knows the date.

You cannot plan with an unknown date. But you can calculate if you are late. This post shows how.

Mosca's Inequality

Michele Mosca reduced the problem to three numbers:

SymbolMeaningWho knows it
XYears your data must stay secretYou
YYears your migration takesYou
ZYears until Q-DayNobody

If X + Y > Z, data that you send today is at risk, because an attacker can record it now and decrypt it after Q-Day.

Which Z to Use

Use the public deadlines. They are the dates that your customers and auditors will use:

  • 2030: the NIST plan in IR 8547 deprecates quantum-vulnerable public-key algorithms.
  • 2031: the UK NCSC wants priority migrations complete.
  • 2035: the algorithms are disallowed in the NIST plan.

The research moves in one direction. The estimate to factor RSA-2048 went from about 20 million noisy qubits in 2019 to fewer than one million in 2025. From December 2026, the deadlines give a Z of 4 to 9 years.

Related course

Learn this topic with guided video lessons

Go beyond reading — follow expert video guidance and try the examples in your own environment.

Browse Courses →

Calculate It

Save this as y2q.sh:

bash
#!/usr/bin/env bash
# Usage: ./y2q.sh <system> <secrecy_years> <migration_years> [years_to_q_day]
system="$1"; x="$2"; y="$3"; z="${4:-5}"

margin=$(( z - x - y ))
if (( margin < 0 )); then
  echo "LATE   $system: X+Y=$(( x + y )) years, Z=$z years, ${margin#-} years over"
else
  echo "OK     $system: X+Y=$(( x + y )) years, Z=$z years, $margin years of margin"
fi

Run it for each system:

bash
./y2q.sh "customer-db backups" 10 3
./y2q.sh "ci build logs" 1 1
./y2q.sh "service mesh mTLS" 0 2
text
LATE   customer-db backups: X+Y=13 years, Z=5 years, 8 years over
OK     ci build logs: X+Y=2 years, Z=5 years, 3 years of margin
OK     service mesh mTLS: X+Y=2 years, Z=5 years, 3 years of margin

The result gives you an order of work. It is more useful than a discussion about when Q-Day comes.

What to Do With a LATE Result

  1. Protect the key exchange now. Hybrid ML-KEM key exchange (X25519MLKEM768) is in OpenSSL 3.5, Go 1.24 and OpenSSH 10. From the day you enable it, new traffic is protected against "record now, decrypt later".
  2. Decrease X. Do not keep data longer than necessary. Shorter retention is a valid control.
  3. Decrease Y. Automate certificate and configuration changes, so that the next algorithm change is fast.
Stay updated

Get weekly IT automation tips

Docker, Ansible, Terraform, MLOps — curated insights delivered to your inbox. No spam.

Subscribe Free →

What Does Not Change

AES-256 and SHA-384 stay secure. Y2Q is about public-key cryptography: key exchange and signatures.

Ready to learn by doing?

Stop reading tutorials — start building. Expert video courses with practical examples you can follow at your own pace.

Share this article
LB
Luca Berton

Docker Captain, IT automation expert, Red Hat Summit & KubeCon speaker. Building hands-on education for DevOps engineers at CopyPasteLearn.

Related Articles

Explore topics

Browse more articles on the topics covered here.