open-vault/vault
Jeff Mitchell 20320cd71e
Move location of quit channel closing in exp manager (#3638)
* Move location of quit channel closing in exp manager

If it happens after stopping timers any timers firing before all timers
are stopped will still run the revocation function. With plugin
auto-crash-recovery this could end up instantiating a plugin that could
then try to unwrap a token from a nil token store.

This also plumbs in core so that we can grab a read lock during the
operation and check standby/sealed status before running it (after
grabbing the lock).

* Use context instead of checking core values directly

* Use official Go context in a few key places
2017-12-01 17:08:38 -05:00
..
acl.go Add ability to require parameters in ACLs (#3510) 2017-11-02 07:18:49 -04:00
acl_test.go Add ability to require parameters in ACLs (#3510) 2017-11-02 07:18:49 -04:00
audit.go Debug level logging of socket audit backend config at startup (#3560) 2017-11-10 12:08:36 -05:00
audit_test.go
audited_headers.go
audited_headers_test.go
auth.go Minor mount logic updates (#3553) 2017-11-07 20:30:02 -05:00
auth_test.go Sync over 2017-10-23 16:43:07 -04:00
barrier.go Port over some changes 2017-11-30 09:43:07 -05:00
barrier_access.go Sync over 2017-10-23 16:43:07 -04:00
barrier_aes_gcm.go Port over some changes 2017-11-30 09:43:07 -05:00
barrier_aes_gcm_test.go
barrier_test.go
barrier_view.go Sync over 2017-10-23 16:43:07 -04:00
barrier_view_test.go
capabilities.go Capabilities responds considering policies on entities and groups (#3522) 2017-11-03 11:20:10 -04:00
capabilities_test.go Capabilities responds considering policies on entities and groups (#3522) 2017-11-03 11:20:10 -04:00
cluster.go Properly format autogenerated clusteraddr 2017-10-25 14:43:05 -04:00
cluster_test.go
core.go Move location of quit channel closing in exp manager (#3638) 2017-12-01 17:08:38 -05:00
core_test.go Ensure revocation happens before seal/step-down since token store isn't (#3500) 2017-11-02 08:47:02 -05:00
cors.go Sync over 2017-10-23 16:03:36 -04:00
dynamic_system_view.go Sync over 2017-10-23 16:03:36 -04:00
expiration.go Move location of quit channel closing in exp manager (#3638) 2017-12-01 17:08:38 -05:00
expiration_test.go
generate_root.go generate token functions to share common names (#3576) 2017-11-13 15:44:26 -05:00
generate_root_test.go generate token functions to share common names (#3576) 2017-11-13 15:44:26 -05:00
identity_lookup.go Merge identity alias lookups into either entity or group lookup endpoints (#3538) 2017-11-09 01:29:19 -05:00
identity_lookup_test.go Merge identity alias lookups into either entity or group lookup endpoints (#3538) 2017-11-09 01:29:19 -05:00
identity_store.go External identity groups (#3447) 2017-11-02 16:05:48 -04:00
identity_store_aliases.go API refactoring and doc updates (#3577) 2017-11-13 20:59:42 -05:00
identity_store_aliases_test.go API refactoring and doc updates (#3577) 2017-11-13 20:59:42 -05:00
identity_store_entities.go API refactoring and doc updates (#3577) 2017-11-13 20:59:42 -05:00
identity_store_entities_test.go Return group memberships of entity during read (#3526) 2017-11-06 13:01:48 -05:00
identity_store_group_aliases.go API refactoring and doc updates (#3577) 2017-11-13 20:59:42 -05:00
identity_store_group_aliases_test.go External identity groups (#3447) 2017-11-02 16:05:48 -04:00
identity_store_groups.go API refactoring and doc updates (#3577) 2017-11-13 20:59:42 -05:00
identity_store_groups_test.go Return group memberships of entity during read (#3526) 2017-11-06 13:01:48 -05:00
identity_store_schema.go External identity groups (#3447) 2017-11-02 16:05:48 -04:00
identity_store_structs.go External identity groups (#3447) 2017-11-02 16:05:48 -04:00
identity_store_test.go Port over bits (#3575) 2017-11-13 15:31:32 -05:00
identity_store_upgrade.go API refactoring and doc updates (#3577) 2017-11-13 20:59:42 -05:00
identity_store_util.go converting identity metadata to use TypeKVPairs (#3549) 2017-11-08 14:51:40 -05:00
init.go Barrier unseal using recovery keys (#3541) 2017-11-07 15:15:39 -05:00
init_test.go
keyring.go
keyring_test.go
logical_cubbyhole.go Seal wrap requesting in logical.Request wrapinfo (#3559) 2017-11-09 10:32:49 -05:00
logical_cubbyhole_test.go
logical_passthrough.go If kv entry is sealwrapped and is response-wrapped ensure it carries through 2017-11-10 12:56:31 -05:00
logical_passthrough_test.go Sync 2017-10-23 15:35:28 -04:00
logical_system.go Port over bits (#3575) 2017-11-13 15:31:32 -05:00
logical_system_helpers.go Sync 2017-10-23 15:35:28 -04:00
logical_system_integ_test.go
logical_system_test.go Plumb more seal wrap stuff through and move to outside layer of mount options (#3572) 2017-11-13 11:22:22 -05:00
mount.go Plumb more seal wrap stuff through and move to outside layer of mount options (#3572) 2017-11-13 11:22:22 -05:00
mount_test.go Sync 2017-10-23 15:35:28 -04:00
plugin_catalog.go
plugin_catalog_test.go
plugin_reload.go
policy.go Add ability to require parameters in ACLs (#3510) 2017-11-02 07:18:49 -04:00
policy_store.go Port over bits (#3575) 2017-11-13 15:31:32 -05:00
policy_store_test.go Sync 2017-10-23 14:59:37 -04:00
policy_test.go Add ability to require parameters in ACLs (#3510) 2017-11-02 07:18:49 -04:00
rekey.go Sync 2017-10-23 14:59:37 -04:00
rekey_test.go Sync 2017-10-23 14:59:37 -04:00
request_forwarding.go Move location of quit channel closing in exp manager (#3638) 2017-12-01 17:08:38 -05:00
request_forwarding_service.pb.go Update proto 2017-10-23 17:45:05 -04:00
request_forwarding_service.proto Sync 2017-10-23 14:59:37 -04:00
request_handling.go Port over bits (#3575) 2017-11-13 15:31:32 -05:00
request_handling_test.go
rollback.go
rollback_test.go Fix swallowed errors in TestRollbackManager_Join() (#3327) 2017-11-06 14:34:27 -05:00
router.go Fix mount path for credential values in aliases (#3580) 2017-11-14 01:31:10 -05:00
router_access.go Sync 2017-10-23 15:35:28 -04:00
router_test.go More Mount Conflict Detection (#2919) 2017-11-06 15:29:09 -05:00
seal.go Update seal type names 2017-10-27 17:28:50 -04:00
seal_access.go Make compile 2017-10-23 17:15:56 -04:00
seal_test.go
seal_testing.go
testing.go Port over some changes 2017-11-30 09:43:07 -05:00
token_store.go Port over bits (#3575) 2017-11-13 15:31:32 -05:00
token_store_test.go Use an atomic store in expiration loading test to fix race detector 2017-11-01 15:52:59 -04:00
util.go
util_test.go
wrapping.go Port over bits (#3575) 2017-11-13 15:31:32 -05:00