Commit graph

210 commits

Author SHA1 Message Date
48d8eb077d exception-based permissions 2022-04-07 08:53:54 +00:00
64f8c416ab poetry update 2022-04-07 08:23:12 +00:00
aa7becf057 "approved: bool | None" -> "status: DeviceStatus" 2022-04-07 08:00:41 +00:00
96a3aed24e HTTP status codes and documentation 2022-04-07 06:23:09 +00:00
dcce31da0b certificate renewal time 2022-04-07 06:22:24 +00:00
047b565331 device revoke endpoint 2022-04-07 05:44:42 +00:00
3487c2e0f1 explicit "return None" 2022-04-06 00:34:53 +00:00
423cc009f8 certificate renewal 2022-04-06 00:34:37 +00:00
e6fe35d14e EASYRSA global object 2022-04-05 22:39:09 +00:00
c0388d58c1 few renames 2022-04-05 22:34:25 +00:00
bca5b2b55c global object SETTINGS 2022-04-05 21:33:48 +00:00
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
eb2301d193 launch config for EasyRSA script 2022-03-31 16:56:57 +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
366b4dc6a0 rename launch config 2022-03-30 21:17:43 +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