跳到正文
Skillpedia
安全35k · #8160

migrating-to-post-quantum-cryptography

它能做什么

这个工具可以帮助你的通信系统应对量子计算机的威胁。它能检查你正在使用哪些加密方式,帮你选择更安全的方案,并支持测试能够抵御量子攻击的新型加密方式。

适用场景

  • ✓想了解你的系统正在使用哪些加密方式时。
  • ✓需要保护必须长期保密的数据时。
  • ✓想提前测试新型加密方式能否抵御未来的攻击时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/migrating-to-post-quantum-cryptography/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我怎样检查我的网页服务器是否在使用抗量子加密?”

每周 5 个新技能,1 分钟读完。

工作原理

工具会先对正在使用的所有加密方式做一次全面盘点,然后帮你配置“混合”加密方案,把传统加密与新型抗量子加密方法结合起来,确保安全性。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Migrating to Post-Quantum Cryptography

Scope and Authorization: This skill describes defensive cryptographic-migration engineering on systems you own or operate. Cryptographic discovery scanning can touch sensitive key material and production traffic — run inventory tooling only with authorization and in line with your organization's change-management and data-handling policies.

Overview

A cryptographically relevant quantum computer (CRQC) running Shor's algorithm will break the public-key cryptography that secures almost all of today's communications and signatures: RSA, finite-field and elliptic-curve Diffie-Hellman (DH/ECDH), and ECDSA. Symmetric primitives (AES) and hashes (SHA-2/3) are only weakened (Grover gives a quadratic speedup, mitigated by larger key/output sizes), but asymmetric algorithms are catastrophically broken. The most urgent threat is harvest-now, decrypt-later (HNDL): adversaries capturing encrypted traffic today to decrypt once a CRQC exists, which puts long-lived secrets (health records, state secrets, intellectual property, root-of-trust keys) at risk now.

On 13 August 2024 NIST finalized the first post-quantum standards: FIPS 203 (ML-KEM, Module-Lattice KEM, formerly CRYSTALS-Kyber) for key establishment, FIPS 204 (ML-DSA, Module-Lattice digital signatures, formerly CRYSTALS-Dilithium), and FIPS 205 (SLH-DSA, the stateless hash-based signature scheme SPHINCS+). The migration playbook (NIST SP 1800-38, Migration to Post-Quantum Cryptography) is: (1) build a cryptographic inventory / CBOM, (2) prioritize by HNDL exposure and crypto-agility, (3) deploy hybrid schemes (a classical algorithm AND a PQC algorithm combined, e.g. X25519MLKEM768) so a break in either leg does not compromise the session, and (4) re-key and rotate.

This skill maps to ATT&CK T1573 – Encrypted Channel: the same cryptographic channels adversaries abuse for stealthy C2 are the channels defenders must make quantum-resistant; understanding the algorithms in use is foundational to both attack detection and defensive migration. The NIST CSF outcome is PR.DS-02 (data-in-transit protection) — and by extension data-at-rest for HNDL-sensitive stores.

When to Use

  • When building an enterprise cryptographic inventory / Cryptography Bill of Materials (CBOM) for quantum-readiness.
  • When prioritizing which systems must migrate first based on data lifetime and HNDL exposure.
  • When enabling hybrid post-quantum key exchange (X25519MLKEM768) on TLS endpoints, VPNs, or SSH.
  • When issuing PQC or hybrid certificates and testing PQC signature verification.
  • When evaluating crypto-agility — the ability to swap algorithms without re-architecting applications.

Prerequisites

  • OpenSSL 3.5.0 or later, which ships native ML-KEM, ML-DSA, and SLH-DSA support:
    openssl version            # expect 3.5.0+
    openssl list -kem-algorithms | grep -i mlkem
    openssl list -signature-algorithms | grep -i mldsa
    
  • For OpenSSL 3.0–3.4, the Open Quantum Safe oqs-provider plus liboqs:
    git clone https://github.com/open-quantum-safe/liboqs && \
      cmake -S liboqs -B liboqs/build && cmake --build liboqs/build && \
      sudo cmake --install liboqs/build
    git clone https://github.com/open-quantum-safe/oqs-provider && \
      cmake -S oqs-provider -B oqs-provider/_build && \
      cmake --build oqs-provider/_build && \
      sudo cmake --install oqs-provider/_build
    
  • Python 3.8+ for the inventory helper:
    python3 -m pip install cryptography
    
  • (Optional) A CBOM generator: CycloneDX cdxgen, or cbomkit-theia for container/directory crypto discovery.

Objectives

  • Produce a cryptographic inventory (CBOM) of algorithms, key sizes, certificates, and protocols in use.
  • Classify assets by quantum vulnerability and HNDL exposure and prioritize migration.
  • Stand up and verify hybrid X25519MLKEM768 key exchange on a TLS endpoint.
  • Generate ML-KEM and ML-DSA keys and a PQC/hybrid certificate, and verify signatures.
  • Establish a crypto-agility baseline and a re-keying / rotation plan.

MITRE ATT&CK Mapping

ID Official Technique Name Relevance
T1573 Encrypted Channel Migration secures the encrypted channels (TLS/VPN/SSH) that protect data in transit; cryptographic inventory of these channels also underpins detection of adversary-controlled encrypted C2.

…

常见问题

什么是“先截获,后解密”(HNDL)?

这是一种威胁:黑客现在先记录你的数据,等将来拥有强大的量子计算机后再把它们解密。

什么是“混合”加密?

它同时使用一种传统算法和一种抗量子算法。即使其中一种被攻破,另一种仍能保护数据。

使用这个工具需要有量子计算机吗?

不需要。这个工具是为未来做准备的,因为量子计算机可能在将来出现,并有能力破解现有的加密方式。

详情

作者的原始描述

Build a cryptographic inventory/CBOM with OpenSSL 3.5+, deploy hybrid post-quantum key exchange (X25519MLKEM768) on TLS/VPN/SSH endpoints, generate ML-KEM/ML-DSA keys and PQC/hybrid certificates, and prioritize migration by harvest-now-decrypt-later (HNDL) exposure per NIST SP 1800-38. Use when inventorying enterprise cryptography for quantum-readiness, enabling hybrid PQC key exchange, or issuing

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8160
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能