mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5244] [CLOSED] fix(runtime): honor per-node TLS verify and pin mode in node sync #5829
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5829
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5244
Author: @n0ctal
Created: 6/12/2026
Status: ❌ Closed
Base:
main← Head:claude-pr-0006-runtime-tls-pin📝 Commits (1)
f7df3c9fix(runtime): honor per-node TLS verify and pin mode in node sync📊 Changes
2 files changed (+232 additions, -2 deletions)
View changed files
📝
internal/web/runtime/remote.go(+75 -2)➕
internal/web/runtime/remote_tlspin_test.go(+157 -0)📄 Description
Summary
This PR makes node-sync runtime HTTP calls honor the same per-node TLS verification / pinning settings already respected in the management path.
Why
Node sync is a high-trust Bearer-token path. If node management supports verification / skip / pin modes, runtime synchronization should use the same trust model instead of silently falling back to a different one.
Scope
Validation
Risk
Low to medium. This improves security on node-to-node communication but touches remote runtime behavior, so it is test-backed and intentionally scoped.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.