Skip to content

Commit

Permalink
Fix test validating convergent encryption behaviour across key types (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
stevendpclark authored Dec 10, 2021
1 parent 073070f commit 690336c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtin/logical/transit/backend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 690336c

Please sign in to comment.