open-vault/helper
Mike Jarmy 4303790aae
Test pre-1.4 seal migration (#9085)
* enable seal wrap in all seal migration tests

* move adjustForSealMigration to vault package

* fix adjustForSealMigration

* begin working on new seal migration test

* create shamir seal migration test

* refactor testhelpers

* add VerifyRaftConfiguration to testhelpers

* stub out TestTransit

* Revert "refactor testhelpers"

This reverts commit 39593defd0d4c6fd79aedfd37df6298391abb9db.

* get shamir test working again

* stub out transit join

* work on transit join

* Revert "move resuable storage test to avoid creating import cycle"

This reverts commit b3ff2317381a5af12a53117f87d1c6fbb093af6b.

* remove debug code

* initTransit now works with raft join

* runTransit works with inmem

* work on runTransit with raft

* runTransit works with raft

* get rid of dis-used test

* cleanup tests

* TestSealMigration_TransitToShamir_Pre14

* TestSealMigration_ShamirToTransit_Pre14

* split for pre-1.4 testing

* add simple tests for transit and shamir

* fix typo in test suite

* debug wrapper type

* test debug

* test-debug

* refactor core migration

* Revert "refactor core migration"

This reverts commit a776452d32a9dca7a51e3df4a76b9234d8c0c7ce.

* begin refactor of adjustForSealMigration

* fix bug in adjustForSealMigration

* clean up tests

* clean up core refactoring

* fix bug in shamir->transit migration

* remove unnecessary lock from setSealsForMigration()

* rename sealmigration test package

* use ephemeral ports below 30000

* simplify use of numTestCores
2020-06-11 15:07:59 -04:00
..
builtinplugins Create configutil and move some common config and setup functions there (#8362) 2020-05-14 09:19:27 -04: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
forwarding Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
hostutil Fix build for openbsd 2019-11-11 20:10:21 -08:00
identity Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
metricsutil Token creation counters (#9052) 2020-06-02 13:40:54 -05:00
mfa Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
monitor Add a new "vault monitor" command (#8477) 2020-05-21 13:07:50 -07: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
proxyutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
storagepacker Update to latest go-kms-wrapping and fix protos/etcd (#8996) 2020-05-14 18:45:10 -04:00
testhelpers Test pre-1.4 seal migration (#9085) 2020-06-11 15:07:59 -04:00
xor Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00