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

WebAuthn.io register error #31

Open
alexeygritsenko opened this issue Feb 16, 2024 · 0 comments
Open

WebAuthn.io register error #31

alexeygritsenko opened this issue Feb 16, 2024 · 0 comments

Comments

@alexeygritsenko
Copy link

Hi. The driver and virtual device were successfully installed for me. But I get an error when I try to register using the key on https://webauthn.io

Error on the browser side:
The security key cannot be read. Try again.

Error on the emulator side:

C:\Users\Администратор\Downloads\virtual-fido-master\virtual-fido-master>go run ./cmd/demo start
[LOG] Log Level Set: 2
succesfully attached to port 0
[CTAPHID] CTAPHID FINALIZED MESSAGE: CTAPHIDMessageHeader{ ChannelID: CTAPHID_BROADCAST_CHANNEL, Command: ctapHIDCommandInit, PayloadLength: 8 } []byte{0xfd, 0xd2, 0xe, 0x54, 0x5c, 0x2, 0xfd, 0x7f}

[CTAPHID] CTAPHID INIT RESPONSE: ctap_hid.initReponse{Nonce:[8]uint8{0xfd, 0xd2, 0xe, 0x54, 0x5c, 0x2, 0xfd, 0x7f}, NewChannelID:0x1, ProtocolVersion:0x2, DeviceVersionMajor:0x0, DeviceVersionMinor:0x0, DeviceVersionBuild:0x1, CapabilitiesFlags:0x4}

[CTAPHID] CTAPHID FINALIZED MESSAGE: CTAPHIDMessageHeader{ ChannelID: 0x1, Command: ctapHIDCommandCBOR, PayloadLength: 1 } []byte{0x4}

[CTAP] CTAP COMMAND: ctapCommandGetInfo

[CTAP] GET_INFO RESPONSE: ctap.getInfoResponse{Versions:[]string{"FIDO_2_0", "U2F_V2"}, AAGUID:[16]uint8{0x75, 0x6c, 0x5a, 0xf5, 0xec, 0xa6, 0x1, 0xa3, 0x2f, 0xc6, 0xd3, 0xc, 0xe2, 0xf2, 0x1, 0xc5}, Options:ctap.getInfoOptions{IsPlatform:false, CanResidentKey:true, HasClientPIN:(*bool)(nil), CanUserPresence:true}, PINUVAuthProtocols:[]uint32(nil)}

[CTAPHID] CTAPHID CBOR RESPONSE: []byte{0x0, 0xa3, 0x1, 0x82, 0x68, 0x46, 0x49, 0x44, 0x4f, 0x5f, 0x32, 0x5f, 0x30, 0x66, 0x55, 0x32, 0x46, 0x5f, 0x56, 0x32, 0x3, 0x50, 0x75, 0x6c, 0x5a, 0xf5, 0xec, 0xa6, 0x1, 0xa3, 0x2f, 0xc6, 0xd3, 0xc, 0xe2, 0xf2, 0x1, 0xc5, 0x4, 0xa3, 0x62, 0x72, 0x6b, 0xf5, 0x62, 0x75, 0x70, 0xf5, 0x64, 0x70, 0x6c, 0x61, 0x74, 0xf4}

[CTAPHID] CTAPHID FINALIZED MESSAGE: CTAPHIDMessageHeader{ ChannelID: CTAPHID_BROADCAST_CHANNEL, Command: ctapHIDCommandInit, PayloadLength: 8 } []byte{0x76, 0xcb, 0xdf, 0xf6, 0xc, 0xfa, 0x26, 0xa5}

[CTAPHID] CTAPHID INIT RESPONSE: ctap_hid.initReponse{Nonce:[8]uint8{0x76, 0xcb, 0xdf, 0xf6, 0xc, 0xfa, 0x26, 0xa5}, NewChannelID:0x2, ProtocolVersion:0x2, DeviceVersionMajor:0x0, DeviceVersionMinor:0x0, DeviceVersionBuild:0x1, CapabilitiesFlags:0x4}

[CTAPHID] CTAPHID FINALIZED MESSAGE: CTAPHIDMessageHeader{ ChannelID: 0x2, Command: ctapHIDCommandCBOR, PayloadLength: 1 } []byte{0x4}

[CTAP] CTAP COMMAND: ctapCommandGetInfo

[CTAP] GET_INFO RESPONSE: ctap.getInfoResponse{Versions:[]string{"FIDO_2_0", "U2F_V2"}, AAGUID:[16]uint8{0x75, 0x6c, 0x5a, 0xf5, 0xec, 0xa6, 0x1, 0xa3, 0x2f, 0xc6, 0xd3, 0xc, 0xe2, 0xf2, 0x1, 0xc5}, Options:ctap.getInfoOptions{IsPlatform:false, CanResidentKey:true, HasClientPIN:(*bool)(nil), CanUserPresence:true}, PINUVAuthProtocols:[]uint32(nil)}

[CTAPHID] CTAPHID CBOR RESPONSE: []byte{0x0, 0xa3, 0x1, 0x82, 0x68, 0x46, 0x49, 0x44, 0x4f, 0x5f, 0x32, 0x5f, 0x30, 0x66, 0x55, 0x32, 0x46, 0x5f, 0x56, 0x32, 0x3, 0x50, 0x75, 0x6c, 0x5a, 0xf5, 0xec, 0xa6, 0x1, 0xa3, 0x2f, 0xc6, 0xd3, 0xc, 0xe2, 0xf2, 0x1, 0xc5, 0x4, 0xa3, 0x62, 0x72, 0x6b, 0xf5, 0x62, 0x75, 0x70, 0xf5, 0x64, 0x70, 0x6c, 0x61, 0x74, 0xf4}

[CTAPHID] INVALID COMMAND: 1
[CTAPHID] CTAPHID ERROR: ctapHIDErrInvalidCommand

[CTAPHID] CTAPHID: Read 57 bytes, Need 101 more

[CTAPHID] CTAPHID: Read 59 bytes, Need 42 more
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