Commit 2b85907
committed
Fix repository-gcs KeyStore.getInstance type/provider order
GoogleCloudStorageService.createFipsCompliantGoogleTrustStore called
KeyStore.getInstance("BCFIPS", "BCFIPS"), but "BCFIPS" is the
provider name; the corresponding keystore type is "BCFKS" (already
documented in the in-method comment one line above). Every GCS snapshot
operation on a FIPS-enabled OpenSearch 3.7.0 distribution therefore
fails with:
KeyStoreException: BCFIPS not found
caused by: NoSuchAlgorithmException: no such algorithm: BCFIPS for
provider BCFIPS
Fixes #22287.
Signed-off-by: Guillaume SZKOPINSKI <guillaume.szkopinski@altirnao.com>1 parent 223d2a7 commit 2b85907
1 file changed
Lines changed: 2 additions & 1 deletion
File tree
- plugins/repository-gcs/src/main/java/org/opensearch/repositories/gcs
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
0 commit comments