Create configutil and move some common config and setup functions there (#8362)

This commit is contained in:
Jeff Mitchell
2020-05-14 09:19:27 -04:00
committed by GitHub
parent 8813dc7363
commit 91b09c09b5
57 changed files with 2067 additions and 1781 deletions

View File

@@ -547,7 +547,7 @@ func testSealMigrationTransitToShamir(t *testing.T, setup teststorage.ClusterSet
// Create a Shamir seal.
logger := cluster.Logger.Named("shamir")
shamirSeal := vault.NewDefaultSeal(&vaultseal.Access{
Wrapper: aeadwrapper.NewWrapper(&wrapping.WrapperOptions{
Wrapper: aeadwrapper.NewShamirWrapper(&wrapping.WrapperOptions{
Logger: logger,
}),
})