log the fips140 mode and version

Requires go1.26 for fips140.Version()
This commit is contained in:
Wade Simmons
2026-04-27 16:43:35 -04:00
parent e6eeb3709b
commit fcfbec4710
4 changed files with 22 additions and 4 deletions

View File

@@ -2,7 +2,6 @@ package nebula
import (
"context"
"crypto/fips140"
"errors"
"fmt"
"io"
@@ -234,7 +233,7 @@ func (f *Interface) activate() error {
"build", f.version,
"udpAddr", addr,
"boringcrypto", boringEnabled(),
"fips140", fips140.Enabled(),
"fips140", fips140version(),
)
if f.routines > 1 {