Commit graph

32 commits

Author SHA1 Message Date
Marco Trevisan (Treviño)
fd80c01cd5 calibrate: Don't print the calibration status 2020-06-11 14:09:00 +02:00
Marco Trevisan (Treviño)
b211d0e92b validity-sensors-initializer: Use calibration file if any is available
Otherwise save generated one in temporary path
2020-06-11 14:09:00 +02:00
Marco Trevisan (Treviño)
a6ca2cbc56 calibrate: Support passing calibrate dump path 2020-06-11 14:09:00 +02:00
Marco Trevisan (Treviño)
23f7fd94ca README: Mention validity-sensors-initializer 2020-06-11 14:09:00 +02:00
Marco Trevisan (Treviño)
c43b99a02e validity-sensors-initializer: Set referrer and user agent 2020-06-11 14:09:00 +02:00
Marco Trevisan (Treviño)
37bf786c01 led-dance: Add example to perform led tests 2020-06-11 14:08:59 +02:00
Marco Trevisan (Treviño)
a43c876dcf validity-sensors-initializer: Automatize the device flashing
- Downloads the archive with the driver
- Extracts it and flashes to the device
2020-06-11 14:08:59 +02:00
Marco Trevisan (Treviño)
23fa2a9c90 Rename package from proto97 to proto9x 2020-06-11 14:08:59 +02:00
Marco Trevisan (Treviño)
58b80a5dce README: update the paragraph about firmware downloading and extracting 2020-06-11 14:08:59 +02:00
Marco Trevisan (Treviño)
e011551526 tls: Add function to make possible to set the HW key
Defaults it to VirtualBox as it used to be
2020-06-11 14:08:59 +02:00
Marco Trevisan (Treviño)
64544fab70 upload_fwext: Get firmware dynamically dependent on chip model 2020-06-11 14:08:59 +02:00
Marco Trevisan (Treviño)
4b5dd81ec2 proto97: Make loading blobs dynamically dependent on opened USB device
So we can support both 90 and 97 together
2020-06-11 14:08:59 +02:00
Marco Trevisan (Treviño)
8f83e1d2b2 requirements: Use pycrypto version compatible with 3.8
It's not released so, we need to rely on the proposed version used by most
distros

https://github.com/pycrypto/pycrypto/pull/296
2020-06-11 14:08:59 +02:00
Marco Trevisan
9d011ff11a
README: Describe how to get 6_07f_Lenovo.xpfwext firmware
A similar alternative is also probably 6_07f_lenovo_sm_qm.xefwext
2020-03-31 21:24:55 +02:00
Viktor Dragomiretskyy
520df7333c Validate ECDH params signature 2019-09-21 19:12:25 +12:00
Viktor Dragomiretskyy
616a667c18 Add requirements.txt, update README 2019-09-21 14:28:42 +12:00
Viktor Dragomiretskyy
269fd1955e A bit of refactoring 2019-08-26 23:05:42 +12:00
Viktor Dragomiretskyy
859f163520 Fix some imports so that demo stuff is still working. 2019-06-29 20:46:26 +12:00
Viktor Dragomiretskyy
59e01f2df0 DB init part of the pairing added. Pairing is done, YAY! 2019-06-29 20:01:27 +12:00
Viktor Dragomiretskyy
c5c3912506 A bit more refactoring. Calibration now works (sort of). 2019-06-29 18:15:35 +12:00
Viktor Dragomiretskyy
bf2a590813 A bit of refactoring and a start at calibration part of pairing 2019-06-27 23:38:33 +12:00
Viktor Dragomiretskyy
7368cd8d4f Add padding to private key encryption. Now compartible with windows version. 2019-06-20 10:11:06 +12:00
Viktor Dragomiretskyy
164a0a9e91 Upload firmware works! 2019-06-19 19:14:47 +12:00
Viktor Dragomiretskyy
974cb1a7c1 Flash partition works! 2019-06-19 18:21:19 +12:00
Viktor Dragomiretskyy
828aa54618 Added an ability to do a factory reset and partition the flash. (first steps to enable the pairing) 2019-06-19 14:22:49 +12:00
Viktor Dragomiretskyy
8a282299ed Merge remote-tracking branch 'origin/master' 2019-05-29 16:13:42 +12:00
Viktor Dragomiretskyy
443aca2720 Added some decompilation for timeslot table blobs. 2019-05-29 16:11:46 +12:00
uunicorn
64432d777d
Create README.md 2019-05-27 20:45:15 +12:00
Viktor Dragomiretskyy
ae7f5f9a3b A couple of small tweaks
- added a [lame] way to cancel an active capture
- detect when usb device is disconnected (seems to work fine with suspend/resume)
- try to gracefully end dbus service when device is disconnected
2019-05-27 20:01:17 +12:00
Viktor Dragomiretskyy
b690db7498 Added a sample DBus service which can impersoname fprintd 2019-05-23 00:16:46 +12:00
Viktor Dragomiretskyy
ef6ce24a26 A couple of improvements
- make TLS session persistent:
  once open, you can save TLS state with tls.save() and
  restore it next time by calling tls.load() instad of tls.open().
  State is saved in tls.dict file.
- a small standalone script added which can be used to keep an open
  file descriptor to the device. Without it tls.load() wont work.
- identify() function added
- added methods to associate blobs with fingers. Windows seems to be
  using these blobs to save certificates for the users to establish
  trust with potentially removable devices (it is sort of documented in
  winbio specs)
2019-05-21 22:41:54 +12:00
Viktor Dragomiretskyy
a7e203f958 First commit 2019-05-20 01:38:13 +12:00