Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
I've seen several failures of testKMSProvider, all failed in the following snippet:
// test rollover draining KeyProviderCryptoExtension kpce = KeyProviderCryptoExtension. createKeyProviderCryptoExtension(kp); ..... EncryptedKeyVersion ekv1 = kpce.generateEncryptedKey("k6"); kpce.rollNewVersion("k6"); EncryptedKeyVersion ekv2 = kpce.generateEncryptedKey("k6"); Assert.assertNotEquals(ekv1.getEncryptionKeyVersionName(), ekv2.getEncryptionKeyVersionName());
with error message
Values should be different. Actual: k6@0