Commit graph

112 commits

Author SHA1 Message Date
Viktor Dragomiretskyy
81791030e8 Properly pass exception to logger 2020-07-16 23:49:39 +12:00
Viktor Dragomiretskyy
75c6ddb5b3 * Roll back async changes for enroll & identify.
* Add a couple of tweaks to stop the sensor from crashing.
* A few more comments and TODOs
2020-07-16 23:13:46 +12:00
Viktor Dragomiretskyy
229fffe14c Bump to 0.7~ppa1 2020-07-13 17:51:22 +12:00
Viktor Dragomiretskyy
74598ad291 * Use single instance of a systemd service (at least for now)
* Switch to use logger instead of prints
* Catch signals to enforce graceful shutdown
2020-07-13 17:48:00 +12:00
Viktor Dragomiretskyy
886e19d3d6 Bump to 0.6 2020-07-13 11:31:13 +12:00
Viktor Dragomiretskyy
de47ffa028 Merge branch 'master' of github.com:uunicorn/python-validity 2020-07-13 11:29:25 +12:00
Viktor Dragomiretskyy
36fb2095d3 Add dependency on innoextract 2020-07-13 11:28:49 +12:00
uunicorn
86bf03d67f
Merge pull request #13 from hhgarnes/patch-1
Update README.md
2020-07-13 11:22:34 +12:00
Viktor Dragomiretskyy
056f585e4b Undo part of the last change to merge PR. 2020-07-13 11:21:39 +12:00
Viktor Dragomiretskyy
e2fb0f9af7 Fix typos, thanks to @RaghavRao 2020-07-13 11:19:35 +12:00
hhgarnes
5aaa778a02
Update README.md
This makes all the commands not throw syntax errors or package not found. However, for 009a, fprintd-enroll still says list_devices failed:
2020-07-13 00:38:35 +02:00
Viktor Dragomiretskyy
1c98a459cd Update README 2020-07-12 18:09:43 +12:00
Viktor Dragomiretskyy
d90eb1682b Bump to 0.5~ppa1 2020-07-12 16:16:49 +12:00
Viktor Dragomiretskyy
ab73c2c47f Add a safety back off, so we don't spam device with indefinite reboot loop. 2020-07-12 16:10:43 +12:00
Viktor Dragomiretskyy
600202b4d6 Incrementally pair with the device. Try downloading the firmware from postinst. 2020-07-12 14:49:00 +12:00
Viktor Dragomiretskyy
b909438785 Bumpt to 0.4~ppa1 2020-07-12 04:11:53 +12:00
Viktor Dragomiretskyy
cefc2f6ff5 Attempt to start from udev. 2020-07-12 04:08:51 +12:00
Viktor Dragomiretskyy
04fa59ce1d Add option to start service on a specific device identified by bus number and device address. 2020-07-11 17:03:27 +12:00
Viktor Dragomiretskyy
22d2027469 Bump to 0.3~ppa2 2020-07-11 12:38:20 +12:00
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