open-vault/builtin/logical/pki
Steven Clark c1e80aeff9
Add checks for other error types within the PKI plugin (#14195)
* Add checks for other error types within the PKI plugin

 - The PKI plugin assumes the code it is calling always returns an error
   of type errutil.UserError or errutil.InternalError. While I believe
   so far this is still true, it would be easy to add a code path that
   just returns a generic error and we would completely ignore it.
 - This was found within some managed key testing where I forgot to wrap
   an error within one of the expected types

* Add changelog
2022-02-22 14:39:21 -05:00
..
cmd/pki Update to api 1.0.1 and sdk 0.1.8 2019-04-15 14:10:07 -04:00
backend.go Add duration/count metrics to PKI issue and revoke flows (#13889) 2022-02-08 10:37:40 -06:00
backend_test.go builtin/logical/pki: fix dropped test error (#14140) 2022-02-17 17:44:42 -05:00
ca_test.go Use application/pem-certificate-chain for PEMs (#13927) 2022-02-08 08:12:33 -05:00
ca_util.go OSS integration of the PKI plugin with managed key infrastructure (#13793) 2022-01-26 23:06:25 -05:00
cert_util.go reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
cert_util_test.go Added notAfter and support Y10K expiry for IEEE 802.1AR-2018 (#12795) 2021-11-10 19:09:06 -05:00
crl_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
crl_util.go OSS integration of the PKI plugin with managed key infrastructure (#13793) 2022-01-26 23:06:25 -05:00
fields.go Support Y10K value in notAfter field when signing non-CA certificates (#13736) 2022-01-31 15:37:50 -06:00
managed_key_util.go Add make fmt CI check (#13803) 2022-01-31 23:24:16 +00:00
path_config_ca.go builtin: deprecate errwrap.Wrapf() throughout (#11430) 2021-04-22 11:20:59 -04:00
path_config_crl.go Add checks for other error types within the PKI plugin (#14195) 2022-02-22 14:39:21 -05:00
path_config_urls.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
path_fetch.go Add checks for other error types within the PKI plugin (#14195) 2022-02-22 14:39:21 -05:00
path_intermediate.go Add make fmt CI check (#13803) 2022-01-31 23:24:16 +00:00
path_issue_sign.go Add checks for other error types within the PKI plugin (#14195) 2022-02-22 14:39:21 -05:00
path_revoke.go Add checks for other error types within the PKI plugin (#14195) 2022-02-22 14:39:21 -05:00
path_roles.go reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
path_roles_test.go Add allowed_uri_sans_template (#10249) 2021-12-15 09:18:28 -06:00
path_root.go Add checks for other error types within the PKI plugin (#14195) 2022-02-22 14:39:21 -05:00
path_tidy.go reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
secret_certs.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
util.go Add make fmt CI check (#13803) 2022-01-31 23:24:16 +00:00