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

Python dump doing rng raw #100

Open
nottledim opened this issue Sep 21, 2020 · 0 comments
Open

Python dump doing rng raw #100

nottledim opened this issue Sep 21, 2020 · 0 comments

Comments

@nottledim
Copy link

It'll have to speak for itself; I've no idea what it all means (other than "doesn't work!")

$ solo key rng raw > ~/xxx.bin
Traceback (most recent call last):
  File "/home/dick/.local/bin/solo", line 10, in <module>
    sys.exit(solo_cli())
  File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/dick/.local/lib/python3.7/site-packages/solo/cli/key.py", line 65, in raw
    r = p.get_rng(255)
  File "/home/dick/.local/lib/python3.7/site-packages/solo/client.py", line 203, in get_rng
    ret = self.send_data_hid(SoloBootloader.HIDCommandRNG, struct.pack("B", num))
  File "/home/dick/.local/lib/python3.7/site-packages/solo/client.py", line 143, in send_data_hid
    return self.dev.call(cmd, data, event)
  File "/home/dick/.local/lib/python3.7/site-packages/fido2/hid.py", line 89, in call
    status, resp = self._dev.InternalRecv()
  File "/home/dick/.local/lib/python3.7/site-packages/fido2/_pyu2f/hidtransport.py", line 330, in InternalRecv
    raise OSError('Packets received out of order')
OSError: Packets received out of order
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