trustcrypto / OnlyKey-Firmware

The OnlyKey Firmware runs on the OnlyKey itself and provides the core functionality of OnlyKey.
https://docs.crp.to/firmware.html
219 stars 40 forks source link

Bug: Leading space is trimmed from stored password #111

Closed basnappl closed 4 years ago

basnappl commented 4 years ago

Hello,

Hopefully this is the right place to report this. I have discovered a bug using:

OnlyKey App v5.2.0 Firmware: v0.2-beta.8c OS: Ubuntu

On the "Slots" tab, when trying to set a password, if my password has a leading space (" "), it gets trimmed off when it is stored such that it is not typed after pressing the button.

I'll have a look at the source and see if I can figure out where it is going wrong.

basnappl commented 4 years ago

I think this probably belongs on the OnlyKey App page.