16 lines
454 B
Go
Raw Normal View History

2024-02-03 22:17:19 +01:00
//go:build !linux && !windows && !darwin && !freebsd
2023-09-12 02:54:46 +02:00
package pinentry
2023-09-12 03:03:55 +02:00
import "errors"
2024-02-09 00:24:28 +01:00
func getPassword(title string, description string) (string, error) {
2023-09-12 02:54:46 +02:00
log.Info("Asking for password is not implemented on this platform")
return "", errors.New("Not implemented")
}
2024-02-09 00:24:28 +01:00
func getApproval(title string, description string) (bool, error) {
2023-09-12 02:54:46 +02:00
log.Info("Asking for approval is not implemented on this platform")
return true, errors.New("Not implemented")
}