open-vault/vault
Jeff Mitchell 654e7d92ac Properly lowercase policy names. (#3210)
Previously we lowercased names on ingress but not on lookup or delete
which could cause unexpected results. Now, just unilaterally lowercase
policy names on write and delete. On get, to avoid the performance hit
of always lowercasing when not necessary since it's in the critical
path, we have a minor optimization -- we check the LRU first before
normalizing. For tokens, because they're already normalized when adding
policies during creation, this should always work; it might just be
slower for API calls.

Fixes #3187
2017-08-18 19:47:23 -04:00
..
acl.go Clone policy permissions and then use existing values rather than policy values for modifications (#2826) 2017-06-07 13:49:51 -04:00
acl_test.go Properly lowercase policy names. (#3210) 2017-08-18 19:47:23 -04:00
audit.go Add metrics counters for audit log failures (#3001) 2017-07-14 11:03:56 -04:00
audit_test.go Create and persist human-friendly-ish mount accessors (#2918) 2017-06-26 18:14:36 +01:00
audited_headers.go Delay salt initialization for audit backends 2017-05-23 20:36:20 -04:00
audited_headers_test.go Delay salt initialization for audit backends 2017-05-23 20:36:20 -04:00
auth.go Backend plugin system (#2874) 2017-07-20 13:28:40 -04:00
auth_test.go Cleaning up logical and auth unmount functions (#2994) 2017-07-13 10:57:14 -07:00
barrier.go More rep porting (#2391) 2017-02-16 23:09:39 -05:00
barrier_aes_gcm.go More rep porting (#2391) 2017-02-16 23:09:39 -05:00
barrier_aes_gcm_test.go Migrate physical backends into separate packages (#3106) 2017-08-03 13:24:27 -04:00
barrier_test.go vault: adding ability to reload master key 2015-05-29 14:29:55 -07:00
barrier_view.go Return 500 if existence check fails, not 400 (#3173) 2017-08-15 16:44:16 -04:00
barrier_view_test.go Adding interface methods to logical.Backend for parity (#2242) 2017-01-07 18:18:22 -05:00
capabilities.go More rep porting (#2391) 2017-02-16 23:09:39 -05:00
capabilities_test.go Fix capabilities test case 2016-03-18 12:55:18 -04:00
cluster.go Revert grpc back a version (they introduced a panic) and clean up a bunch of old request forwarding stuff 2017-05-24 10:38:48 -04:00
cluster_test.go Migrate physical backends into separate packages (#3106) 2017-08-03 13:24:27 -04:00
core.go Add plugin auto-reload capability (#3171) 2017-08-15 22:10:32 -04:00
core_test.go Migrate physical backends into separate packages (#3106) 2017-08-03 13:24:27 -04:00
cors.go Fix exporting stdAllowedHeaders 2017-08-07 15:02:08 -04:00
dynamic_system_view.go Add plugin auto-reload capability (#3171) 2017-08-15 22:10:32 -04:00
expiration.go Dynamically load and invalidate the token store salt (#3021) 2017-07-18 09:02:03 -07:00
expiration_test.go Migrate physical backends into separate packages (#3106) 2017-08-03 13:24:27 -04:00
generate_root.go Port some replication bits to OSS (#2386) 2017-02-16 15:15:02 -05:00
generate_root_test.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
init.go More rep porting (#2391) 2017-02-16 23:09:39 -05:00
init_test.go Migrate physical backends into separate packages (#3106) 2017-08-03 13:24:27 -04:00
keyring.go Added JSON Decode and Encode helpers. 2016-07-06 12:25:40 -04:00
keyring_test.go Fix keyring test 2017-01-24 12:58:14 -08:00
logical_cubbyhole.go Make cubbyhole local instead of replicated. (#2397) 2017-02-18 13:51:05 -05:00
logical_cubbyhole_test.go Make cubbyhole local instead of replicated. (#2397) 2017-02-18 13:51:05 -05:00
logical_passthrough.go Backend plugin system (#2874) 2017-07-20 13:28:40 -04:00
logical_passthrough_test.go Allow non-strings to be used to set `ttl` field in generic. (#2699) 2017-05-09 14:05:00 -04:00
logical_system.go Properly lowercase policy names. (#3210) 2017-08-18 19:47:23 -04:00
logical_system_helpers.go Understand local when persisting mount tables, to avoid invalidations when not necessary (#2427) 2017-03-02 14:37:59 -05:00
logical_system_integ_test.go plugins/backend/reload -> plugins/reload/backend (#3186) 2017-08-16 12:40:38 -04:00
logical_system_test.go Properly lowercase policy names. (#3210) 2017-08-18 19:47:23 -04:00
mount.go Add plugin backend reload capability (#3112) 2017-08-08 00:18:59 -04:00
mount_test.go Cleaning up logical and auth unmount functions (#2994) 2017-07-13 10:57:14 -07:00
plugin_catalog.go Don't allow parent references in file paths 2017-05-12 13:52:33 -04:00
plugin_catalog_test.go Update the builtin keys; move catalog to core; protect against unset plugin directory 2017-04-24 10:30:33 -07:00
plugin_reload.go Add plugin backend reload capability (#3112) 2017-08-08 00:18:59 -04:00
policy.go Clone policy permissions and then use existing values rather than policy values for modifications (#2826) 2017-06-07 13:49:51 -04:00
policy_store.go Properly lowercase policy names. (#3210) 2017-08-18 19:47:23 -04:00
policy_store_test.go Properly lowercase policy names. (#3210) 2017-08-18 19:47:23 -04:00
policy_test.go Add max/min wrapping TTL ACL statements (#2411) 2017-02-27 14:42:00 -05:00
rekey.go Do some porting to make diffing easier 2017-02-24 10:45:29 -05:00
rekey_test.go Migrate physical backends into separate packages (#3106) 2017-08-03 13:24:27 -04:00
request_forwarding.go Fix error message formatting and response body 2017-07-27 11:44:56 -04:00
request_forwarding_service.pb.go Add heartbeating and cluster address sharing to request forwarding (#2762) 2017-05-24 15:06:56 -04:00
request_forwarding_service.proto Add heartbeating and cluster address sharing to request forwarding (#2762) 2017-05-24 15:06:56 -04:00
request_handling.go Return 500 if existence check fails, not 400 (#3173) 2017-08-15 16:44:16 -04:00
request_handling_test.go Don't write salts in initialization, look up on demand (#2702) 2017-05-09 17:51:09 -04:00
rollback.go checking for nil backends before attempting to rollback on a backend (#2997) 2017-07-12 13:12:55 -07:00
rollback_test.go fix expiration tests 2017-06-30 21:31:27 -04:00
router.go Add plugin backend reload capability (#3112) 2017-08-08 00:18:59 -04:00
router_test.go Backend plugin system (#2874) 2017-07-20 13:28:40 -04:00
seal.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
seal_test.go Split out TestSeal 2016-04-26 00:14:16 +00:00
seal_testing.go Update TestSeal to ignore setting the config to nil 2017-03-01 14:10:06 -08:00
testing.go Add core sealing to test cluster shutdown 2017-08-15 17:06:38 -04:00
token_store.go fix swallowed error in vault package. (#2993) 2017-07-26 12:15:54 -04:00
token_store_test.go Dynamically load and invalidate the token store salt (#3021) 2017-07-18 09:02:03 -07:00
util.go Removed unused methods 2017-01-03 12:51:35 -05:00
util_test.go Utility Enhancements 2016-04-05 20:32:59 -04:00
wrapping.go Store original request path in WrapInfo (#3100) 2017-08-02 18:28:58 -04:00