SAASMENT

Security skill · Find

OpenSSL 3.5+ post-quantum support check.

Check whether an OpenSSL 3.5+ build exposes ML-KEM, ML-DSA, and SLH-DSA, list KEM and signature algorithms and TLS groups, and record gaps before enabling hybrid PQ TLS. Use when validating toolchains, servers, or clients for NIST PQC algorithm support.

Download .zipInstall via MCPFindMIT
  • Misconfiguration
  • Vulnerability management
  • Code review

Facts

Category
Find
License
MIT
Tags
  • Misconfiguration
  • Vulnerability management
  • Code review
Version
1.0.0
Last updated
2026-12-03
Folder
pqc-openssl-support-check/
MCP resource
skill://pqc-openssl-support-check/SKILL.md
Files
  • SKILL.md
  • LICENSE
  • references/openssl-pqc-commands.md
Standards

Original Saasment content. Saasment is in early access; this skill does not require joining it.

Install via MCP or as files

Connect your client to https://www.saasment.com/api/mcp (see client setup) and call get_skill:

{
  "name": "get_skill",
  "arguments": {
    "slug": "pqc-openssl-support-check"
  }
}

Or download the .zip and unpack it into your agent's skills directory:

Terminal, from your project root (user-level: ~/.cursor/skills)

mkdir -p .cursor/skills
curl -fsSL https://www.saasment.com/ai-security/skills/pqc-openssl-support-check/download.zip -o /tmp/pqc-openssl-support-check.zip
unzip -o /tmp/pqc-openssl-support-check.zip -d .cursor/skills
# result: .cursor/skills/pqc-openssl-support-check/SKILL.md

Review SKILL.md before enabling a skill. Skills are instructions your agent will follow.

SKILL.md

---
name: pqc-openssl-support-check
description: Check whether an OpenSSL 3.5+ build exposes ML-KEM, ML-DSA, and SLH-DSA, list KEM and signature algorithms and TLS groups, and record gaps before enabling hybrid PQ TLS. Use when validating toolchains, servers, or clients for NIST PQC algorithm support.
license: MIT
metadata:
  author: Saasment
  version: "1.0.0"
  category: find
  tags: "misconfiguration, vulnerability-management, code-review"
---

# OpenSSL 3.5+ post-quantum support check (find)

License: MIT. Copyright (c) 2026 Saasment. Source: https://www.saasment.com/ai-security/skills/pqc-openssl-support-check

OpenSSL 3.5 added support for the NIST PQC algorithms ML-KEM (FIPS 203), ML-DSA (FIPS 204), and SLH-DSA (FIPS 205), and for hybrid TLS groups such as `X25519MLKEM768`. This skill checks a local or server-linked OpenSSL build with documented `openssl list` commands and records whether the algorithms and TLS groups you need are present. Handshake testing against remote hosts stays in `pqc-tls-hybrid-key-exchange-check`.

## When to use

- You are about to enable hybrid PQ TLS on a server linked to OpenSSL.
- CI images, developer laptops, or sidecars must prove they can offer `X25519MLKEM768`.
- An inventory row (`pqc-crypto-inventory-review`) depends on a specific OpenSSL version.

## Safe by default

- Run listing commands only on systems you own or are authorized to administer. Do not upgrade production OpenSSL without a tested rollback.
- Treat “algorithms listed” as necessary but not sufficient for a correct deployment; still run negotiation tests.
- Do not paste private keys into prompts or tickets while experimenting with `openssl genpkey`.

## What OpenSSL 3.5 documents

Confirmed in OpenSSL 3.5 man pages and NEWS:

- ML-KEM-512 / 768 / 1024 keytypes (`EVP_PKEY-ML-KEM`) added in OpenSSL 3.5.
- ML-DSA-44 / 65 / 87 (`EVP_PKEY-ML-DSA`) added in OpenSSL 3.5.
- SLH-DSA parameter sets (`EVP_PKEY-SLH-DSA`) added in OpenSSL 3.5.
- Hybrid TLS groups `X25519MLKEM768`, `SecP256r1MLKEM768`, and `SecP384r1MLKEM1024`; OpenSSL 3.5 documents `X25519MLKEM768` first in the default TLS group list.
- `openssl list` supports `-kem-algorithms`, `-signature-algorithms`, `-tls-groups`, and related selectors.

## Procedure

1. **Identify the binary.** Record `which openssl` and `openssl version`. Note if nginx, Node, or another process links a different libssl (`nginx -V`, language runtime docs).
2. **Require 3.5+.** If the version is older than 3.5, stop: PQC algorithms and hybrid groups described here are not available in that build. Plan an upgrade path instead of inventing backports.
3. **List KEM algorithms.**

```bash
openssl list -kem-algorithms
```

Expect ML-KEM names among the results on a complete 3.5+ default/FIPS provider build. Save the output.

4. **List signature algorithms.**

```bash
openssl list -signature-algorithms
```

Confirm ML-DSA and SLH-DSA entries appear when those providers are enabled.

5. **List TLS groups.**

```bash
openssl list -tls-groups
# or, for a broader listing when needed:
openssl list -all-tls-groups
```

Confirm hybrid names such as `X25519MLKEM768` (and related hybrids if required by policy).

6. **Optional provider focus.** If the host uses non-default providers, re-run with `-provider` / `-provider-path` as documented in `openssl-list(1)`.
7. **Optional key smoke test (local only).** Generate and discard a test ML-KEM or ML-DSA key with `openssl genpkey` only in a scratch directory; never use production key stores. Commands and expected names: `references/openssl-pqc-commands.md`.
8. **Record findings** per host or image: OpenSSL version, KEM list contains ML-KEM (yes/no), signatures contain ML-DSA / SLH-DSA (yes/no), TLS groups contain required hybrids (yes/no), next action.

## Verification

- Re-run `openssl version` and the three `list` commands; outputs match the saved evidence.
- Confirm the process that terminates TLS (nginx, custom server, language runtime) links the same OpenSSL you listed, or document the mismatch.
- If hybrids are present, run one local `openssl s_client -groups X25519MLKEM768 ...` against an authorized host (or follow `pqc-tls-hybrid-key-exchange-check`).
- Confirm no test keys were left in shared directories.

## Reporting

Table: host or image, `openssl version`, ML-KEM listed, ML-DSA listed, SLH-DSA listed, hybrid TLS groups listed, linked-by service, date, owner. Feed gaps into `pqc-migration-plan`.

## References

- openssl-list(1) (includes `-kem-algorithms`, `-signature-algorithms`, `-tls-groups`): https://docs.openssl.org/3.5/man1/openssl-list/
- EVP_PKEY-ML-KEM (added in OpenSSL 3.5): https://docs.openssl.org/3.5/man7/EVP_PKEY-ML-KEM/
- EVP_PKEY-ML-DSA (added in OpenSSL 3.5): https://docs.openssl.org/3.5/man7/EVP_PKEY-ML-DSA/
- EVP_PKEY-SLH-DSA (added in OpenSSL 3.5): https://docs.openssl.org/3.5/man7/EVP_PKEY-SLH-DSA/
- SSL_CONF_cmd (hybrid TLS groups; X25519MLKEM768 default ordering): https://docs.openssl.org/3.5/man3/SSL_CONF_cmd/
- OpenSSL NEWS (3.5 adds ML-KEM, ML-DSA, SLH-DSA): https://github.com/openssl/openssl/blob/openssl-3.5/NEWS.md
- Companion skills: `pqc-tls-hybrid-key-exchange-check`, `pqc-cloud-hybrid-tls-config-review`, `pqc-crypto-inventory-review`, `pqc-migration-plan`.

Helper files

LICENSE
MIT License

Copyright (c) 2026 Saasment

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
references/openssl-pqc-commands.md
# OpenSSL 3.5+ PQC listing and smoke-test commands

License: MIT. Copyright (c) 2026 Saasment.

Run on an authorized host. Capture command output as evidence next to the OpenSSL version string.

## Version and lists

```bash
openssl version
openssl list -kem-algorithms
openssl list -signature-algorithms
openssl list -tls-groups
```

Useful extras from `openssl-list(1)`:

```bash
openssl list -tls-signature-algorithms
openssl list -public-key-algorithms
openssl list -all-algorithms
```

Filter examples (shell), after listing:

```bash
openssl list -kem-algorithms | rg -i 'ml-kem|ml_kem|ML-KEM'
openssl list -signature-algorithms | rg -i 'ml-dsa|slh-dsa|ML-DSA|SLH-DSA'
openssl list -tls-groups | rg -i 'MLKEM|X25519MLKEM768|SecP256r1MLKEM768|SecP384r1MLKEM1024'
```

## Optional local key generation (scratch only)

Names follow OpenSSL 3.5 docs (`ML-KEM-768`, `ML-DSA-65`, SLH-DSA parameter set names). Adjust if your build prints different provider spellings.

```bash
tmpdir=$(mktemp -d)
openssl genpkey -algorithm ML-KEM-768 -out "$tmpdir/mlkem.pem"
openssl genpkey -algorithm ML-DSA-65 -out "$tmpdir/mldsa.pem"
# Remove immediately after confirming success
rm -rf "$tmpdir"
```

Do not commit these files. Do not import them into KMS or production trust stores.

## Hybrid TLS client probe (authorized hosts)

```bash
openssl s_client -groups X25519MLKEM768 \
  -connect HOST:443 -servername HOST -brief </dev/null
```

Full interpretation: companion skill `pqc-tls-hybrid-key-exchange-check`.

## Official docs

- https://docs.openssl.org/3.5/man1/openssl-list/
- https://docs.openssl.org/3.5/man7/EVP_PKEY-ML-KEM/
- https://docs.openssl.org/3.5/man7/EVP_PKEY-ML-DSA/
- https://docs.openssl.org/3.5/man7/EVP_PKEY-SLH-DSA/
- https://docs.openssl.org/3.5/man3/SSL_CONF_cmd/
- https://github.com/openssl/openssl/blob/openssl-3.5/NEWS.md

Related

Related guides

Companion skills

Related library entries

Questions

How do I install the OpenSSL 3.5+ post-quantum support check skill?

Download https://www.saasment.com/ai-security/skills/pqc-openssl-support-check/download.zip and unzip it into your agent's skills directory (for example .cursor/skills, .claude/skills, .agents/skills, or .github/skills) so that pqc-openssl-support-check/SKILL.md exists. Or connect to https://www.saasment.com/api/mcp and call the get_skill tool with the slug pqc-openssl-support-check.

What license is the OpenSSL 3.5+ post-quantum support check skill under?

It is original Saasment content under the MIT license, stated in the SKILL.md frontmatter and in the LICENSE file in the skill folder.

Is it safe to run this skill?

A skill is a set of instructions your agent follows, so read SKILL.md first. It tells the agent to test only systems you own or are authorized to test, to use test environments and synthetic data, and to avoid destructive probes. Downloading it does not run any code on your machine.

Next step.

Saasment is an early-access AI security platform that tests a risk and closes it. Connections, live tests, and automated fixes are not available yet.

← Saasment Security MCP · all skills

See the demo.

Open the demo workspace with sample data. No login. Register from the banner when you want early access. No security team. No call.

See the demo