Commit graph

182 commits

Author SHA1 Message Date
2d755b8e3d /{device_id}/issue mostly done 2022-04-05 01:55:35 +00:00
d89409f973 introduce EasyRSA._ 2022-04-05 01:53:13 +00:00
f2948a7b64 check device approval elsewhere 2022-04-05 01:52:58 +00:00
143e9a9fa9 lazy=joined for Device.owner 2022-04-05 01:26:48 +00:00
c94e07fbac EasyRSA: pyopenssl -> cryptography 2022-04-05 00:42:55 +00:00
d8bdb46a5c check issue permission 2022-04-02 21:24:44 +00:00
2d39c4aaa3 formatting 2022-04-02 00:44:35 +00:00
054b351435 wrong key size 2022-04-02 00:44:27 +00:00
8079036c75 easyrsa: use env variables 2022-04-02 00:08:27 +00:00
b421d6f79b device: request_certificate (no "approval" check) 2022-04-01 17:51:01 +00:00
e6c270a0fa missing 401 2022-04-01 17:15:56 +00:00
5b68f5ef7e docstrings: Added HTTP status 2022-04-01 17:05:57 +00:00
762af5dd48 issue: server DN default value evaluation time 2022-04-01 16:44:28 +00:00
821d72a773 init pki endpoint 2022-04-01 15:40:08 +00:00
78e0515042 CertificateType instead of str 2022-04-01 15:39:48 +00:00
72fc209349 HTTP 201 2022-04-01 06:35:28 +00:00
b291c20ed6 User.is_admin property 2022-04-01 06:20:20 +00:00
3b79efaa80 brevity 2022-04-01 00:14:12 +00:00
ae16c884d6 comments 2022-03-31 23:15:49 +00:00
26d171e6d3 refactoring 2022-03-31 16:59:14 +00:00
583d1de06a error messages 2022-03-31 16:49:04 +00:00
a88168b8d4 fix: device creation 2022-03-31 16:48:52 +00:00
008f0b2cf6 require email field 2022-03-31 16:34:36 +00:00
5d0d996288 resolved all warnings 2022-03-31 16:32:07 +00:00
69b0a619e0 test: certify device with id 1 2022-03-30 23:59:25 +00:00
968e9491cf use ORG mode for client- and server certs 2022-03-30 23:41:34 +00:00
2566702d9e actually issuing certs 2022-03-30 22:27:17 +00:00
23a806e325 create /service router 2022-03-30 21:19:06 +00:00
a524c02138 easyrsa: use config 2022-03-30 21:18:54 +00:00
1f4a9994a6 get_current_config dependable 2022-03-30 20:57:09 +00:00
d98d234cc1 formatting 2022-03-30 20:55:53 +00:00
c1e7f31501 main_router prefix 2022-03-30 20:43:31 +00:00
d9552cbf42 make some config parts optional 2022-03-30 11:24:47 +00:00
24721dd342 better type hinting 2022-03-30 11:15:38 +00:00
e1ae186382 typo/regression 2022-03-30 10:53:52 +00:00
e078c7b094 minor refactoring 2022-03-30 10:53:36 +00:00
53cb7c9c1e doc strings 2022-03-30 10:43:02 +00:00
d6702165b8 clarifications 2022-03-30 10:36:14 +00:00
f6032829cd Device.approved 2022-03-30 10:23:24 +00:00
667fcba559 plan: server props 2022-03-30 10:15:24 +00:00
b202f85d3b country max_length 2022-03-30 08:30:20 +00:00
d02239816a admin can login 2022-03-30 02:16:06 +00:00
cb3a3fca69 typo 2022-03-30 02:11:04 +00:00
598b0ca2cb remove NEEDS_ADMIN 2022-03-30 02:07:22 +00:00
3b66565481 remove get_current_user_if_admin 2022-03-30 02:02:45 +00:00
9b5a98e0c0 rework User methods 2022-03-30 01:51:58 +00:00
03d3a86668 basic permissions system 2022-03-29 23:36:23 +00:00
0d02c24b64 start "permission" implementation 2022-03-29 20:47:25 +00:00
bb53bab0c0 rename "capability" -> "tag" 2022-03-29 20:22:03 +00:00
e11f96b0af dirty commit 2022-03-29 16:35:41 +00:00