"os/exec"
"strings"
+ "go.cypherpunks.ru/netrc"
ttls "go.stargrave.org/tofuproxy/tls"
)
func authDialog(host, realm string) (string, string, error) {
var b bytes.Buffer
- userInit, passInit := findInNetrc(host)
+ userInit, passInit := netrc.Find(host)
fmt.Fprintf(&b, `
tk_setPalette grey
wm title . "Unauthorized: %s"