Skip to content
Skillpedia
Research35k · #6122

performing-post-quantum-cryptography-migration

Has your agent assess readiness for post-quantum cryptography and migrate systems.

What it does

This tool helps your organization prepare for the shift to post-quantum cryptography by identifying systems vulnerable to quantum computer attacks and testing new security technologies.

When to use it

  • ✓When planning to upgrade security systems to resist quantum computers.
  • ✓When checking which current encryption algorithms might be broken by quantum computers.
  • ✓When testing if your communication systems (TLS) can use new, more secure encryption methods.

Example of what to ask your AI

“Scan my systems to see which encryption algorithms are vulnerable to quantum computers and if we can use the new post-quantum cryptography.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-post-quantum-cryptography-migration/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-post-quantum-cryptography-migration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool checks your systems for old encryption algorithms that could be broken by quantum computers. It also tests if your systems can use new post-quantum cryptography standards like CRYSTALS-Kyber and CRYSTALS-Dilithium, and if they are set up correctly for hybrid security.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-post-quantum-cryptography-migration

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/performing-post-quantum-cryptography-migration/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Performing Post-Quantum Cryptography Migration

When to Use

  • When assessing organizational readiness for the NIST post-quantum cryptography transition
  • When building a cryptographic inventory to identify quantum-vulnerable algorithms across infrastructure
  • When evaluating hybrid TLS 1.3 configurations using X25519MLKEM768 key exchange
  • When testing CRYSTALS-Kyber (ML-KEM) and CRYSTALS-Dilithium (ML-DSA) algorithm support
  • When implementing crypto-agility to support both classical and post-quantum algorithms
  • When preparing migration roadmaps aligned with NIST IR 8547 deprecation timelines
  • When configuring oqs-provider with OpenSSL 3.x for post-quantum algorithm support

Prerequisites

  • Python 3.8+ with cryptography, requests, pyOpenSSL libraries
  • OpenSSL 3.0+ (3.5+ recommended for native ML-KEM/ML-DSA support)
  • oqs-provider for OpenSSL (for hybrid TLS testing with older OpenSSL)
  • Network access to target servers for TLS assessment
  • Administrative access for infrastructure scanning
  • Familiarity with PKI, TLS, and cryptographic protocols

Core Concepts

NIST Post-Quantum Cryptography Standards

NIST published three finalized PQC standards on August 13, 2024:

Standard Algorithm Renamed To Purpose Based On
FIPS 203 CRYSTALS-Kyber ML-KEM Key Encapsulation Mechanism Module lattice
FIPS 204 CRYSTALS-Dilithium ML-DSA Digital Signatures Module lattice
FIPS 205 SPHINCS+ SLH-DSA Digital Signatures (backup) Stateless hash

ML-KEM (FIPS 203) -- Primary standard for key exchange and encryption. Replaces RSA and ECDH for key establishment. Three security levels: ML-KEM-512, ML-KEM-768, ML-KEM-1024.

ML-DSA (FIPS 204) -- Primary standard for digital signatures. Replaces RSA and ECDSA for signing. Three security levels: ML-DSA-44, ML-DSA-65, ML-DSA-87.

SLH-DSA (FIPS 205) -- Backup signature standard using hash-based approach. Intended as fallback if lattice-based ML-DSA is found vulnerable. Larger signatures but conservative security assumptions.

Quantum-Vulnerable Algorithms

These classical algorithms are vulnerable to quantum attack via Shor's algorithm:

Algorithm Usage Quantum Threat Migration Priority
RSA-2048/4096 Key exchange, signatures, encryption Shor's algorithm breaks factoring Critical
ECDH (P-256, P-384) TLS key exchange Shor's algorithm breaks ECDLP Critical
ECDSA Code signing, TLS certificates Shor's algorithm breaks ECDLP Critical
DSA Legacy signatures Shor's algorithm breaks DLP Critical
DH (Diffie-Hellman) Key exchange Shor's algorithm breaks DLP Critical
AES-128 Symmetric encryption Grover's halves key strength Medium (upgrade to AES-256)
SHA-256 Hashing Grover's reduces to 128-bit Low (still adequate)

NIST Migration Timeline (IR 8547)

  • 2024: Standards published, migration planning should begin
  • 2030: Deprecation of quantum-vulnerable algorithms for most federal systems
  • 2035: Complete removal of quantum-vulnerable algorithms from NIST standards
  • Now: "Harvest now, decrypt later" attacks make early migration essential for long-lived secrets and data requiring long-term confidentiality

Hybrid TLS Key Exchange

During the transition period, hybrid key exchange combines a classical algorithm with a post-quantum algorithm. If either algorithm is secure, the connection remains protected.

Hybrid Key Exchange: X25519MLKEM768
  = X25519 (classical ECDH) + ML-KEM-768 (post-quantum)

Client Hello:
  supported_groups: X25519MLKEM768, X25519, secp256r1
  key_share: X25519MLKEM768

Server Hello:
  selected_group: X25519MLKEM768
  key_share: X25519MLKEM768

Shared Secret = KDF(X25519_shared || MLKEM768_shared)

Instructions

Phase 1: Cryptographic Inventory Scanning

The first step in PQC migration is discovering all cryptographic algorithm usage across the enterprise. This includes TLS configurations, certificates, code libraries, key stores, and protocol configurations.

# Scan TLS endpoints for quantum-vulnerable algorithms
python scripts/agent.py --action scan_tls \
    --targets targets.txt \
    --output tls_inventory.json

The scanner identifies:

  • TLS protocol versions in use
  • Key exchange algorithms (RSA, ECDH, DH -- all quantum-vulnerable)

…

FAQ

What are quantum-vulnerable cryptography algorithms?

These are current encryption algorithms (like RSA and ECDSA) that could be broken by powerful quantum computers in the future. Migrating to post-quantum cryptography aims to replace them with more resistant algorithms.

What is post-quantum cryptography (PQC)?

It's a new type of cryptography designed to be secure against attacks from quantum computers. Standards like CRYSTALS-Kyber (for key exchange) and CRYSTALS-Dilithium (for digital signatures) are examples.

What is 'hybrid security'?

It's a transition approach where both classical and post-quantum cryptography are used simultaneously. If one method fails, the other still protects the communication.

Details

Original description by the author

Assesses organizational readiness for post-quantum cryptography migration per NIST FIPS 203/204/205 standards. Performs cryptographic inventory scanning to identify quantum-vulnerable algorithms (RSA, ECDH, ECDSA), evaluates hybrid TLS configurations with X25519MLKEM768, and validates CRYSTALS-Kyber (ML-KEM) and CRYSTALS-Dilithium (ML-DSA) readiness. Implements crypto-agility assessment using oqs-

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#6122
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills