35 Commits

Author SHA1 Message Date
meejah
6aff94dd8f flake8, more frozen 2023-02-22 00:15:32 -07:00
meejah
00ef4661a6 ISO dates, not seconds 2023-02-21 16:06:24 -07:00
meejah
d91bfcb1d2 clarify 2023-02-21 14:38:43 -07:00
meejah
82045b4298 store signature as raw bytes, not base32 2023-02-21 14:19:44 -07:00
meejah
1b6d5e1bda Revert "use attrs directly"
This reverts commit 5b14561ec0c1827744c6d4b5127de7bececabb4d.
2023-02-21 11:56:46 -07:00
meejah
38669cc3ce define -> frozen 2023-02-21 02:15:20 -07:00
meejah
032b852bab define -> frozen 2023-02-21 01:51:13 -07:00
meejah
bdf4c49a34 fine, move the if statement 2023-02-20 22:57:15 -07:00
meejah
a6cf06cc6d http needs access to GridManager 2023-02-20 12:26:44 -07:00
meejah
5b14561ec0 use attrs directly 2023-02-20 12:02:34 -07:00
meejah
039c1d8037
Update src/allmydata/grid_manager.py
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2022-11-09 10:52:42 -07:00
Itamar Turner-Trauring
90188ce4d1 More Python 3 tweaks. 2022-07-18 11:05:03 -04:00
Itamar Turner-Trauring
d84d366c72 Some tweaks for Python 3 and modern attrs. 2022-07-18 10:50:04 -04:00
Itamar Turner-Trauring
c0d07e1894 Bit more input validation. 2021-08-27 11:12:34 -04:00
Itamar Turner-Trauring
4c750cf88d Port to Python 3. 2021-08-27 10:15:26 -04:00
Itamar Turner-Trauring
f99f9cf7d1 Tests pass on Python 3. 2021-08-27 09:47:42 -04:00
Itamar Turner-Trauring
e3a844e684 Maybe fields are better off as bytes in SignedCertificate. 2021-08-27 09:25:49 -04:00
Itamar Turner-Trauring
c88130d8a8 Make signed certificates an object instead of a dict. 2021-08-26 16:55:12 -04:00
meejah
22239022c7 test: invalid cert key 2021-01-04 21:49:15 -07:00
meejah
d31d8e19c5 module docstring 2020-12-20 23:17:21 -07:00
meejah
5eff6f9ddd add a few docstrings for accessors etc 2020-12-20 23:15:14 -07:00
meejah
884c26495f flake8 2020-11-25 19:50:11 -07:00
meejah
42b7d3974f check public key / server-id 2020-11-24 01:19:10 -07:00
meejah
d1adbe0f64 unused 2020-11-23 17:37:37 -07:00
meejah
a98d784ce4 timedelta, not seconds 2020-11-23 17:36:50 -07:00
meejah
1e1aad8cc8 save only fails sometimes 2020-11-23 17:36:39 -07:00
meejah
72f2e25f86 ask forgiveness not permission 2020-11-23 17:20:10 -07:00
meejah
938cc5616e refactor (review): move grid-manager certificate loading code out of cli 2020-11-17 18:17:19 -07:00
meejah
800497a719 refactor load_grid_manager() to better present errors (review) 2020-11-17 10:57:30 -07:00
meejah
d34c32cc50 cleanup / review 2020-11-17 10:49:07 -07:00
meejah
32b19fa4d0 flake8 2020-11-13 18:40:44 -07:00
meejah
41fa8238d5 more unittests 2020-11-07 03:26:05 -07:00
meejah
a8382a5356 cleanup, more tests 2020-11-07 02:18:54 -07:00
meejah
d09690823d spelling 2020-11-07 02:18:18 -07:00
meejah
2118a2446e grid-manager stand-alone, via Click 2020-11-06 22:23:53 -07:00