Skip to content

Commit a922afd

Browse files
google-labs-jules[bot]Tbaile
authored andcommitted
feat(ipsec): Add DH groups 19, 20, and 21 to API
This commit adds support for Diffie-Hellman groups 19 (ECP256), 20 (ECP384), and 21 (ECP521) to the IPsec API. The new groups are now available in the `list_algs` API endpoint, allowing them to be used in IPsec tunnel configurations. This resolves issue #1334.
1 parent 0156e62 commit a922afd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/ns-api/files/ns.ipsectunnel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ def list_algs():
325325
{"name": "4096 bit (DH-16)", "id": "modp4096"},
326326
{"name": "6144 bit (DH-17)", "id": "modp6144"},
327327
{"name": "8192 bit (DH-18)", "id": "modp8192"},
328+
{"name": "ECP256 (DH-19)", "id": "ecp256"},
329+
{"name": "ECP384 (DH-20)", "id": "ecp384"},
330+
{"name": "ECP521 (DH-21)", "id": "ecp521"},
328331
{"name": "Curve 25519", "id": "curve25519"},
329332
{"name": "Newhope 128", "id": "newhope"},
330333
]

0 commit comments

Comments
 (0)