Commit graph

58 commits

Author SHA1 Message Date
uunicorn
2a3e675a29
Merge pull request #6 from marto87/device/009a
Minor fixes after refactoring
2020-07-02 13:33:45 +12:00
Martin Ales
d95786f6ef Minor fixes after refactoring 2020-07-01 22:27:44 -03:00
Viktor Dragomiretskyy
d1e1b8f6fa Oops, accidently left my device type enabled. 2020-07-02 01:26:30 +12:00
Viktor Dragomiretskyy
6a94c07ba9 Attempt to integrate the calibration logic into the rest of the code. 2020-07-02 01:01:20 +12:00
Viktor Dragomiretskyy
6d01ed5477 A bit of refactoring and tests. 2020-07-01 22:19:50 +12:00
Viktor Dragomiretskyy
98d1d2f8ae Calibration logic sort of works now.
Still needs a bit of refactoring before integrating with the rest of the code.
2020-07-01 03:20:44 +12:00
Viktor Dragomiretskyy
c1c30855ce Hack the calibration info so it looks like a proper data. 2020-06-25 16:07:42 +12:00
Viktor Dragomiretskyy
c60d74027b Don't break 0097 2020-06-24 04:24:12 +12:00
Viktor Dragomiretskyy
2388d4f96e Change bytes per line 2020-06-24 04:15:03 +12:00
Viktor Dragomiretskyy
b70d022604 Work around missing finger db id on 009a. 2020-06-24 03:22:28 +12:00
Viktor Dragomiretskyy
582d3c8f94 Handle capture exceptions without breaking the enrollment loop. 2020-06-24 02:48:50 +12:00
Viktor Dragomiretskyy
e9472c2ad3 Change how we wait for a scan to finish. 2020-06-24 00:32:38 +12:00
Viktor Dragomiretskyy
3be7104f64 Properly parse enrollment update response. 2020-06-23 23:25:24 +12:00
Viktor Dragomiretskyy
d4471c4096 more 009a tweaks and some debugging output 2020-06-23 03:06:50 +12:00
Viktor Dragomiretskyy
d465573b2a Fix offset for 009a 2020-06-23 02:46:42 +12:00
Viktor Dragomiretskyy
68a3dd7042 Add missing write-enable and flush commands 2020-06-23 02:09:47 +12:00
Viktor Dragomiretskyy
f0389b7b97 Another unexpected reg value 2020-06-23 00:51:53 +12:00
Viktor Dragomiretskyy
d24ef8fc92 More changes for 009a 2020-06-23 00:39:13 +12:00
Viktor Dragomiretskyy
1067faad54 Tweak the partition proto for 009a 2020-06-23 00:15:38 +12:00
Viktor Dragomiretskyy
82b42e4fd1 Use the correct firmware image filename on 009a devices. 2020-06-22 21:23:46 +12:00
Viktor Dragomiretskyy
2eb301576f Adding 009a blobs. Thanks @mjenny ! 2020-06-22 20:53:18 +12:00
uunicorn
63936a0207
Create LICENSE 2020-06-20 18:21:01 +12:00
uunicorn
6ab756ae55
Merge pull request #2 from 3v1n0/vfs0090-merge
Vfs0090 merge
2020-06-12 00:32:17 +12:00
Marco Trevisan (Treviño)
a7a39aa5d7 validity-sensors-initializer: Add argument to change the drivers download location 2020-06-11 14:09:00 +02:00
Marco Trevisan (Treviño)
7b8a3b0d32 validity-sensors-initializer: Add options for file paths and serials 2020-06-11 14:09:00 +02:00
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
uunicorn
27f4fa34ba
Merge pull request #1 from 3v1n0/master
README: Describe how to get 6_07f_Lenovo.xpfwext firmware
2020-04-01 09:38:08 +13: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