goldwarden/agent/systemauth/pinentry/pinentry.go

17 lines
272 B
Go
Raw Normal View History

2023-09-12 03:54:46 +03:00
package pinentry
2023-08-21 19:37:34 +03:00
2023-09-12 02:22:48 +03:00
import (
"os"
"github.com/quexten/goldwarden/logging"
)
2023-09-12 03:54:46 +03:00
var log = logging.GetLogger("Goldwarden", "Pinentry")
2023-08-21 19:37:34 +03:00
var systemAuthDisabled = false
func init() {
if os.Getenv("GOLDWARDEN_SYSTEM_AUTH_DISABLED") == "true" {
systemAuthDisabled = true
}
}