gl-sergei / u2f-token

u2f token firmware for stm32f103 and efm32hg boards
GNU General Public License v3.0
339 stars 56 forks source link

Script to inject key and/or auth counter directly into binary image #26

Open eliotb opened 5 years ago

eliotb commented 5 years ago

25

I have changed the parameters slightly: The --key must be given explicitly or key in .bin is not modified The --ctr must be given (and non-zero) or counter are in .bin is not modified.

Thus it is possible to change just the key or the counter independently.

I have confirmed that this script produces the same modifications as the original inject_key.py

gl-sergei commented 5 years ago

Any update on this?