Chuyển đến nội dung
Skillpedia
Nghiên cứu35k · #8285

performing-post-quantum-cryptography-migration

Skill này làm gì

Công cụ này giúp tổ chức chuẩn bị cho việc chuyển sang mật mã hậu lượng tử bằng cách xác định các hệ thống dễ bị tấn công bởi máy tính lượng tử và thử nghiệm các công nghệ bảo mật mới.

Khi nào nên dùng

  • ✓Khi lên kế hoạch nâng cấp hệ thống bảo mật để chống lại máy tính lượng tử.
  • ✓Khi cần kiểm tra thuật toán mã hóa hiện tại nào có thể bị máy tính lượng tử phá vỡ.
  • ✓Khi cần kiểm tra xem hệ thống truyền thông (TLS) có thể dùng các phương pháp mã hóa mới an toàn hơn không.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-post-quantum-cryptography-migration/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Quét hệ thống của tôi để xem thuật toán mã hóa nào dễ bị tổn thương trước máy tính lượng tử và liệu chúng ta có thể dùng mật mã hậu lượng tử mới không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ kiểm tra hệ thống để tìm các thuật toán mã hóa cũ có thể bị máy tính lượng tử phá vỡ. Nó cũng kiểm tra xem hệ thống có thể dùng các tiêu chuẩn mật mã hậu lượng tử mới như CRYSTALS-Kyber và CRYSTALS-Dilithium hay không, và có được thiết lập đúng cho bảo mật lai (hybrid) không.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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)

…

Câu hỏi thường gặp

Thuật toán mật mã dễ bị tổn thương bởi lượng tử là gì?

Đây là các thuật toán mã hóa hiện tại (như RSA và ECDSA) có thể bị máy tính lượng tử mạnh phá vỡ trong tương lai. Chuyển sang mật mã hậu lượng tử nhằm thay thế chúng bằng thuật toán chống chịu tốt hơn.

Mật mã hậu lượng tử (PQC) là gì?

Đây là loại mật mã mới được thiết kế để an toàn trước tấn công từ máy tính lượng tử. Các tiêu chuẩn như CRYSTALS-Kyber (trao đổi khóa) và CRYSTALS-Dilithium (chữ ký số) là ví dụ.

Bảo mật lai (hybrid security) là gì?

Đây là cách chuyển đổi trong đó cả mật mã cổ điển và mật mã hậu lượng tử được dùng cùng lúc. Nếu một phương pháp thất bại, phương pháp còn lại vẫn bảo vệ được liên lạc.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8285
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự