open-vault/vault
Victor Rodriguez 2656c020ae
Convert seal.Access struct into a interface (OSS) (#20510)
* Move seal barrier type field from Access to autoSeal struct.

Remove method Access.SetType(), which was only being used by a single test, and
which can use the name option of NewTestSeal() to specify the type.

* Change method signatures of Access to match those of Wrapper.

* Turn seal.Access struct into an interface.

* Tweak Access implementation.

Change `access` struct to have a field of type wrapping.Wrapper, rather than
extending it.

* Add method Seal.GetShamirWrapper().

Add method Seal.GetShamirWrapper() for use by code that need to perform
Shamir-specific operations.
2023-05-04 14:22:30 -04:00
..
activity VAULT-14734: activity log write endpoint (#20019) 2023-04-12 18:26:26 +02:00
cluster Allow overriding gRPC's connection timeout with VAULT_GRPC_MIN_CONNECT_TIMEOUT (#19676) 2023-03-22 18:51:37 +00:00
diagnose Extend expiration of diagnose test-fixture certificate (#19868) 2023-04-03 09:34:58 -04:00
eventbus adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
external_tests Simple perf replication test using docker containers (#20393) 2023-04-28 19:43:30 +00:00
hcp_link user Platform from host info for node status OS (#19611) 2023-03-21 09:53:31 -04:00
quotas adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
replication adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
seal Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
tokens adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
acl.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
acl_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
acl_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
activity_log.go Refactor reporter for unseal setup (#20296) 2023-04-21 15:29:37 -04:00
activity_log_test.go Refactor reporter for unseal setup (#20296) 2023-04-21 15:29:37 -04:00
activity_log_testing_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
activity_log_util.go Refactor reporter for unseal setup (#20296) 2023-04-21 15:29:37 -04:00
activity_log_util_common.go VAULT-14733: SegmentReader interface for reading activity log segments (#19934) 2023-04-06 16:23:41 +02:00
activity_log_util_common_test.go VAULT-14733: SegmentReader interface for reading activity log segments (#19934) 2023-04-06 16:23:41 +02:00
audit.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audit_broker.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audit_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audited_headers.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audited_headers_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth.go Simplify tracking of external plugins (#20009) 2023-04-12 18:34:35 +01:00
auth_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
barrier.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
barrier_access.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
barrier_aes_gcm.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
barrier_aes_gcm_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
barrier_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
barrier_view.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
barrier_view_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
barrier_view_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
capabilities.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
capabilities_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
census.go Refactor reporter for unseal setup (#20296) 2023-04-21 15:29:37 -04:00
cluster.go Allow overriding gRPC's connection timeout with VAULT_GRPC_MIN_CONNECT_TIMEOUT (#19676) 2023-03-22 18:51:37 +00:00
cluster_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
core.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
core_metrics.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
core_metrics_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
core_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
core_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
core_util_common.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
cors.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
counters.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
counters_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
custom_response_headers.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
custom_response_headers_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
dynamic_system_view.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
dynamic_system_view_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
events_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
expiration.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
expiration_integ_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
expiration_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
expiration_testing_util_common.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
expiration_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
external_plugin_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
forwarded_writer_oss.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
generate_root.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
generate_root_recovery.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
generate_root_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ha.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
ha_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_lookup.go openapi: Add display attributes for identity/ (remaining) (#19763) 2023-04-12 15:46:01 -04:00
identity_lookup_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store.go openapi: Add display attributes for identity/mfa (#19757) 2023-04-11 16:00:35 -04:00
identity_store_aliases.go VAULT-15840: Allow updates of only entity-alias custom-metadata (#20368) 2023-05-01 12:42:30 +02:00
identity_store_aliases_test.go VAULT-15840: Allow updates of only entity-alias custom-metadata (#20368) 2023-05-01 12:42:30 +02:00
identity_store_entities.go openapi: Add display attributes for identity/entity (#19760) 2023-04-12 15:44:43 -04:00
identity_store_entities_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_group_aliases.go openapi: Add display attributes for identity/group (#19762) 2023-04-12 15:45:12 -04:00
identity_store_group_aliases_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_groups.go openapi: Add display attributes for identity/group (#19762) 2023-04-12 15:45:12 -04:00
identity_store_groups_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_oidc.go openapi: Add display attributes for identity/oidc (#19758) 2023-04-12 15:44:07 -04:00
identity_store_oidc_provider.go openapi: Add display attributes for identity/oidc (#19758) 2023-04-12 15:44:07 -04:00
identity_store_oidc_provider_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_oidc_provider_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_oidc_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_oidc_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_oss.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_schema.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_structs.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identity_store_upgrade.go openapi: Add display attributes for identity/ (remaining) (#19763) 2023-04-12 15:46:01 -04:00
identity_store_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
init.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
init_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
inspectable.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
inspectable_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
keyring.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
keyring_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical_cubbyhole.go openapi: Add display attributes for cubbyhole/ (#19880) 2023-04-13 11:33:21 -04:00
logical_cubbyhole_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical_passthrough.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical_passthrough_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical_raw.go openapi: Add display attributes for /sys (p2) (#19707) 2023-04-13 11:32:57 -04:00
logical_system.go Fix remount for mounts with spaces in the name (#19585) 2023-03-16 15:26:55 -04:00
logical_system_activity.go Refactor reporter for unseal setup (#20296) 2023-04-21 15:29:37 -04:00
logical_system_activity_write.go VAULT-14734: activity log write endpoint (#20019) 2023-04-12 18:26:26 +02:00
logical_system_activity_write_testonly.go VAULT-14734: activity log write endpoint (#20019) 2023-04-12 18:26:26 +02:00
logical_system_activity_write_testonly_test.go VAULT-14734: activity log write endpoint (#20019) 2023-04-12 18:26:26 +02:00
logical_system_helpers.go Provide Descriptive Error when Enterprise-only Paths Called in Open-source Version (#18870) 2023-04-21 16:14:40 -04:00
logical_system_integ_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical_system_paths.go openapi: Add display attributes for /sys (p1) (#19706) 2023-04-13 11:32:26 -04:00
logical_system_pprof.go openapi: Add display attributes for /sys (p2) (#19707) 2023-04-13 11:32:57 -04:00
logical_system_quotas.go openapi: Add display attributes for /sys (p2) (#19707) 2023-04-13 11:32:57 -04:00
logical_system_raft.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical_system_test.go VAULT-12144: add openapi responses for /sys/rotate endpoints (#18624) 2023-03-28 15:40:48 -04:00
logical_system_user_lockout.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical_system_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
login_mfa.go add nil check for mfa enforcement config namespace on login (#20375) 2023-04-26 16:52:39 -04:00
login_mfa_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
managed_key_registry.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
mfa_auth_resp_priority_queue.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
mfa_auth_resp_priority_queue_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
mount.go Simplify tracking of external plugins (#20009) 2023-04-12 18:34:35 +01:00
mount_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
mount_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
mount_util_shared.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
namespaces.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
namespaces_oss.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
password_policy_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_catalog.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_catalog_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_reload.go Simplify tracking of external plugins (#20009) 2023-04-12 18:34:35 +01:00
policy.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_store.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_store_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_store_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
raft.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
rekey.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
rekey_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
request_forwarding.go Make sure that we specify Backoff in conjunction with MinConnectTimeout, else we get a zero value. (#19701) 2023-03-23 10:21:28 -04:00
request_forwarding_rpc.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
request_forwarding_rpc_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
request_forwarding_service.pb.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
request_forwarding_service.proto adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
request_forwarding_service_grpc.pb.go Update protobuf & grpc libraries and protoc plugins (#12679) 2021-09-29 18:25:15 -07:00
request_handling.go feat: add plugin metadata to audit logging (#19814) 2023-04-06 00:41:07 -07:00
request_handling_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
request_handling_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
rollback.go Allow ensuring ticker is stopped multiple times (#20509) 2023-05-04 14:14:06 +00:00
rollback_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
router.go feat: add plugin metadata to audit logging (#19814) 2023-04-06 00:41:07 -07:00
router_access.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
router_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
router_testing.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
seal.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
seal_access.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
seal_autoseal.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
seal_autoseal_test.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
seal_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
seal_testing.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
seal_testing_util.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
sealunwrapper.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sealunwrapper_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
test_cluster_detect_deadlock.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
test_cluster_do_not_detect_deadlock.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
testing.go adding support for four cluster docker based test scenario (#20492) 2023-05-03 10:49:45 -07:00
testing_util.go Revert "Remove dead licensing code and extra core setup (#20080)" (#20112) 2023-04-12 13:46:15 +00:00
token_store.go openapi: Add display attributes for token/ (#19399) 2023-04-06 11:11:49 -04:00
token_store_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_store_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_store_util_common.go Add extra ssct gen counter debug logs (#19980) 2023-04-05 13:06:57 -04:00
ui.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ui_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
util_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
vault_version_time.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
version_store.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
version_store_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
wrapping.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
wrapping_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00