Commit graph

145 commits

Author SHA1 Message Date
uunicorn
6a7ae704e7
Merge pull request #24 from VorpalBlade/feature/code-cleanup
Major code cleanup:
2020-08-06 22:41:07 +12:00
Arvid Norlander
271f17c8d6
Restore imports in interactive environment prototype. 2020-08-06 12:38:14 +02:00
Arvid Norlander
4417e49612
New reformatting of code after rebase and changes. 2020-08-06 11:55:22 +02:00
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
uunicorn
e003dbeb1a
Merge pull request #23 from Mstrodl/feature/winbio-data
Support multiple fingers on DBus service
2020-08-06 20:22:39 +12: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
uunicorn
bc3cee3024
Merge pull request #20 from VorpalBlade/feature/sid_mapping
Config file for SID mapping.
2020-08-05 23:02:04 +12:00
Arvid Norlander
f958c6296b
Fixes from review 2020-08-04 18:53:04 +02:00
uunicorn
d72c7b1896
Merge pull request #22 from VorpalBlade/feature/hybrid-sleep
Run restart service on hybrid sleep as well.
2020-08-04 20:39:28 +12:00
Arvid Norlander
70b6f4c01d
Run restart service on hybrid sleep as well. 2020-08-04 10:35:10 +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
Arvid Norlander
c4597a7202
Add .idea for PyCharm to .gitignore. 2020-08-03 19:34:20 +02:00
Viktor Dragomiretskyy
d7906ce3a9 Bump to 0.9 2020-08-04 00:04:56 +12: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
d406727685 Notify the framework when the finger is selected. 2020-08-02 00:02:30 +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
ca3b6f0142 Merge branch 'master' of github.com:uunicorn/python-validity 2020-07-25 12:29:32 +12:00
Viktor Dragomiretskyy
ddcce8bad2 Bump to 0.8 2020-07-25 12:28:18 +12:00
uunicorn
d8092c54b4
Merge pull request #18 from hhgarnes/patch-2
Update README.md
2020-07-18 09:32:40 +12:00
hhgarnes
c6067747d7
Update README.md
Tweak the message about re-stopping the python3-validity message. I got that at a surprising point, which may have been after running the firmware command. I can|t remember any more, but this message makes the point clearer about possibly needing to stop it also before running the reset command.
2020-07-17 21:47:38 +02:00
uunicorn
7b56f99759
Merge pull request #17 from hhgarnes/patch-1
Update README.md
2020-07-17 11:32:11 +12:00
hhgarnes
d2b70d033e
Update README.md
Add some failure recovery instructions, and instructions on how to enable pam fingerprint authentication.
2020-07-17 01:24:22 +02:00
Viktor Dragomiretskyy
504f5316b5 Add a service to restart python3-validity on suspend/resume. Thanks to @flops 2020-07-17 00:23:30 +12:00
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