hSATAC / wifi-password-qr

Command line tool to generate current wifi password qrcode for macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Several imported types from go-keychain undefined.

schicho opened this issue · comments

Just tried to go get this and the following errors appeared:

$ go get github.com/hSATAC/wifi-password-qr

# github.com/hSATAC/wifi-password-qr
go/pkg/mod/github.com/h!s!a!t!a!c/wifi-password-qr@v0.0.0-20200730130445-170bab06b68e/main.go:40:11: undefined: keychain.NewItem
go/pkg/mod/github.com/h!s!a!t!a!c/wifi-password-qr@v0.0.0-20200730130445-170bab06b68e/main.go:41:20: undefined: keychain.SecClassGenericPassword
go/pkg/mod/github.com/h!s!a!t!a!c/wifi-password-qr@v0.0.0-20200730130445-170bab06b68e/main.go:44:22: undefined: keychain.MatchLimitOne
go/pkg/mod/github.com/h!s!a!t!a!c/wifi-password-qr@v0.0.0-20200730130445-170bab06b68e/main.go:46:18: undefined: keychain.QueryItem

I am unsure on why this is happening.

Seems like this is a problem trying to make it work on Linux. Although go-keychain claims to work with Linux.