open-vault/builtin/logical/pki
Alexander Scheel 3e7414b605
Always return PKI configs for CRLs, URLs (#15470)
* Always return non-nil CRL configuration

When using the default CRL configuration (as none has been set), return
the default configuration rather than inferring it in buildCRL. This
additionally allows us to return the default configuration on GET
operations to /config/crl.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Always return non-nil URL configuration

When using the default (empty) URL configuration as none has been set,
return the default configuration rather than inferring it inside of
fetchCAInfoByIssuerId or generateCert. This additionally allows us to
return the default configuration on GET operations to /config/urls.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add changelog

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-05-17 11:40:09 -04:00
..
cmd/pki Update to api 1.0.1 and sdk 0.1.8 2019-04-15 14:10:07 -04:00
backend.go Log less around the current status of the PKI migration (#15451) 2022-05-17 08:52:42 -04:00
backend_test.go pki/sign-verbatim uses role not before duration (#15429) 2022-05-16 16:15:18 -04:00
ca_test.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
ca_util.go Use backendUUID instead of mount points for managed keys (OSS) (#15441) 2022-05-16 12:48:54 -04:00
cert_util.go Always return PKI configs for CRLs, URLs (#15470) 2022-05-17 11:40:09 -04:00
cert_util_test.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
chain_test.go Add tests for usage-based restrictions of issuers (#15411) 2022-05-13 09:57:58 -04:00
chain_util.go Root issuers lack CA Chain + Chain Building Bug Fix (#15306) 2022-05-11 13:09:18 -04:00
config_util.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
crl_test.go Use backendUUID instead of mount points for managed keys (OSS) (#15441) 2022-05-16 12:48:54 -04:00
crl_util.go Always return PKI configs for CRLs, URLs (#15470) 2022-05-17 11:40:09 -04:00
fields.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
key_util.go Use backendUUID instead of mount points for managed keys (OSS) (#15441) 2022-05-16 12:48:54 -04:00
managed_key_util.go secret/pki: Return correct algorithm type from key fetch API for managed keys (#15468) 2022-05-17 11:36:14 -04:00
path_config_ca.go Fix revoking certificates in pre-migration state within PKI (#15360) 2022-05-11 13:33:04 -04:00
path_config_crl.go Always return PKI configs for CRLs, URLs (#15470) 2022-05-17 11:40:09 -04:00
path_config_urls.go Always return PKI configs for CRLs, URLs (#15470) 2022-05-17 11:40:09 -04:00
path_fetch.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
path_fetch_issuers.go Include default information in LIST keys, issuers (#15435) 2022-05-16 11:22:17 -04:00
path_fetch_keys.go secret/pki: Return correct algorithm type from key fetch API for managed keys (#15468) 2022-05-17 11:36:14 -04:00
path_intermediate.go Use backendUUID instead of mount points for managed keys (OSS) (#15441) 2022-05-16 12:48:54 -04:00
path_issue_sign.go pki/sign-verbatim uses role not before duration (#15429) 2022-05-16 16:15:18 -04:00
path_manage_issuers.go Use backendUUID instead of mount points for managed keys (OSS) (#15441) 2022-05-16 12:48:54 -04:00
path_manage_keys.go Use backendUUID instead of mount points for managed keys (OSS) (#15441) 2022-05-16 12:48:54 -04:00
path_manage_keys_test.go Add parameter validation to the new generate key PKI api (#15319) 2022-05-11 13:07:18 -04:00
path_revoke.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
path_roles.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
path_roles_test.go Compare issuer certificates using cert, signature algo and signature fields (#15285) 2022-05-11 13:04:54 -04:00
path_root.go Use backendUUID instead of mount points for managed keys (OSS) (#15441) 2022-05-16 12:48:54 -04:00
path_sign_issuers.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
path_tidy.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
secret_certs.go Allow Multiple Issuers in PKI Secret Engine Mounts - PKI Pod (#15277) 2022-05-11 12:42:28 -04:00
storage.go Use backendUUID instead of mount points for managed keys (OSS) (#15441) 2022-05-16 12:48:54 -04:00
storage_migrations.go Log less around the current status of the PKI migration (#15451) 2022-05-17 08:52:42 -04:00
storage_migrations_test.go Store migrated issuer, key in migration log (#15449) 2022-05-16 16:12:49 -04:00
storage_test.go Use backendUUID instead of mount points for managed keys (OSS) (#15441) 2022-05-16 12:48:54 -04:00
test_helpers.go Add tests for usage-based restrictions of issuers (#15411) 2022-05-13 09:57:58 -04:00
util.go secret/pki: Return correct algorithm type from key fetch API for managed keys (#15468) 2022-05-17 11:36:14 -04:00