mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Fix test validating convergent encryption behaviour across key types (#13371)
- The test was attempting to test the convergent encryption behaviour with several key types but the common function never used the passed in key type. So we ran the test with the default aes256-gcm96 only.
This commit is contained in:
@@ -989,6 +989,7 @@ func testConvergentEncryptionCommon(t *testing.T, ver int, keyType keysutil.KeyT
|
||||
Data: map[string]interface{}{
|
||||
"derived": false,
|
||||
"convergent_encryption": true,
|
||||
"type": keyType.String(),
|
||||
},
|
||||
}
|
||||
resp, err := b.HandleRequest(context.Background(), req)
|
||||
@@ -1009,6 +1010,7 @@ func testConvergentEncryptionCommon(t *testing.T, ver int, keyType keysutil.KeyT
|
||||
Data: map[string]interface{}{
|
||||
"derived": true,
|
||||
"convergent_encryption": true,
|
||||
"type": keyType.String(),
|
||||
},
|
||||
}
|
||||
resp, err = b.HandleRequest(context.Background(), req)
|
||||
|
||||
Reference in New Issue
Block a user