Skip to content

Add AllowInsecureIfPinnedPeerCertificate option to tls security #2560

Add AllowInsecureIfPinnedPeerCertificate option to tls security

Add AllowInsecureIfPinnedPeerCertificate option to tls security #2560

Triggered via push September 6, 2024 13:39
Status Failure
Total duration 28s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: common/platform/platform_test.go#L60
SA1032: arguments have the wrong order (staticcheck)
lint: transport/internet/request/assembler/packetconn/req2packet.go#L125
S1009: should omit nil check; len() for []byte is defined as zero (gosimple)
lint: main/commands/run.go#L154
printf: non-constant format string in call to github.com/v2fly/v2ray-core/v5/main/commands/base.Fatalf (govet)
lint: transport/internet/system_listener.go#L94
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: infra/vprotogen/main.go#L95
printf: non-constant format string in call to fmt.Errorf (govet)
lint: proxy/vlite/inbound/inbound.go#L149
enableInterface - result 0 (error) is always nil (unparam)
lint: transport/internet/request/assembler/simple/server.go#L107
S1009: should omit nil check; len() for []byte is defined as zero (gosimple)
lint: main/commands/all/jsonv4/convert.go#L122
printf: non-constant format string in call to github.com/v2fly/v2ray-core/v5/main/commands/base.Fatalf (govet)
lint: main/commands/all/jsonv4/convert.go#L136
printf: non-constant format string in call to github.com/v2fly/v2ray-core/v5/main/commands/base.Fatalf (govet)
lint: app/dns/dnscommon_test.go#L92
printf: non-constant format string in call to (*testing.common).Errorf (govet)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/v2ray-core/v2ray-core. Supported file pattern: go.sum