Skip to content

docs(authentication): note OpenSSL 3.x requirement for Ed25519#1253

Open
rhinocap wants to merge 1 commit intomodelcontextprotocol:mainfrom
rhinocap:docs/openssl-version-note
Open

docs(authentication): note OpenSSL 3.x requirement for Ed25519#1253
rhinocap wants to merge 1 commit intomodelcontextprotocol:mainfrom
rhinocap:docs/openssl-version-note

Conversation

@rhinocap
Copy link
Copy Markdown

@rhinocap rhinocap commented May 4, 2026

Summary

The DNS and HTTP authentication guides currently run openssl genpkey -algorithm Ed25519 -out key.pem without caveat. macOS ships LibreSSL as the system openssl binary, and LibreSSL doesn't implement Ed25519 in genpkey — so the very first command in the Ed25519 codepath errors out with:

Algorithm Ed25519 not found

A first-time integrator on macOS hits this immediately, with no path to a fix from the docs alone. Cost me ~5 minutes earlier today before I figured out I needed brew install openssl@3 and an explicit binary path.

This PR adds a <Note> callout to the DNS Authentication section right above the Ed25519 codepath, and a shorter cross-reference Note in the HTTP Authentication section since the same openssl genpkey -algorithm Ed25519 commands appear there. The ECDSA P-384 codepath works on LibreSSL, so it's untouched.

Test plan

  • Verified locally that /opt/homebrew/opt/openssl@3/bin/openssl genpkey -algorithm Ed25519 -out key.pem works on macOS Darwin 25.4.0
  • Verified the system /usr/bin/openssl genpkey -algorithm Ed25519 -out key.pem fails with Algorithm Ed25519 not found on the same machine (LibreSSL 3.3.6)
  • Verified the published ai.ravenmcp/raven-mcp flow end-to-end with the OpenSSL 3 binary
  • Markdown rendering of the <Note> callouts — relying on the existing <Note> pattern in this file (line 6) to validate the syntax

macOS ships LibreSSL as the system openssl, which doesn't support
Ed25519 in `genpkey`. The current docs run those commands without
caveat, so first-time integrators on macOS hit a confusing
"Algorithm Ed25519 not found" error before they get anywhere.

Adds a Note callout to the DNS Authentication section explaining
the requirement and pointing to `brew install openssl@3` plus the
explicit binary paths on Apple Silicon and Intel macs. Adds a
shorter cross-reference Note in the HTTP Authentication section
since the same Ed25519 commands appear there.

The ECDSA P-384 codepath works on LibreSSL, so it's not affected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant