1
0
mirror of synced 2026-10-24 12:59:18 +03:00

7 Commits

Author SHA1 Message Date
Mariano Cano
c480a31833 Remove deprecated tls.Config and net.Dialer properties
Remove the deprecated PreferServerCipherSuites and DualStack properties
to fix linter errors. They do not have any effect on newer versions of Go.
2026-08-24 12:52:50 -07:00
Max
01c87964d7 fix(lint): resolve golangci-lint errors from updated gosec rules (#2590)
Remove 47 stale //nolint:gosec directives that are no longer needed
after gosec rule changes (nolintlint flagged them as unused). Add
//nolint:gosec annotations for 5 new findings: G117 on config struct
marshaling (password fields by design), G115 on intentional uint->byte
truncation in SCEP OID encoding, and G704 SSRF taint on the
user-configured CA HTTP client.

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-10 20:39:58 -07:00
Mariano Cano
de5e7185a0 Use claude code to fix linter errors
This commit fixes the linter errors using Claude code.
2026-02-17 17:26:07 -08:00
Herman Slatman
acf4387180 Fix new golangci-lint v2 linter issues 2025-05-21 12:21:47 +02:00
Mariano Cano
36b622bfc2 Use Golang's default keep-alive.
Since Go 1.13 a net.Listen keep-alive is enabled by default if
the protocol and OS supports it. The new one is 15s to match
the net.Dial default one. Previously http.Server ListenAndServe
and ListenAndServeTLS used to add a wrapper with 3m that we
replicated.

See https://github.com/golang/go/issues/31510
2021-10-15 14:12:43 -07:00
Mariano Cano
89fb49c6d7 Fix lint errors in examples. 2018-11-05 18:10:21 -08:00
Mariano Cano
6617c93732 Add new example and docs on the client SDK. 2018-11-05 18:04:12 -08:00