Skip to content

Commit

Permalink
Add caution about using the same DH params in openssl_dh_compute_key
Browse files Browse the repository at this point in the history
  • Loading branch information
zonuexe committed Oct 31, 2024
1 parent ac2b3a9 commit e6105df
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion reference/openssl/functions/openssl-dh-compute-key.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 5bc68add3da3cd18c40f851e944b15095d3a26aa Maintainer: satoruyoshida Status: ready -->
<!-- EN-Revision: 296d45da275cca752dd920738fd119e55fbbde97 Maintainer: satoruyoshida Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.openssl-dh-compute-key" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand All @@ -20,6 +20,12 @@
リモート側と秘密の通信をするための暗号鍵としてよく使われます。
これはディフィー・ヘルマン鍵共有として知られています。
</para>
<caution>
<para>
リモートとローカルのキーペアに同じ DH パラメータを使用することが重要です。
そうしないと、両者の間で生成されたシークレットが一致しなくなります。
</para>
</caution>
<note>
<simpara>
ECDH は、PHP 8.1.0 以降、<emphasis>かつ</emphasis>
Expand Down

0 comments on commit e6105df

Please sign in to comment.