Commit graph

28 commits

Author SHA1 Message Date
Arvid Norlander
9f116547d0
Simplify blob design 2020-08-06 11:48:19 +02:00
Arvid Norlander
844c5100ef
Add typing information 2020-08-06 11:48:19 +02:00
Arvid Norlander
ee6fc3cdd8
Fix potential use of variable before initialisation. 2020-08-06 11:48:19 +02:00
Arvid Norlander
6a5a32d29f
Various small and easy cleanup found by inspection in PyCharm 2020-08-06 11:48:19 +02:00
Arvid Norlander
a17ad52102
Use optimise imports in PyCharm for cleanup.
This sorts imports into sections:
* From standard library
* From other libraries
* From the current project

Each section is sorted alphabetically.
2020-08-06 11:48:19 +02:00
Arvid Norlander
9a5b045378
Get rid of star imports.
These are dangerous as you will import not only the functions defined
in the other module but also all of it's imports! This makes automated
cleanups brittle.
2020-08-06 11:46:19 +02:00
Arvid Norlander
9dc0c14aed
Automated formatting with YAPF.
PEP8 settings are used except the low 80 column limit has be increased
to a more reasonable 100 columns.
2020-08-06 11:46:19 +02:00
Mary Strodl
150c066a9f
db: finger_ids is unused, don't import it 2020-08-06 00:33:00 -04:00
Mary Strodl
26d9fa8eb3
Merge branch 'master' into feature/winbio-data 2020-08-06 00:31:09 -04:00
Mary Strodl
c4bb1ad040
support multiple fingers, expose winbio names 2020-08-06 00:20:03 -04:00
Arvid Norlander
f958c6296b
Fixes from review 2020-08-04 18:53:04 +02:00
Arvid Norlander
d2944ba762
Support config files for SID mapping.
This allows interoperability with Windows.
2020-08-03 20:07:12 +02:00
Arvid Norlander
9898b5d80a
Fix some Python errors and clean up unused imports. 2020-08-03 19:34:20 +02:00
Viktor Dragomiretskyy
eca81e6677 Actually check which user was passed to VerifyStart. 2020-08-03 23:56:29 +12:00
Viktor Dragomiretskyy
33712e9800 Don't touch the GUID record. 2020-08-02 01:45:46 +12:00
Viktor Dragomiretskyy
d6e712a075 Infer a point on a curve from the private part. 2020-08-01 22:07:57 +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
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
e2fb0f9af7 Fix typos, thanks to @RaghavRao 2020-07-13 11:19:35 +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
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
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
0dbd04c972 Remove debugging info 2020-07-10 15:43:41 +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
6a24f89a51 Refactor package name 2020-07-09 16:28:38 +12:00