Commit graph

171 commits

Author SHA1 Message Date
uunicorn
5bf6b2bd10
Merge pull request #93 from vowstar/patch-1
Unsafe load() call disabled by Gentoo. See bug #659348
2021-08-03 11:16:45 +12:00
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
uunicorn
969f56f2a8
Merge pull request #50 from Tomcat-42/master
Add waking up from suspend error instructions on README
2021-06-11 15:35:55 +12:00
uunicorn
a9b1bc07f3
Merge pull request #52 from amateusz/master
suppress dbus lib  warnings + warn against no indent in config
2021-06-11 15:34:12 +12:00
uunicorn
9031c1ae90
Merge pull request #82 from Tigro/patch-1
added Fedora installation items
2021-06-11 15:33:01 +12:00
Arkady Shane
5623e12387
fix typo 2021-06-04 15:27:19 +03:00
Arkady Shane
d5c1895506
added Fedora installation items 2021-05-14 18:18:23 +03:00
uunicorn
e8521aa151
Merge pull request #65 from mrdanielps/9d
Add support for 138a:009d
2020-12-29 14:34:39 +13:00
mrdanielps
a3387549f0 Add support for 138a:009d 2020-12-20 17:09:58 +01:00
uunicorn
331474fd76
Merge pull request #53 from veitw/rpm-packaging
RPM packaging (Fedora) and SELinux module
2020-11-14 16:13:38 +13:00
Veit Wahlich
e6a7713d07 RPM packaging (Fedora) and SELinux module
* added specfile for rpmbuild
 * added missing [Install] unit to systemd service unit
 * added SELinux module to grant python-validity the required permissions
2020-11-14 00:16:27 +01:00
Mateusz Grzywacz
c743785162 suppress dbus lib warnings + warn against no indent in config 2020-11-10 05:11:39 +01:00
Pablo Hugen
906d171ce8 Add instructions for solving fingerprint not working after resume
As pointed by #39. Also, add a table of contents.
2020-10-26 08:41:02 -03:00
uunicorn
fcd862dfdf
Merge pull request #48 from kakawait/patch-1
Update setup.py version to match latest version
2020-10-18 09:12:40 +13:00
Thibaud Lepretre
1b14986b3e
Update setup.py version to match latest versoin 2020-10-17 15:43:15 +02:00
Viktor Dragomiretskyy
42df399646 Bump to 0.12 2020-10-17 17:52:44 +13:00
Viktor Dragomiretskyy
92eab67353 Implement Suspend/Resume methods to reset the TLS state 2020-10-17 17:50:18 +13:00
Viktor Dragomiretskyy
df3f802104 Bump to 0.11 2020-09-10 21:11:03 +12:00
uunicorn
707f606c7f
Merge pull request #36 from Titaniumtown/master
add installation instructions for Arch Linux
2020-09-02 10:45:35 +12:00
Simon Gardling
7cee93afc6 add installation instructions for Arch Linux 2020-09-01 12:11:01 -04:00
uunicorn
42669765de
Merge pull request #30 from alteriks/suspend-then-hibernate
Update python3-validity-suspend-restart.service
2020-08-19 10:24:49 +12:00
uunicorn
0369d960b3
Merge pull request #29 from VorpalBlade/feature/verify_hash
Implements uunicorn/python-validity#26: Verify hash of downloaded drivers
2020-08-19 10:20:23 +12:00
alteriks
151a076d8c
Update python3-validity-suspend-restart.service
Systemd uses additional target corelated to resume - suspend-then-hibernate.target
2020-08-18 21:54:42 +02:00
Arvid Norlander
367df46166
Implements uunicorn/python-validity#26: Verify hash of downloaded drivers. 2020-08-18 17:00:38 +02:00
uunicorn
64438d613a
Merge pull request #25 from VorpalBlade/feature/fix-todo-validity-sensors-firmware
Consolidate definitions related to firmware files.
2020-08-08 23:39:54 +12:00
Arvid Norlander
1078c3873f
Consolidate definitions related to firmware files.
This fixes the TODO comments in validity-sensors-firmware
2020-08-07 12:58:01 +02:00
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