diff options
author | Dr. David von Oheimb <dev@ddvo.net> | 2024-11-14 09:28:16 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2025-01-06 11:41:03 +0100 |
commit | ddae593a92b7b451208de42a4b6f25ba30bb41e6 (patch) | |
tree | 75aa5b524dbeffb1fcc2820b6fe73f2cb4db84d1 /doc/man1/openssl-pkeyutl.pod.in | |
parent | Add a funding.json file (diff) | |
download | openssl-ddae593a92b7b451208de42a4b6f25ba30bb41e6.tar.xz openssl-ddae593a92b7b451208de42a4b6f25ba30bb41e6.zip |
apps/pkeyutl: Fix checks and documentation regarding -peerkey
Reviewed-by: Hugo Landau <hlandau@devever.net>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25958)
Diffstat (limited to '')
-rw-r--r-- | doc/man1/openssl-pkeyutl.pod.in | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/doc/man1/openssl-pkeyutl.pod.in b/doc/man1/openssl-pkeyutl.pod.in index 3d512d9a39..a10a82b013 100644 --- a/doc/man1/openssl-pkeyutl.pod.in +++ b/doc/man1/openssl-pkeyutl.pod.in @@ -18,8 +18,6 @@ B<openssl> B<pkeyutl> [B<-inkey> I<filename>|I<uri>] [B<-keyform> B<DER>|B<PEM>|B<P12>|B<ENGINE>] [B<-passin> I<arg>] -[B<-peerkey> I<file>] -[B<-peerform> B<DER>|B<PEM>|B<P12>|B<ENGINE>] [B<-pubin>] [B<-certin>] [B<-rev>] @@ -29,6 +27,8 @@ B<openssl> B<pkeyutl> [B<-encrypt>] [B<-decrypt>] [B<-derive>] +[B<-peerkey> I<file>] +[B<-peerform> B<DER>|B<PEM>|B<P12>|B<ENGINE>] [B<-encap>] [B<-decap>] [B<-kdf> I<algorithm>] @@ -120,15 +120,6 @@ See L<openssl-format-options(1)> for details. The input key password source. For more information about the format of I<arg> see L<openssl-passphrase-options(1)>. -=item B<-peerkey> I<file> - -The peer key file, used by key derivation (agreement) operations. - -=item B<-peerform> B<DER>|B<PEM>|B<P12>|B<ENGINE> - -The peer key format; unspecified by default. -See L<openssl-format-options(1)> for details. - =item B<-pubin> By default a private key is read from the key input. @@ -189,7 +180,18 @@ Decrypt the input data using a private key. =item B<-derive> -Derive a shared secret using the peer key. +Derive a shared secret using own private (EC)DH key and peer key. + +=item B<-peerkey> I<file> + +File containing the peer public or private (EC)DH key +to use with the key derivation (agreement) operation. +Its type must match the type of the own private key given with B<-inkey>. + +=item B<-peerform> B<DER>|B<PEM>|B<P12>|B<ENGINE> + +The peer key format; unspecified by default. +See L<openssl-format-options(1)> for details. =item B<-encap> |