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

Running tkey-verification against an incorrect device gives a 404-error #24

Open
cibomahto opened this issue Nov 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cibomahto
Copy link

What happened:

I was trying to verify an old prototype device, with an incorrect USB VID/PID. I used the --port option to force communication to the device.

tkey-verification --port /dev/ttyACM0 verify
TKey UDI: 0x0001020304050607(BE) VendorID: 0x0010 ProductID: 8 ProductRev: 3
HTTP GET status code: 404 (404 Not Found)
I/O FAILED: I/O error

Expected result:

I expected a message saying that this wasn't a genuine TKey

@dehanj dehanj pinned this issue Nov 11, 2024
@dehanj dehanj unpinned this issue Nov 11, 2024
@dehanj
Copy link
Member

dehanj commented Nov 11, 2024

I agree, it would be better to filter out the 404 Not Found error and treat it in a better way.

Maybe it should be even more verbose, "Not genuine. You are trying to verify a TKey with an UDI not provisioned by Tillitis".

@dehanj dehanj added the bug Something isn't working label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants