FindMy icon indicating copy to clipboard operation
FindMy copied to clipboard

generate keys problem

Open adamast0r opened this issue 1 year ago • 0 comments

I got this error when using python 3.9:

$ ./generate_keys.py

Traceback (most recent call last):
  File "/home/hugol/itags/FindMy/./generate_keys.py", line 28, in <module>
    priv_bytes = int.to_bytes(priv, 28)
TypeError: to_bytes() missing required argument 'byteorder' (pos 2)

A fix seems to be: L28 priv_bytes = priv.to_bytes(28,'big') L29 adv_bytes = adv.to_bytes(28,'big')

adamast0r avatar Dec 06 '23 22:12 adamast0r