Skip to content

IPSec: add PSK validator#1668

Closed
gsanchietti wants to merge 2 commits into
mainfrom
issue1631
Closed

IPSec: add PSK validator#1668
gsanchietti wants to merge 2 commits into
mainfrom
issue1631

Conversation

@gsanchietti
Copy link
Copy Markdown
Member

Changes:

  • add PSK validator
  • add OpenAPI documentation for ns.ipsectunnel

Fixes: #1631

Reject IPsec pre-shared keys that contain curly braces in the
ns.ipsectunnel API before they reach strongSwan.

Assisted-by: Copilot:gpt-5.4
Add the ns.ipsectunnel namespace to openapi.yml with request and
response schemas for tunnel management methods. Capture the
pre_shared_key brace restriction in the shared schema so the OpenAPI
spec matches the new backend validation.

Refs #1631
Assisted-by: Copilot:gpt-5.4
@gsanchietti gsanchietti marked this pull request as draft May 13, 2026 14:41
@gsanchietti gsanchietti self-assigned this May 13, 2026
@gsanchietti
Copy link
Copy Markdown
Member Author

Replaced by NethServer/nethsecurity-ui#763

@gsanchietti gsanchietti deleted the issue1631 branch May 14, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Swanctl error when PSK contains curly braces

1 participant