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

panic EOF on login try #16

Open
camlafit opened this issue Feb 2, 2024 · 0 comments
Open

panic EOF on login try #16

camlafit opened this issue Feb 2, 2024 · 0 comments

Comments

@camlafit
Copy link

camlafit commented Feb 2, 2024

Hello

I use a build version with dev debug enabled.
I could do a registration on https://demo.yubico.com/webauthn-technical/ services
Identity is stored in vault

But when I try to login after, bulwark kill with this log

[DEBUG] Updating identities: [object Map]
[DEBUG] JS -> GO: getIdentities([]) -> [[ ... ]]

[DEBUG] GO -> JS: update([]) -> <nil>

[ERROR] No user when trying to save vault to backend
[DEBUG] GO -> JS: storeRemoteVault([{...}])  -> <nil>

panic: ERROR: Could not read data - EOF

goroutine 128 [running]:
github.com/bulwarkid/virtual-fido/util.CheckErr({0xdf1200, 0xc0000241a0}, {0xbf4e8d, 0x13})
	/home/myhome/go/pkg/mod/github.com/bulwarkid/[email protected]/util/util.go:24 +0x169
github.com/bulwarkid/virtual-fido/util.ReadBE[...]({0xdf1500, 0xc00021c130})
	/home/myhome/go/pkg/mod/github.com/bulwarkid/[email protected]/util/util.go:44 +0xa9
github.com/bulwarkid/virtual-fido/usbip.(*USBIPServer).handleCommands(0xc00014c060, 0xc000240370)
	/home/myhome/go/pkg/mod/github.com/bulwarkid/[email protected]/usbip/usbip_server.go:68 +0x85
github.com/bulwarkid/virtual-fido/usbip.(*USBIPServer).handleConnection(0xc00014c060, 0xc000240370)
	/home/myhome/go/pkg/mod/github.com/bulwarkid/[email protected]/usbip/usbip_server.go:60 +0x62f
github.com/bulwarkid/virtual-fido/usbip.(*USBIPServer).Start(0xc00014c060)
	/home/myhome/go/pkg/mod/github.com/bulwarkid/[email protected]/usbip/usbip_server.go:39 +0x2f1
github.com/bulwarkid/virtual-fido.startClient({0xdf6da8, 0xc000230000})
	/home/myhome/go/pkg/mod/github.com/bulwarkid/[email protected]/client_usbip.go:18 +0xcf
github.com/bulwarkid/virtual-fido.Start({0xdf6da8, 0xc000230000})
	/home/myhome/go/pkg/mod/github.com/bulwarkid/[email protected]/virtual_fido.go:18 +0x1d
main.startFIDOServer(0xc000230000)
	/home/myhome/git/github/bulwark-passkey/app/fido_server.go:22 +0x19c
created by main.(*App).initializeData in goroutine 50
	/home/myhome/git/github/bulwark-passkey/app/app.go:59 +0x358
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