From 623ee07d75f0a24a4df59dfa047fee4f2491a17d Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Mon, 24 Aug 2026 14:56:28 -0700 Subject: [PATCH] cmd/setec: disable SA4023 for build-tagged variants On Darwin and other non-Linux platforms, the TPM key support complains that the error check can never be false. Disable that check in this one case. --- cmd/setec/setec.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/setec/setec.go b/cmd/setec/setec.go index 69cc184..a3d616b 100644 --- a/cmd/setec/setec.go +++ b/cmd/setec/setec.go @@ -1,6 +1,8 @@ // Copyright (c) Tailscale Inc & contributors // SPDX-License-Identifier: BSD-3-Clause +//lint:file-ignore SA4023 Depends on build tag + // Program setec is a secret management server that vends secrets over // Tailscale, and a client tool to communicate with that server. package main