-
Notifications
You must be signed in to change notification settings - Fork 1.3k
make dh group 31 default, support 22-24+31 #12764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.22
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -258,9 +258,13 @@ export default { | |||||
| 'Group 15': 'modp3072', | ||||||
| 'Group 16': 'modp4096', | ||||||
| 'Group 17': 'modp6144', | ||||||
| 'Group 18': 'modp8192' | ||||||
| 'Group 18': 'modp8192', | ||||||
| 'Group 22': 'modp1024s160', | ||||||
| 'Group 23': 'modp2048s224', | ||||||
| 'Group 24': 'modp2048s256', | ||||||
| 'Group 31': 'curve25519' | ||||||
| }, | ||||||
| ikeDhGroupInitialValue: 'Group 5(modp1536)', | ||||||
| ikeDhGroupInitialValue: 'Group 31(curve25519)', | ||||||
|
||||||
| ikeDhGroupInitialValue: 'Group 31(curve25519)', | |
| ikeDhGroupInitialValue: 'curve25519', |
DaanHoogland marked this conversation as resolved.
Show resolved
Hide resolved
Copilot
AI
Mar 9, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default ikeDh is set to a label-like string (Group 31(...) / curve 25519), but the select stores the raw DH token (e.g., curve25519). Initialize form.ikeDh to the raw value and adjust the submit logic accordingly (it currently assumes parentheses parsing for the default), otherwise the default won’t be selected and ikepolicy may be built with an invalid DH group.
Uh oh!
There was an error while loading. Please reload this page.