goldwarden-vaultwarden-bitw.../agent/systemauth/pinentry/pinentry.go

17 lines
272 B
Go
Raw Normal View History

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