open-vault/builtin/logical/pki
Alexander Scheel b4c3aca7a1
Merge ACME package back into the PKI package (#19826)
* Squash pki/acme package down to pki folder

Without refactoring most of PKI to export the storage layer, which we
were initially hesitant about, it would be nearly impossible to have the
ACME layer handle its own storage while being in the acme/ subpackage
under the pki package.

Thus, merge the two packages together again.

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

* Properly format errors for missing parameters

When missing required ACME request parameters, don't return Vault-level
errors, but drop into the PKI package to return properly-formatted ACME
error messages.

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

* Error type clarifications

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

* Fix GetOk with type conversion calls

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

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-03-29 21:08:31 +00:00
..
cmd/pki adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
acme_errors.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
acme_jws.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
acme_state.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
acme_state_test.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
backend.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
backend_test.go Add ACME new account creation handlers (#19820) 2023-03-29 19:06:09 +00:00
ca_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ca_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
cert_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
cert_util_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
chain_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
chain_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
config_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
crl_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
crl_util.go More wrapped errors - PKI, SSH, Transit (#19631) 2023-03-20 16:00:49 +00:00
fields.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
integration_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
key_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
managed_key_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_acme_directory.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
path_acme_new_account.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
path_acme_nonce.go Add ACME new account creation handlers (#19820) 2023-03-29 19:06:09 +00:00
path_acme_test.go Initial ACME new-nonce API (#19822) 2023-03-29 18:22:48 +00:00
path_config_ca.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_config_cluster.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_config_crl.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_config_urls.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_fetch.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_fetch_issuers.go Add tests for PKI endpoint authentication (#19704) 2023-03-23 15:54:26 +00:00
path_fetch_keys.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_intermediate.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_issue_sign.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_manage_issuers.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_manage_keys.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_manage_keys_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_ocsp.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_ocsp_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_resign_crls.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_resign_crls_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_revoke.go Forward PKI revocation requests received by standby nodes to active node (#19624) 2023-03-20 14:58:36 +00:00
path_roles.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_roles_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_root.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_sign_issuers.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_tidy.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_tidy_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
periodic.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secret_certs.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage.go More wrapped errors - PKI, SSH, Transit (#19631) 2023-03-20 16:00:49 +00:00
storage_migrations.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_migrations_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_unified.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
test_helpers.go Initial ACME new-nonce API (#19822) 2023-03-29 18:22:48 +00:00
util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00