Commit graph

93 commits

Author SHA1 Message Date
Viktor Dragomiretskyy
ba143f01c4 Add missing dbus conf file 2020-07-11 12:32:48 +12:00
Viktor Dragomiretskyy
044249e629 Bump to 0.3 2020-07-11 05:48:48 +12:00
Viktor Dragomiretskyy
29c529f5c6 Don't need to own a well-known bus name any more.
Allow open-fprintd call our methods.
2020-07-11 05:38:31 +12:00
Viktor Dragomiretskyy
4ea1e6227b Bump to 0.2 2020-07-11 02:46:39 +12:00
Viktor Dragomiretskyy
7733cac3cb Pass both vendor and product to override autodetection. Autodetect 0090 as well. 2020-07-11 02:08:18 +12:00
Viktor Dragomiretskyy
e33d4e956e Fix scripts 2020-07-11 01:16:42 +12:00
Viktor Dragomiretskyy
23498ba122 Added debian packaging 2020-07-10 17:48:51 +12:00
Viktor Dragomiretskyy
8d11c36361 Changed description of dbus service in readme. 2020-07-10 15:51:04 +12:00
Viktor Dragomiretskyy
0dbd04c972 Remove debugging info 2020-07-10 15:43:41 +12:00
Viktor Dragomiretskyy
95f9cbfe72 Expect open-fprintd to be up or down 2020-07-10 15:23:31 +12:00
Viktor Dragomiretskyy
19f49e038b Initial setuptools packaging 2020-07-10 15:00:36 +12:00
Viktor Dragomiretskyy
189889bd77 Switch crypto deps from fastecdsa and pycrypto to cryptography 2020-07-10 01:06:39 +12:00
Viktor Dragomiretskyy
20740ea377 Remove holdthedoor, as it won't be needed. 2020-07-09 16:35:55 +12:00
Viktor Dragomiretskyy
6a24f89a51 Refactor package name 2020-07-09 16:28:38 +12:00
Viktor Dragomiretskyy
276eb63129 Merge branch 'master' of github.com:uunicorn/python-validity 2020-07-09 09:25:17 +12:00
Viktor Dragomiretskyy
38ccc1e5a7 Add reboot at the end of pair.py 2020-07-09 09:22:49 +12:00
uunicorn
56a2922376
Update README.md 2020-07-07 15:04:00 +12:00
Viktor Dragomiretskyy
086b9e9b6c Updating readme. 2020-07-07 14:33:34 +12:00
Viktor Dragomiretskyy
746ef2888d Properly handle shutdown sequence in both prototype and dbus service. 2020-07-07 14:07:19 +12:00
Viktor Dragomiretskyy
7f14da61a8 A few things.
- automatically locate supported usb device
- prototype will call reboot() on exit
- enroll() & identify() are now async
- dbus service rewriten to use standard dbus.service
- use own simplified DBus interface for backend comms
2020-07-07 02:22:43 +12:00
Viktor Dragomiretskyy
e158e9e969 New blobs for 0097, trying to solve @digitalec's problem with 0097 device. 2020-07-03 22:07:18 +12:00
Viktor Dragomiretskyy
87a818d6a5 Mention open9a() in README 2020-07-03 20:42:49 +12:00
uunicorn
7e3f87f72c
Merge pull request #8 from hhgarnes/patch-1
Update README.md
2020-07-03 20:36:32 +12:00
uunicorn
95bdee3aaa
Merge pull request #7 from marto87/device/009a
Add support for 009a sensor initializer
2020-07-03 20:35:36 +12:00
Viktor Dragomiretskyy
a04c6d127b Add open9a so that open97 will still attempt to open 0097 device. 2020-07-03 20:24:11 +12:00
Viktor Dragomiretskyy
fd202bd0d8 Oops2 2020-07-03 19:52:07 +12:00
Viktor Dragomiretskyy
d70acf42cb Oops, broken 009a 2020-07-03 19:43:44 +12:00
Viktor Dragomiretskyy
a36dd87416 Implement calibration logic for 0097 2020-07-03 18:49:21 +12:00
Viktor Dragomiretskyy
3261db1075 Add sensor.open() to open97(). Use userid from the DBus context. 2020-07-03 10:35:06 +12:00
Viktor Dragomiretskyy
268008e499 Revert "Use root as a default username when clients do not specify any"
This reverts commit 4f8c061f53.
2020-07-03 10:33:58 +12:00
hhgarnes
108cd6f9cb
Update README.md
Adding some documentation updates for the 009a sensor.
2020-07-02 23:47:56 +02:00
Viktor Dragomiretskyy
4f8c061f53 Use root as a default username when clients do not specify any 2020-07-03 09:19:45 +12:00
Martin Ales
33e72e6d44 Add support for 009a sensor initializer 2020-07-02 15:19:14 -03:00
Viktor Dragomiretskyy
cb68b5c1f7 Merge branch 'device/009a' of github.com:uunicorn/python-validity into device/009a 2020-07-03 01:25:39 +12:00
Viktor Dragomiretskyy
d368943c5e Fix the alignment, as my assumption about the data always being aligned is wrong due to a bitpacked version of factory calibration blob. 2020-07-03 01:24:04 +12:00
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