log if fips140 in use

This commit is contained in:
Wade Simmons 2025-07-24 12:37:33 -04:00
parent 4485c47641
commit 3da3d41fb5

View File

@ -2,6 +2,7 @@ package nebula
import (
"context"
"crypto/fips140"
"errors"
"fmt"
"io"
@ -217,6 +218,7 @@ func (f *Interface) activate() {
f.l.WithField("interface", f.inside.Name()).WithField("networks", f.myVpnNetworks).
WithField("build", f.version).WithField("udpAddr", addr).
WithField("boringcrypto", boringEnabled()).
WithField("fips140", fips140.Enabled()).
Info("Nebula interface is active")
metrics.GetOrRegisterGauge("routines", nil).Update(int64(f.routines))