Skip to content

Commit

Permalink
WIP: 'solo key probe' still broken (no new breakage though)
Browse files Browse the repository at this point in the history
  • Loading branch information
innir committed Oct 17, 2023
1 parent 95d4e34 commit 1fb9c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solo/cli/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ def probe(serial, udp, hash_type, filename):
p = solo.client.find(serial, udp=udp)
import fido2

serialized_command = fido2.cbor.dumps({"subcommand": hash_type, "data": data})
serialized_command = fido2.cbor.encode({"subcommand": hash_type, "data": data})
from solo.commands import SoloBootloader

result = p.send_data_hid(SoloBootloader.HIDCommandProbe, serialized_command)
result = p.send_data_hid(SoloBootloader.CommandProbe, serialized_command)
result_hex = result.hex()
print(result_hex)
if hash_type == "Ed25519":
Expand Down

0 comments on commit 1fb9c07

Please sign in to comment.