open-vault/helper
Vishal Nayak 0d077d7945
Recovery Mode (#7559)
* Initial work

* rework

* s/dr/recovery

* Add sys/raw support to recovery mode (#7577)

* Factor the raw paths out so they can be run with a SystemBackend.

# Conflicts:
#	vault/logical_system.go

* Add handleLogicalRecovery which is like handleLogical but is only
sufficient for use with the sys-raw endpoint in recovery mode.  No
authentication is done yet.

* Integrate with recovery-mode.  We now handle unauthenticated sys/raw
requests, albeit on path v1/raw instead v1/sys/raw.

* Use sys/raw instead raw during recovery.

* Don't bother persisting the recovery token.  Authenticate sys/raw
requests with it.

* RecoveryMode: Support generate-root for autounseals (#7591)

* Recovery: Abstract config creation and log settings

* Recovery mode integration test. (#7600)

* Recovery: Touch up (#7607)

* Recovery: Touch up

* revert the raw backend creation changes

* Added recovery operation token prefix

* Move RawBackend to its own file

* Update API path and hit it using CLI flag on generate-root

* Fix a panic triggered when handling a request that yields a nil response. (#7618)

* Improve integ test to actually make changes while in recovery mode and
verify they're still there after coming back in regular mode.

* Refuse to allow a second recovery token to be generated.

* Resize raft cluster to size 1 and start as leader (#7626)

* RecoveryMode: Setup raft cluster post unseal (#7635)

* Setup raft cluster post unseal in recovery mode

* Remove marking as unsealed as its not needed

* Address review comments

* Accept only one seal config in recovery mode as there is no scope for migration
2019-10-15 00:55:31 -04:00
..
awsutil fix failing region test 2019-06-18 09:50:38 -07:00
builtinplugins Add OCI auth to builtin plugin registry (#7436) 2019-09-05 13:50:12 -07:00
dhutil VSI (#4985) 2018-07-24 22:02:27 -04:00
flag-kv Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
flag-slice command/server: add config loading 2015-03-12 15:21:11 -07:00
forwarding Update protobufs, sdk changes 2019-04-12 23:13:14 -04:00
gated-writer command/server: cleaner output 2015-04-04 12:06:41 -07:00
hostutil sys: add host-info endpoint (#7330) 2019-10-03 09:43:52 -07:00
identity Rename entity group membership template parameters (#7099) 2019-07-19 10:08:47 -07:00
kv-builder Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
listenerutil Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
metricsutil Unauth metrics: Fix missing parse form and error response (#7569) 2019-10-08 14:55:25 +02:00
mfa Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
namespace Remove namespace.TestContext and namespace.TestNamespace (#5682) 2018-11-05 11:11:32 -05:00
pgpkeys fixed panic in #7485 (#7546) 2019-10-09 10:22:46 -04:00
policies Fix using wrong var 2016-03-24 10:23:09 -04:00
proxyutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
reload Clean up error string formatting (#4304) 2018-04-09 14:35:21 -04:00
storagepacker Don't return an error if storagepacker is told to delete no items (#6941) 2019-06-20 17:46:58 -04:00
testhelpers Recovery Mode (#7559) 2019-10-15 00:55:31 -04:00
xor Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00