[Improvement]: API Portal Helm chart can't set the HTTPS listener's TLS versions, ciphers or key-exchange groups
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- helm, kubernetes
- Lĩnh vực
- devops
Hướng nghiên cứu
Start with kubernetes/helm/api-portal-ui-helm-chart/templates/configmap.yaml, where the [api_portal.server.https] table is written, and with values.yaml next to it, which has no keys for the listener's TLS settings. Add optional values for minimum and maximum protocol version, ciphers and ecdh_curves, and render them into that table only when set so the defaults stay unchanged. Done when helm template shows the new keys in the rendered config only when they are set, and the existing defaults still render as before.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Please select the area the issue is related to
DeveloperPortal
Please select the aspect the issue is related to
Aspect/Configuration (Config files, settings, env vars, defaults)
Suggested Improvement
Current limitation
The API Portal UI chart writes [api_portal.server.https] itself (configmap.yaml#L33) with only enabled, cert_file and key_file. values.yaml has nothing for the listener's other TLS keys: minimum_protocol_version, maximum_protocol_version, ciphers and ecdh_curves.
There's no workaround:
configTomlappends raw TOML. Redefining[api_portal.server.https]there makesconfig.tomlfail to parse ("trying to redefine an already defined table"), and the portal doesn't start.- The portal has no environment-variable mapping for these keys.
So a portal deployed with the chart always uses the listener defaults: TLS 1.2–1.3, the built-in cipher set and the classical groups X25519,P-256. Operators can't turn on post-quantum key exchange (X25519MLKEM768) on the listener or require TLS 1.3. Outbound [api_portal.http_client.tls] does work through configToml, because the chart doesn't write that table.
Suggestion
Add chart values for the four listener keys and render them into [api_portal.server.https] when set, leaving the portal defaults in place when they aren't. First-class values for [api_portal.http_client.tls] would make the two sides consistent, but they aren't required.
Related Issues
wso2/docs-api-platform#855 documents the current limitation.
- Ngôn ngữ chính
- Go
- Star
- 85
- Fork
- 142
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 255
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của wso2/api-platform
-
Area/Policies Aspect/API Severity/Major Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
wso2/api-platform#4468 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area/Policies Aspect/API Severity/Major Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
wso2/api-platform#4465 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Invalid [api_portal.http_client.tls] value reports an error naming server.httpsCó thể đã có người làm @Maheesh09 đã nhận 1 ngày trước. Đang mởArea/DeveloperPortal Aspect/Configuration Severity/Minor Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
wso2/api-platform#4437 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
wso2/api-platform#4369 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: host-rewrite policy documentation lists fewer allowed host characters than the policy acceptsĐang mởArea/Policies Aspect/Other Severity/Trivial Type/Bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
wso2/api-platform#4355 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của wso2/api-platform
Issue tương tự
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentCó thể đã có người làm @cvas22 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
influxdata/telegraf#20264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Standalone migration breaks existing Ingress routes using the envoy-http Service port nameĐang mởaccepted bug wg/enterprise-environment
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vllm-project/semantic-router#7483 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
stacklok/toolhive-catalog#2076 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vulncheck or vulndb
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
golang/go#83428 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
gke-labs/kube-agents#7441 ·
Maintainer thường phản hồi trong vòng 1 ngày