open-vault/vault
Anthony (Ryo) Wright e0ac921b8f
Fixed null token panic from 'v1/auth/token/' endpoints and returned p… (#13233)
* Fixed null token panic from 'v1/auth/token/' endpoints and returned proper error response

* added changelog entry for PR #13233

* changed error message from 'bad token' to 'null token'

* rebased off of main

* Revert "changed error message from 'bad token' to 'null token'"

This reverts commit 381ed9b32c5ddd5e47adb1643ef7e46fb768bc76.

* changed 'bad token' error message to 'invalid token' after revert

* remove unnecessary vault-data folder
2021-12-21 09:46:56 -08:00
..
activity Fix some more error shadowing issues (#12990) 2021-11-01 11:43:00 -07:00
cluster Add a TRACE log with TLS connection details on replication connections (#12754) 2021-10-07 14:17:31 -05:00
diagnose Move to go 1.17 (#12868) 2021-10-21 09:32:03 -04:00
external_tests Fix a data race in the new autoseal health check (#13136) 2021-11-12 15:58:46 -06:00
quotas Upgrade go-limiter to fix building on 1.17 (#12358) 2021-09-01 16:28:47 -05:00
replication Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
seal Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
acl.go Add HTTP PATCH support to KV (#12687) 2021-10-13 15:24:31 -04:00
acl_test.go Add HTTP PATCH support to KV (#12687) 2021-10-13 15:24:31 -04:00
acl_util.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
activity_log.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
activity_log_test.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
activity_log_testing_util.go Port: add client ID to TWEs in activity log [vault-3136] (#12820) 2021-10-14 09:10:59 -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 Allow plugins to submit audit requests/responses via extended SystemView (#6777) 2019-05-22 18:52:53 -04:00
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 Fix some more error shadowing issues (#12990) 2021-11-01 11:43:00 -07:00
auth.go (OSS Port) Restrict Quota Deletion to Primary Cluster [vault-2399] (#12339) 2021-08-17 15:34:43 -07:00
auth_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
barrier_access.go Fix compile 2018-01-19 05:31:55 -05:00
barrier_aes_gcm.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08: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 Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
barrier_view.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
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 The big one (#5346) 2018-09-17 23:03:00 -04:00
capabilities.go Adds ability to define an inline policy and internal metadata on tokens (#12682) 2021-10-07 10:36:22 -07:00
capabilities_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
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 Add no-op method setupManagedKeyRegistry(). (#13433) 2021-12-14 16:00:17 -05:00
core_metrics.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
core_metrics_test.go [VAULT-3252] Disallow alias creation if entity/accessor combination exists (#12747) 2021-10-14 09:52:07 -07:00
core_test.go Authenticate to "login" endpoint for non-existent mount path bug (#13162) 2021-11-22 17:06:59 -08:00
core_util.go Make necessary OSS changes for contexts in quotas (#12480) 2021-09-02 09:54:21 -05:00
core_util_common.go Note that versionTimestamps are only loaded on the active node. 2021-11-16 15:05:59 -05:00
core_util_common_test.go some small version test changes (#13310) 2021-11-30 09:52:33 -08:00
cors.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
counters.go [VAULT-2852] deprecate req counters in oss (#12197) 2021-07-29 10:21:40 -07:00
counters_test.go [VAULT-2852] deprecate req counters in oss (#12197) 2021-07-29 10:21:40 -07:00
custom_response_headers.go Unify HTTPResponseWriter and StatusHeaderResponseWriter (#13200) 2021-11-23 14:30:25 -05:00
custom_response_headers_test.go Fix some linting errors (#12860) 2021-10-18 17:29:47 -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 Vault-2257: don't log token error on DR Secondary (#13137) 2021-11-17 09:21:54 -07:00
dynamic_system_view_test.go core: set namespace within GeneratePasswordFromPolicy (#12635) 2021-09-27 09:08:07 -07:00
expiration.go Fix leak of restore worker go routines after an error (#12933) 2021-10-27 09:08:10 -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 VAULT 2844: remove legacy lease revocation strategy (#12888) 2021-10-22 17:37:01 -06:00
expiration_testing_util_common.go [VAULT-1981] Add OSS changes (#11999) 2021-07-06 17:12:24 -05:00
expiration_util.go vault: deprecate errwrap.Wrapf() (#11577) 2021-05-11 13:12:54 -04:00
generate_root.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
generate_root_recovery.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
generate_root_test.go Add helper for encoding/decoding root tokens and OTP generation in SDK module (#10504) (#10505) 2021-12-01 08:05:49 -05:00
ha.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
ha_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_lookup.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
identity_lookup_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
identity_store.go Fix possible nil pointer dereference (#13318) 2021-12-02 08:23:41 -05:00
identity_store_aliases.go Support clearing an identity alias' custom_metadata (#13395) 2021-12-10 18:07:47 -05:00
identity_store_aliases_test.go Support clearing an identity alias' custom_metadata (#13395) 2021-12-10 18:07:47 -05:00
identity_store_entities.go Entities may have duplicate policies (#12812) 2021-10-22 19:28:31 -04:00
identity_store_entities_test.go Entities may have duplicate policies (#12812) 2021-10-22 19:28:31 -04:00
identity_store_group_aliases.go Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -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 Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -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 Identity: check NextSigningKey existence during key rotation (#13298) 2021-11-29 15:10:58 -06:00
identity_store_oidc_provider.go identity/oidc: optional nonce parameter for authorize request (#13231) 2021-11-22 09:42:22 -08:00
identity_store_oidc_provider_test.go identity/oidc: optional nonce parameter for authorize request (#13231) 2021-11-22 09:42:22 -08:00
identity_store_oidc_test.go Identity: check NextSigningKey existence during key rotation (#13298) 2021-11-29 15:10:58 -06:00
identity_store_oidc_util.go Fix identity token caching (#8412) 2020-02-26 15:56:19 -05:00
identity_store_oss.go Local aliases OSS patch (#12848) 2021-10-15 15:20:00 -04:00
identity_store_schema.go Fix startup failures when aliases from a pre-1.9 vault version exist (#13169) 2021-11-16 14:56:34 -05:00
identity_store_structs.go Local aliases OSS patch (#12848) 2021-10-15 15:20:00 -04:00
identity_store_test.go Fix entity alias deletion (#12834) 2021-10-19 15:05:06 -04: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 Address a data race issue within identity_store_util::processLocalAlias (#13093) 2021-11-09 10:00:26 -05:00
init.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
init_test.go Shutdown Test Cores when Tests Complete (#10912) 2021-02-12 13:04:48 -07:00
keyring.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
keyring_test.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
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 Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
logical_passthrough.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
logical_passthrough_test.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
logical_raw.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
logical_system.go One small diff between ENT and OSS managed key config (#13482) 2021-12-20 15:20:18 -06:00
logical_system_activity.go Port: Allow Routing to Partial Monthly Client Count From Namespaces (#13086) 2021-11-08 15:38:35 -08:00
logical_system_helpers.go OSS parts of sys/config/reload/license (#11695) 2021-06-03 10:30:30 -07:00
logical_system_integ_test.go Add "operator members" command to list nodes in the cluster. (#13292) 2021-11-30 14:49:58 -05:00
logical_system_paths.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -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 OSS parts of Autopilot in DR secondaries (#12014) 2021-07-08 12:30:01 -04:00
logical_system_test.go Adds support for SHA-3 to transit (#13367) 2021-12-08 12:29:33 -06: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
managed_key_registry.go Add no-op method setupManagedKeyRegistry(). (#13433) 2021-12-14 16:00:17 -05:00
mount.go Add a new parameter "allowed_managed_keys" to mount config (#13202) 2021-11-21 19:08:38 -06:00
mount_test.go Fix some more error shadowing issues (#12990) 2021-11-01 11:43:00 -07:00
mount_util.go Port filtered paths changes back to OSS (#7741) 2019-10-27 13:30:38 -07:00
namespaces.go Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -04:00
namespaces_oss.go Refactor usages of Core in IdentityStore so they can be decoupled. (#12461) 2021-08-30 15:31:11 -04: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 Add support to parameterize unauthenticated paths (#12668) 2021-10-13 11:51:20 -05:00
policy.go Add HTTP PATCH support to KV (#12687) 2021-10-13 15:24:31 -04:00
policy_store.go Adds ability to define an inline policy and internal metadata on tokens (#12682) 2021-10-07 10:36:22 -07: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 Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
policy_test.go Add HTTP PATCH support to KV (#12687) 2021-10-13 15:24:31 -04:00
policy_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
raft.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
rekey.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
rekey_test.go Shutdown Test Cores when Tests Complete (#10912) 2021-02-12 13:04:48 -07:00
request_forwarding.go Fix a Deadlock on HA leadership transfer (#12691) 2021-10-04 13:55:15 -04:00
request_forwarding_rpc.go Remove another use gopsutil/host. (#13390) 2021-12-10 09:59:52 -05:00
request_forwarding_rpc_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
request_forwarding_service.pb.go Add "operator members" command to list nodes in the cluster. (#13292) 2021-11-30 14:49:58 -05:00
request_forwarding_service.proto Add "operator members" command to list nodes in the cluster. (#13292) 2021-11-30 14:49:58 -05: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 Fixed null token panic from 'v1/auth/token/' endpoints and returned p… (#13233) 2021-12-21 09:46:56 -08: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 Local aliases OSS patch (#12848) 2021-10-15 15:20:00 -04: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 Add support to parameterize unauthenticated paths (#12668) 2021-10-13 11:51:20 -05:00
router_access.go The big one (#5346) 2018-09-17 23:03:00 -04:00
router_test.go Authenticate to "login" endpoint for non-existent mount path bug (#13162) 2021-11-22 17:06:59 -08:00
router_testing.go AWS upgrade role entries (#7025) 2019-07-05 16:55:40 -07:00
seal.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08: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 Fix a data race in the new autoseal health check (#13136) 2021-11-12 15:58:46 -06:00
seal_autoseal_test.go Fix a data race in the new autoseal health check (#13136) 2021-11-12 15:58:46 -06: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 Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
seal_testing_util.go Rename master key to root key (#13324) 2021-12-06 17:12:20 -08:00
sealunwrapper.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sealunwrapper_test.go Fix some more error shadowing issues (#12990) 2021-11-01 11:43:00 -07:00
testing.go Add "operator members" command to list nodes in the cluster. (#13292) 2021-11-30 14:49:58 -05:00
testing_util.go OSS parts of sys/config/reload/license (#11695) 2021-06-03 10:30:30 -07:00
token_store.go Fix null token type bug (#13236) 2021-12-06 09:38:53 -08:00
token_store_test.go [VAULT-3519] Return no_default_policy on token role read (#12565) 2021-09-21 09:53:08 -07:00
token_store_util.go The big one (#5346) 2018-09-17 23:03:00 -04:00
ui.go Customizing HTTP headers in the config file (#12485) 2021-10-13 11:06:33 -04:00
ui_test.go Fix UI custom header values (#10511) 2020-12-15 15:58:03 +01:00
util.go Removed unused methods 2017-01-03 12:51:35 -05:00
util_test.go
vault_version_time.go Port: add client ID to TWEs in activity log [vault-3136] (#12820) 2021-10-14 09:10:59 -07:00
wrapping.go Expose secret_id_accessor as WrappedAccessor when wrapping secret-id creation. (#12425) 2021-09-16 10:47:49 -07:00
wrapping_util.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00