Huang Rui
c0bf88ea05
Unsafe load() call disabled by Gentoo. See bug #659348
...
```
Aug 02 20:42:54 t480 dbus-service[60937]: Traceback (most recent call last):
Aug 02 20:42:54 t480 dbus-service[60937]: File "/usr/lib/python-validity/dbus-service", line 307, in <module>
Aug 02 20:42:54 t480 dbus-service[60937]: main()
Aug 02 20:42:54 t480 dbus-service[60937]: File "/usr/lib/python-validity/dbus-service", line 245, in main
Aug 02 20:42:54 t480 dbus-service[60937]: config = yaml.load(configfd)
Aug 02 20:42:54 t480 dbus-service[60937]: File "/usr/lib/python3.9/site-packages/yaml/__init__.py", line 109, in load
Aug 02 20:42:54 t480 dbus-service[60937]: raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348 ")
Aug 02 20:42:54 t480 dbus-service[60937]: RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348
```
Relevant Gentoo bug report https://bugs.gentoo.org/659348
Replacing yaml.load() calls with yaml.safe_load() should fix it
2021-08-02 20:49:31 +08:00
Mateusz Grzywacz
c743785162
suppress dbus lib warnings + warn against no indent in config
2020-11-10 05:11:39 +01:00
Viktor Dragomiretskyy
92eab67353
Implement Suspend/Resume methods to reset the TLS state
2020-10-17 17:50:18 +13:00
Arvid Norlander
4417e49612
New reformatting of code after rebase and changes.
2020-08-06 11:55:22 +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
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
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
Viktor Dragomiretskyy
eca81e6677
Actually check which user was passed to VerifyStart.
2020-08-03 23:56:29 +12:00
Viktor Dragomiretskyy
d406727685
Notify the framework when the finger is selected.
2020-08-02 00:02: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
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
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
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
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
23498ba122
Added debian packaging
2020-07-10 17:48:51 +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