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

Fail to run -t led-dance or enroll command #48

Open
xuno2012 opened this issue May 8, 2024 · 2 comments
Open

Fail to run -t led-dance or enroll command #48

xuno2012 opened this issue May 8, 2024 · 2 comments

Comments

@xuno2012
Copy link

xuno2012 commented May 8, 2024

my laptop is dual system on WIN11 23H3&archlinux
i am already enroll my finger on WIN11
after yay -S validity-sensors-tools-git libfprint-vfs009x-git
now mine 138a:0090 sensor can be recognition
but run -t led-dance -t enroll command output the same error
➜ ~ sudo validity-sensors-tools -t led-dance Found device <DEVICE ID 138a:0090 on Bus 001 Address 005> Opening device 0x90 Traceback (most recent call last): File "/usr/bin/validity-sensors-tools", line 375, in <module> vfs_tools.open_device(init=True) File "/usr/bin/validity-sensors-tools", line 128, in open_device vfs_tls.open() File "/usr/lib/python3.12/site-packages/proto9x/tls.py", line 126, in open self.make_cert_verify()) + ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/proto9x/tls.py", line 243, in make_cert_verify s=sign(hexlify(buf).decode(), self.priv_key, prehashed=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/fastecdsa/ecdsa.py", line 50, in sign hex_digest = hexlify(msg).decode() ^^^^^^^^^^^^ TypeError: a bytes-like object is required, not 'str'
does it means the fingerprint information is already exist on my sensor flash-chip or what?
what should i do?

@xuno2012
Copy link
Author

xuno2012 commented May 8, 2024

if i run initializer or factory-reset command
the program will ruin my fingerprint when i login with WIN11?

@xuno2012
Copy link
Author

xuno2012 commented May 9, 2024

sorry i notice run initialization command notice the same issue #41 Flash is already partitioned
i am a newbie

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