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

Setting up the Development Environment #277

Open
tomitomas opened this issue Aug 14, 2024 · 0 comments
Open

Setting up the Development Environment #277

tomitomas opened this issue Aug 14, 2024 · 0 comments

Comments

@tomitomas
Copy link

Trying to setup a dev env.

GO is installed

root@ubuntu:~# go version
go version go1.23.0 linux/amd64

libfido2-dev is also installed

root@ubuntu:~# apt-cache show libfido2-dev 
Package: libfido2-dev
Source: libfido2
Priority: optional
Section: libdevel
Installed-Size: 81
Maintainer: Yubico Open Source Maintainers <ossmaint@yubico.com>
Architecture: amd64
Version: 1.15.0~ppa~noble1
Depends: libfido2-1 (= 1.15.0~ppa~noble1), libssl-dev
Filename: pool/main/libf/libfido2/libfido2-dev_1.15.0~ppa~noble1_amd64.deb
....

then I run go install github.com/quexten/goldwarden@main

dependancies are downloaded and installed, but as a result I'm getting :

root@ubuntu:~/go/pkg/mod/github.com/quexten/goldwarden@v0.3.4-0.20240803221656-5806475998e3# go build -o goldwarden .
# github.com/quexten/goldwarden/cli/agent/bitwarden/twofactor
cli/agent/bitwarden/twofactor/fido2twofactor.go:40:24: undefined: libfido2.DeviceLocations
cli/agent/bitwarden/twofactor/fido2twofactor.go:49:26: undefined: libfido2.NewDevice
cli/agent/bitwarden/twofactor/fido2twofactor.go:78:26: undefined: libfido2.Assertion
cli/agent/bitwarden/twofactor/fido2twofactor.go:90:14: undefined: libfido2.AssertionOpts
cli/agent/bitwarden/twofactor/fido2twofactor.go:91:28: undefined: libfido2.Extension
cli/agent/bitwarden/twofactor/fido2twofactor.go:92:26: undefined: libfido2.False
cli/agent/bitwarden/twofactor/fido2twofactor.go:104:14: undefined: libfido2.AssertionOpts
cli/agent/bitwarden/twofactor/fido2twofactor.go:105:28: undefined: libfido2.Extension

anything you could help with @quexten please ?

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

1 participant