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

16 lines
419 B
Go
Raw Normal View History

2023-12-23 17:06:22 +01:00
//go:build !linux
2023-09-12 02:54:46 +02:00
package pinentry
2023-09-12 03:03:55 +02:00
import "errors"
2023-09-12 02:54:46 +02:00
func GetPassword(title string, description string) (string, error) {
log.Info("Asking for password is not implemented on this platform")
return "", errors.New("Not implemented")
}
func GetApproval(title string, description string) (bool, error) {
log.Info("Asking for approval is not implemented on this platform")
return true, errors.New("Not implemented")
}