You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incorporate Keyrings into AwsCrypto and deprecate MasterKeyProviders. (#151)
* Incorporate Keyrings into AwsCrypto and deprecate MasterKeyProviders.
* Update example code to use keyrings
* Using try-with-resources for AwsCrypto streams
* Splitting MKP and keyring unit tests
* Making decryptData with ParsedCiphertext public
* Mark KeyStoreProvider as deprecated
* Reword some comments on the Basic Encryption example
* Add test for compability of Keyrings with MasterKeyProviders
* Create individual request types for each AwsCrypto method
* Make EncryptionMaterials, DecryptionMaterials and KeyringTrace immutable
* Rename KmsKeying and related classes to AwsKmsKeyring
* Create builders for the standard keyrings
* Create AwsKmsCmkId type to represent AWS KMS Key Ids
* Add factory methods to Keyring builders
* Add comment on not making a defensive copy of plaintext/ciphertext
* Limit ability to create discovery AWS KMS Keyrings to explicit creation
* Add withKeyring to CachingCMM builder
* Fix DecryptRequestTest
* Fix Junit 4 assertions in JUnit5 tests
* Renaming StaticKeyring to TestKeyring
* Adding convenience methods the create builders internally
* Updating wording and adding more Deprecated annotations
* Enable AwsKms Client Caching by default to match KmsMasterKeyProvider
* Making tests opt-out instead of opt-in and update TestVectorRunner (#154)
* Making tests opt-out instead of opt-in and update TestVectorRunner
JUnit5 doesn't support test suites yet
(see junit-team/junit5#744) and the existing
test suites do not support the new JUnit5 tests that are being used for
keyrings. This change removes the test suites, and configures Maven to
include all tests except those marked with certain JUnit tags.
Additionally, this change updates the TestVectorRunner to also test
Keyrings and removes the redundant XCompat tests.
* Client caching is now enabled by default in AwsKmsClientSupplier
* Rename slow tag to ad_hoc and fix TestVectorRunner
* Renaming StandardKeyring builder methods and other minors changes
* Fixing test
* Updating tests to use assertThrows
* Additional example code for Keyrings (#155)
* Additional example code for Keyrings
* Updating wording
* Remove AWS from AWS KMS keyring and make keyring lowercase
0 commit comments