Commit graph

12 commits

Author SHA1 Message Date
Arvid Norlander
4417e49612
New reformatting of code after rebase and changes. 2020-08-06 11:55:22 +02:00
Arvid Norlander
844c5100ef
Add typing information 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
Arvid Norlander
9898b5d80a
Fix some Python errors and clean up unused imports. 2020-08-03 19:34:20 +02:00
Viktor Dragomiretskyy
d6e712a075 Infer a point on a curve from the private part. 2020-08-01 22:07:57 +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
e33d4e956e Fix scripts 2020-07-11 01:16:42 +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
Renamed from proto9x/tls.py (Browse further)