open-vault/vault
Cory Bolar 6c726bde67
Only fail auth plugin backend mounting for custom plugins (#11690)
Checking if a plugin is a builtin by comparing it's type to those in the builtin
registry allows for a custom plugin loaded with the same name to be considered a
builtin during error handling of the mounting process.  This can cause the vault
installation to brick itself because it cannot be unsealed to register a new
sha256 or file path for a previously loaded custom plugin.  Improve this logic
by checking the plugin catalog rather than the builtin registry.

Fixes #11687
2021-05-27 13:37:45 -05:00
..
activity Introduce Logical Unrecoverable Error, Use it in Expiration Manager (#11477) 2021-05-03 17:56:06 -06:00
cluster Don't backoff if a listener error was a timeout (#11594) 2021-05-13 17:02:25 -05:00
diagnose Diagnose Disk usage checks (#11673) 2021-05-27 10:17:52 -07:00
external_tests Make sure we are checking the final peerset (#11664) 2021-05-19 12:01:52 -07:00
quotas Fix goroutine leak caused by updating rate quotas (#11371) 2021-04-16 14:00:01 -04:00
replication
seal Same seal migration oss (#10224) 2020-10-23 14:16:04 -04:00
acl.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
acl_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
acl_util.go
activity_log.go don't panic if no data, improve log (#11581) 2021-05-11 10:41:57 -06:00
activity_log_test.go don't panic if no data, improve log (#11581) 2021-05-11 10:41:57 -06:00
activity_log_testing_util.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
activity_log_util.go Backport some OSS changes (#10267) 2020-10-29 16:47:34 -07:00
audit.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
audit_broker.go
audit_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
audited_headers.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
audited_headers_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auth.go Only fail auth plugin backend mounting for custom plugins (#11690) 2021-05-27 13:37:45 -05:00
auth_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier.go OSS side barrier encryption tracking and automatic rotation (#11007) 2021-02-25 14:27:25 -06:00
barrier_access.go
barrier_aes_gcm.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
barrier_aes_gcm_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier_test.go OSS side barrier encryption tracking and automatic rotation (#11007) 2021-02-25 14:27:25 -06:00
barrier_view.go
barrier_view_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier_view_util.go
capabilities.go
capabilities_test.go
cluster.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
cluster_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
core.go OSS parts of #1891 (sys/health license addition) (#11676) 2021-05-20 13:32:15 -04:00
core_metrics.go Switch to shared raft-boltdb library and add metrics (#11269) 2021-04-26 16:01:26 -07:00
core_metrics_test.go Fix crash when KV store has a zero-length key. (#9881) 2020-09-02 17:43:44 -05:00
core_test.go Create helpers which integrate with OpenTelemetry for diagnose collection (#11454) 2021-04-29 13:32:41 -05:00
core_util.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cors.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
counters.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
counters_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
deadlock.go Add option to detect deadlocks in Core.stateLock using build tag `deadlock` (#8524) 2020-03-10 16:01:20 -04:00
dynamic_system_view.go core: updates to password policy generator (#11596) 2021-05-13 09:55:46 -04:00
dynamic_system_view_test.go core: updates to password policy generator (#11596) 2021-05-13 09:55:46 -04:00
expiration.go Patch expiration fix over from ENT (#11650) 2021-05-18 14:55:38 -07:00
expiration_integ_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
expiration_test.go Patch expiration fix over from ENT (#11650) 2021-05-18 14:55:38 -07:00
expiration_util.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
generate_root.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
generate_root_recovery.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
generate_root_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
ha.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
ha_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_lookup.go
identity_lookup_test.go
identity_store.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
identity_store_aliases.go Prevent entity alias creation when entity is in different NS than mount (#943) (#6886) 2019-06-14 12:53:00 -04:00
identity_store_aliases_test.go Prevent entity alias creation when entity is in different NS than mount (#943) (#6886) 2019-06-14 12:53:00 -04:00
identity_store_entities.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
identity_store_entities_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_group_aliases.go Update group alias handling to better protect against namespace differences 2019-06-18 16:43:30 -04:00
identity_store_group_aliases_test.go Update group alias handling to better protect against namespace differences 2019-06-18 16:43:30 -04:00
identity_store_groups.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
identity_store_groups_test.go Fix use of identity/group endpoint to edit group by name (#10812) 2021-01-29 16:50:08 -06:00
identity_store_oidc.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
identity_store_oidc_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_oidc_util.go Fix identity token caching (#8412) 2020-02-26 15:56:19 -05:00
identity_store_schema.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_structs.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_upgrade.go Prevent entity alias creation when entity is in different NS than mount (#943) (#6886) 2019-06-14 12:53:00 -04:00
identity_store_util.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
init.go Modularize Run Command (#11573) 2021-05-25 15:23:20 -07:00
init_test.go Shutdown Test Cores when Tests Complete (#10912) 2021-02-12 13:04:48 -07:00
keyring.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
keyring_test.go
lock.go Add option to detect deadlocks in Core.stateLock using build tag `deadlock` (#8524) 2020-03-10 16:01:20 -04:00
logical_cubbyhole.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
logical_cubbyhole_test.go
logical_passthrough.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
logical_passthrough_test.go
logical_raw.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
logical_system.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
logical_system_activity.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
logical_system_helpers.go Provide a new API endpoint for retrieving signed licenses (#11543) 2021-05-12 12:19:25 -07:00
logical_system_integ_test.go Only fail auth plugin backend mounting for custom plugins (#11690) 2021-05-27 13:37:45 -05:00
logical_system_paths.go Fix barrier key autoration config edge cases (#11541) 2021-05-05 14:39:04 -05:00
logical_system_pprof.go Add support for unauthenticated pprof access on a per-listener basis,… (#11324) 2021-04-19 14:30:59 -04:00
logical_system_quotas.go Fix quota enforcing old path issue (#10689) 2021-02-09 05:46:09 -05:00
logical_system_raft.go VAULT-2439: OSS parts of #1889 (raft licensing init) (#11665) 2021-05-19 16:07:58 -04:00
logical_system_test.go Fix barrier key autoration config edge cases (#11541) 2021-05-05 14:39:04 -05:00
logical_system_util.go Move the declaration to a OSS build tag file to not have it collide w… (#10750) 2021-01-25 09:35:19 -05:00
mount.go [VAULT-1441] Fix race that allowed remounting on path used by another mount (#11453) 2021-04-24 09:05:41 -07:00
mount_test.go [VAULT-1441] Fix race that allowed remounting on path used by another mount (#11453) 2021-04-24 09:05:41 -07:00
mount_util.go Port filtered paths changes back to OSS (#7741) 2019-10-27 13:30:38 -07:00
namespaces.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
password_policy_util.go core: updates to password policy generator (#11596) 2021-05-13 09:55:46 -04:00
plugin_catalog.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
plugin_catalog_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_reload.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
policy.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
policy_store.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
policy_store_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_store_util.go
policy_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_util.go
raft.go VAULT-2439: OSS parts of #1889 (raft licensing init) (#11665) 2021-05-19 16:07:58 -04:00
rekey.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
rekey_test.go Shutdown Test Cores when Tests Complete (#10912) 2021-02-12 13:04:48 -07:00
request_forwarding.go Add metrics for requests forwarded by standbys. (#11366) 2021-04-16 14:02:20 -04:00
request_forwarding_rpc.go Support autopilot when raft is for HA only (#11260) 2021-04-12 09:33:21 -04:00
request_forwarding_rpc_util.go
request_forwarding_service.pb.go Introduce Logical Unrecoverable Error, Use it in Expiration Manager (#11477) 2021-05-03 17:56:06 -06:00
request_forwarding_service.proto Autopilot: Server Stabilization, State and Dead Server Cleanup (#10856) 2021-03-03 13:59:50 -05:00
request_handling.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
request_handling_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
request_handling_util.go OSS side barrier encryption tracking and automatic rotation (#11007) 2021-02-25 14:27:25 -06:00
rollback.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
rollback_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
router.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
router_access.go
router_test.go Fix a deadlock if a panic happens during request handling (#6920) 2019-06-19 09:40:57 -04:00
router_testing.go AWS upgrade role entries (#7025) 2019-07-05 16:55:40 -07:00
seal.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
seal_access.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
seal_autoseal.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
seal_autoseal_test.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
seal_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
seal_testing.go Revert "Vault Dependency Upgrades [VAULT-871] (#10903)" (#10939) 2021-02-18 15:40:18 -05:00
seal_testing_util.go Revert "Vault Dependency Upgrades [VAULT-871] (#10903)" (#10939) 2021-02-18 15:40:18 -05:00
sealunwrapper.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sealunwrapper_test.go Migrate built in auto seal to go-kms-wrapping (#8118) 2020-01-10 20:39:52 -05:00
testing.go VAULT-2439: OSS parts of #1889 (raft licensing init) (#11665) 2021-05-19 16:07:58 -04:00
testing_util.go OSS parts of ent PR #1857: license autoloading init changes. (#11623) 2021-05-17 14:10:26 -04:00
token_store.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
token_store_test.go Patch expiration fix over from ENT (#11650) 2021-05-18 14:55:38 -07:00
token_store_util.go
ui.go UI/obscure secret on input (#11284) 2021-04-22 08:58:37 -06:00
ui_test.go Fix UI custom header values (#10511) 2020-12-15 15:58:03 +01:00
util.go
util_test.go
wrapping.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
wrapping_util.go