goldwarden/agent/systemauth/pinentry/pinentry.go
2023-09-12 02:54:46 +02:00

17 lines
272 B
Go

package pinentry
import (
"os"
"github.com/quexten/goldwarden/logging"
)
var log = logging.GetLogger("Goldwarden", "Pinentry")
var systemAuthDisabled = false
func init() {
if os.Getenv("GOLDWARDEN_SYSTEM_AUTH_DISABLED") == "true" {
systemAuthDisabled = true
}
}