Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrustedApplicationAccess Deprecated #64

Open
t0rr3sp3dr0 opened this issue Mar 3, 2020 · 14 comments
Open

TrustedApplicationAccess Deprecated #64

t0rr3sp3dr0 opened this issue Mar 3, 2020 · 14 comments

Comments

@t0rr3sp3dr0
Copy link

keyring throws compilation erros due to incompatibility with the latest version of go-keychain.

keybase/go-keychain#60

# github.com/99designs/keyring
428./keychain.go:151:9: kcItem.SetAccess undefined (type keychain.Item has no field or method SetAccess)
429./keychain.go:151:21: undefined: keychain.Access
430./keychain.go:157:9: kcItem.SetAccess undefined (type keychain.Item has no field or method SetAccess)
431./keychain.go:157:21: undefined: keychain.Access
432./keychain.go:187:9: kcItem.SetAccess undefined (type keychain.Item has no field or method SetAccess
@aenegri
Copy link

aenegri commented May 17, 2020

Just encountered this issue myself, anyone know of a workaround?

jayzes pushed a commit to highwingio/incognito that referenced this issue Jul 27, 2020
@99designs 99designs deleted a comment Sep 6, 2020
@99designs 99designs deleted a comment from bford21 Sep 6, 2020
@99designs 99designs deleted a comment from wafeishushu Sep 6, 2020
@99designs 99designs deleted a comment from gsora Sep 6, 2020
@99designs 99designs deleted a comment from alessio Sep 6, 2020
@alessio
Copy link
Contributor

alessio commented Sep 8, 2020

Hey @99designs! Why did you delete comments?

@mtibben
Copy link
Member

mtibben commented Sep 9, 2020

We delete comments that do not add substance to the conversation. Please use the 👍 reaction rather than leaving +1 comments

@lixingwang
Copy link

Any update here?

@zy3101176
Copy link

I found the same problem when installing github.com/apache/pulsar-client-go/pulsar,If you find a solution, please let me know.

osx 10.14.5
go 1.14

@lixingwang
Copy link

I found a workaround, the issue because of keybase/go-keychain removed deprecated API. What we can do just use keybase/go-keychain revision ccd67945d59e2e76561507e6d274dfe97905d40e or before that.

@mtibben
Copy link
Member

mtibben commented Nov 20, 2020

See the comment at #66 (comment) on how to address this issue.

PRs welcome

@yukshimizu
Copy link

yukshimizu commented Dec 1, 2020

I found same problem as #64 (comment) when installing github.com/apache/pulsar-client-go/pulsar also.

../../pkg/mod/github.com/99designs/[email protected]/keychain.go:136:8: kcItem.SetAccess undefined (type keychain.Item has no field or method SetAccess)
../../pkg/mod/github.com/99designs/[email protected]/keychain.go:181:9: kcItem.SetAccess undefined (type keychain.Item has no field or method SetAccess)
../../pkg/mod/github.com/99designs/[email protected]/keychain.go:181:21: undefined: keychain.Access
../../pkg/mod/github.com/99designs/[email protected]/keychain.go:187:9: kcItem.SetAccess undefined (type keychain.Item has no field or method SetAccess)
../../pkg/mod/github.com/99designs/[email protected]/keychain.go:187:21: undefined: keychain.Access

osX 10.14.6
go1.15.3 darwin/amd64

@Just4Ease
Copy link

I'm experiencing the exact same issue.

Phweeew 💀

Screen Shot 2020-12-08 at 2 13 15 AM

osX 11.0.1 ( BigSur )
go1.15.5 darwing/amd64

@zzzming
Copy link

zzzming commented Dec 10, 2020

The workaround is to set to an older commit of keyring, for instance,

	github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4

You can set this in go.mod. This is an example to build Pulsar Go client.
https://github.com/kafkaesque-io/sample-pulsar-go-client/blob/master/go.mod#L7

@ivanvanderbyl
Copy link

Or simply add this line to go.mod:

replace github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4

@yukshimizu
Copy link

If this happens on mac, this highly depends on the local mac environment. In my case, updated xcode to the latest and rebooted, then the compilation error disappeared.

os: macOS Mojave 10.14.6
go: go1.15.3 darwin/amd64
xcode: 11.3.1

@carameleon
Copy link

I encountered this error when I set 2FA on Github.

@Manual-S
Copy link

Manual-S commented Dec 9, 2021

Or simply add this line to go.mod:

replace github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4

Thank you for solving my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests