12 Commits

Author SHA1 Message Date
Mariano Cano
f3f484cee2 Log errors using slog.Logger
This commit allows logging errors in a slog.Logger injected in the
context. This type of logger is not currently used directly in step-ca,
but this will change in the future.
2024-05-15 15:40:40 -07:00
Herman Slatman
74a6e59b1f Add tests for ProtoJSON and bad proto messages 2022-04-26 14:56:42 +02:00
Herman Slatman
bddd08d4b0 Remove "proto:" prefix from bad proto JSON messages 2022-04-26 14:01:16 +02:00
Herman Slatman
a2cfbe3d54 Fix (part of) PR comments 2022-04-21 12:14:03 +02:00
Herman Slatman
6532c93303 Improve read.ProtoJSON bad protobuf body error handling 2022-04-19 12:07:57 +02:00
Herman Slatman
def9438ad6 Improve handling of bad JSON protobuf bodies 2022-04-18 23:38:13 +02:00
Herman Slatman
30d5d89a13 Improve test coverage for Policy Admin API 2022-04-15 10:43:25 +02:00
Herman Slatman
571b21abbc Fix (most) PR comments 2022-03-31 16:12:29 +02:00
Herman Slatman
628d7448de Don't return policy in provisioner JSON 2022-03-30 15:20:38 +02:00
Herman Slatman
2fbdf7d5b0 Merge branch 'master' into herman/allow-deny 2022-03-30 14:50:14 +02:00
Panagiotis Siatras
29092b9d8a api: refactored to use the read package 2022-03-18 20:20:59 +02:00
Panagiotis Siatras
7fb8acda27 api/read: initial implementation of the package 2022-03-18 20:20:16 +02:00