From: Zoey Chapell Date: Tue, 24 Mar 2026 15:30:52 +0000 (-0400) Subject: doc: clarify algorithm discovery in openssl-genpkey.pod.in X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c44aedbed547afb7ba6e1272a71e703e669af81;p=thirdparty%2Fopenssl.git doc: clarify algorithm discovery in openssl-genpkey.pod.in Add a reference to 'openssl list -public-key-algorithms' in the -algorithm description to improve discoverability and long term consistency. Documentation only change. Add clarification for how to select the naming output in the correct spot. Reviewed-by: Eugene Syromiatnikov Reviewed-by: Dmitry Belyavskiy MergeDate: Sun May 10 23:59:03 2026 (Merged from https://github.com/openssl/openssl/pull/30556) --- diff --git a/doc/man1/openssl-genpkey.pod.in b/doc/man1/openssl-genpkey.pod.in index a25db3053e8..214b9b322a8 100644 --- a/doc/man1/openssl-genpkey.pod.in +++ b/doc/man1/openssl-genpkey.pod.in @@ -91,6 +91,13 @@ precede any B<-pkeyopt> options. The options B<-paramfile> and B<-algorithm> are mutually exclusive. Providers may add algorithms in addition to the standard built-in ones. +A complete list of available algorithms can be obtained using: + openssl list -public-key-algorithms + +When selecting an algorithm from this output, use the C for legacy +algorithms, or the portion of the C field before the C<@> symbol for +provided algorithms. + Valid built-in algorithm names for private key generation are RSA, RSA-PSS, EC, X25519, X448, ED25519, ED448, ML-DSA and ML-KEM.